CALL FUNCTION 'SREL_GET_NEXT_NEIGHBORS'
*" IMPORTING
*" VALUE(OBJECT) LIKE BORIDENT STRUCTURE BORIDENT
*" VALUE(ROLETYPE) LIKE RELROLES-ROLETYPE OPTIONAL
*" VALUE(RELATIONTYPE) LIKE BRELTYP-RELTYPE OPTIONAL
*" VALUE(MAX_HOPS) TYPE RELHOPS DEFAULT 1
*" VALUE(BYPASS_BUFFER) TYPE FLAG DEFAULT SPACE
*" TABLES
*" NEIGHBORS STRUCTURE NEIGHBOR OPTIONAL
*" EXCEPTIONS
*" INTERNAL_ERROR
*" NO_LOGSYS
*" IMPORTING
*" VALUE(OBJECT) LIKE BORIDENT STRUCTURE BORIDENT
*" VALUE(ROLETYPE) LIKE RELROLES-ROLETYPE OPTIONAL
*" VALUE(RELATIONTYPE) LIKE BRELTYP-RELTYPE OPTIONAL
*" VALUE(MAX_HOPS) TYPE RELHOPS DEFAULT 1
*" VALUE(BYPASS_BUFFER) TYPE FLAG DEFAULT SPACE
*" TABLES
*" NEIGHBORS STRUCTURE NEIGHBOR OPTIONAL
*" EXCEPTIONS
*" INTERNAL_ERROR
*" NO_LOGSYS
This FM returns 2 objects that have binary relationhips. 1 of the example we have in SAP IS-U is Disconnect Document and the Service Notification.
Tables involved:
- SRRELROLES
- ORBRELTYP
- SMZB_BINREL
No comments:
Post a Comment