Show TOC

Deleting Change Documents and Planned ChangesLocate this document in the navigation structure

Definition

Function Group SCD4

The function modules in this function group delete logs of changes or planned changes.

Caution

Before you delete change documents, you must check whether legal requirements allow it.

Depending on the application, change documents are used for auditing. In this case, archive change documents which are no longer required in the system, and then delete them.

  • CHANGEDOCUMENT_DELETE

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

  • CHANGEDOCUMENT_DELETE_V2

    This function module deletes change documents across clients, in the update task.

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

    At least the object class is required. The object ID can also be specified. Generic inputs (search string '*') are also accepted.

    COMMIT WORK is not performed.

  • PLANNED_CHANGES_DELETE

    This function module deletes planned changes. The deletion can be limited by change document object, change document number, or change numbers.

    Note

    The change number is not the same as 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.