Menu

SAP Function Module CHANGEDOCUMENT_DELETE

Delete change documents (client-independent, generic)

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

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