Start of Content Area

Deleting Change Documents and Planned Changes  Locate the document in its SAP Library structure

Function Group SCD4

Using the function modules of this function group, you delete logs of changes or planned changes.

Caution

Before deleting change documents check if this is permitted by law.

Depending on the application, change documents are used to ensure auditing requirements. In this case it makes sense to archive change documents no longer required in the system and then to delete them.

End of Warning

 

      CHANGEDOCUMENT_DELETE

This function module deletes the change documents for a particular change object. The deletion can be limited to certain change document numbers and/or a change date. Before deletion, there is an authorization check.

      CHANGEDOCUMENT_DELETE_V2

Using this function module it is possible to delete change documents on a cross-client basis in the update task.

An authorization check is performed if the parameter DISABLE_AUTHORITY_CHECK  = SPACE (default) remains.

The object class is expected, as a minimum. In addition you can specifz the object ID. Generic inputs (search string ‘*’) are also possible.

A COMMIT WORK is not performed.

      PLANNED_CHANGES_DELETE

With this function module, you can delete planned changes. The deletion can be limited to a certain change document object, a change document number, or certain change numbers.

Note

The change number must not be confused with the change document number. The change document number is automatically assigned by the function modules of the function group SCD0 when a change document is created for a change document object. The change number is assigned when changes are planned by the user. The same change number can be used for different change document objects.

 

 

 

End of Content Area