Menu

SAP Function Module CHANGEDOCUMENT_DELETE

Delete change documents (client-independent, generic)

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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.

Technical Information

Function Module CHANGEDOCUMENT_DELETE
Short Text Delete change documents (client-independent, generic)
Function Group SCD4
Package SZD
Module Type Normal Module

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

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