SAP Function SDOK_RELA_DELETE - Delete Relationship

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_ID SDOKOBJECT u 42 BOR Key for Relationship
PARTNER_FROM SDOKOBJECT u 42 X FROM Relation
PARTNER_TO SDOKOBJECT u 42 X TO Relation

Exception Text
EXCEPTION_IN_EXIT Exception in Application Exit
NOT_ALLOWED Relationship Cannot Be Deleted
NOT_AUTHORIZED No Authorization
NOT_EXISTING Relationship does not exist

Functionality
This function module deletes a relationship and all its attributes.

Notes
Currently, no mandatory relationships exist. Therefore, the exceptionNOT_ALLOWED cannot occur for this function module.