SAP Function SDOK_LOIO_DELETE - Delete a Logical Document

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJECT_ID SDOKOBJECT u 42 BOR Key for the Object

Exception Text
EXCEPTION_IN_EXIT Exception in Application Exit
NOT_ALLOWED Object Cannot Be Deleted
NOT_AUTHORIZED No Authorization
NOT_EXISTING Object Does Not Exist

Functionality
This function module deletes a logical document with all its attributesand relationships.
A document can be deleted only if it is not a partner in a standalonerelationship, or in a relationship that does not belong to thedocument.