Functionality The module deletes a relationship between the two transferred roles(and thus objects). The type of the relationship must be entered. The relationship is deleted from the application table that is enteredin the relationship type in the table VRBINRELATION. The module does not contain a COMMIT WORK - command. It is the oppositeto BINARY_RELATION_CREATE with the same interface. You can findparameter documentation there. Example .... DATA: OBJ_ROLA LIKE BORIDENT, OBJ_ROLB LIKE BORIDENT, RELATION LIKE BRELTYP-RELTYPE. .... RELATION = 'CALL'. OBJ_ROLA-OBJTYPE = 'BUS2032'. OBJ_ROLA-LOGSYS = T000-LOGSYS. OBJ_ROLA-OBJKEY = BELNR. OBJ_ROLB-OBJTYPE = 'COMM_ORDER'. OBJ_ROLB-LOGSYS = CALLID. OBJ_ROLB-OBJKEY = T000-LOGSYS. CALL FUNCTION 'BINARY_RELATION_DELETE' EXPORTING OBJ_ROLEA = obj_rolea OBJ_ROLEB = obj_roleb RELATIONTYPE = relationtype EXCEPTIONS ENTRY_NOT_EXISTING = 1 INTERNAL_ERROR = 2 NO_RELATION = 3 NO_ROLE = 4 OTHERS = 5. IF SY-SUBRC <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF. |