The Function Module CHANGEDOCUMENT_DELETE (Delete change documents (client-independent, generic)) is a standard Function Module in SAP ERP and is part of the function group SCD4 within the package SZD.
Function Module | CHANGEDOCUMENT_DELETE |
Short Text | Delete change documents (client-independent, generic) |
Function Group | SCD4 |
Package | SZD |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CHANGENR | TYPE | CDHDR-CHANGENR | SPACE | Document change number |
CLIENT | LIKE | CDHDR-MANDANT | SY-MANDT | Client in which deletion is to take place |
COMMIT_COUNTER | LIKE | '20' | COMMIT event counter | |
DISABLE_AUTHORITY_CHECK | LIKE | SPACE | Authorization check can be deactivated | |
OBJECTCLASS | LIKE | CDHDR-OBJECTCLAS | Object class | |
OBJECTID | LIKE | CDHDR-OBJECTID | SPACE | Object ID |
UP_TO_DATE | LIKE | CDHDR-UDATE | SY-DATUM | Date by which the change documents are to be deleted |
WITH_COMMIT | LIKE | SPACE | Flag whether there should be a COMMIT WORK in the FM |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
NUMBER_OF_DELETED_HEADERS | LIKE | SY-DBCNT | Number of deleted change document headers | |
NUMBER_OF_DELETED_POSITIONS | LIKE | SY-DBCNT | Number of deleted change document items | |
NUMBER_OF_DELETED_UIDS | LIKE | SY-DBCNT | Number of deleted change document item_GUIDs |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
NO_AUTHORITY | No authorization to delete change documents |
NO_CHANGES_FOUND | No change documents found |