INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TXFunctionality The function module deletes archived change documents. An authorization check is made. The caller needs delete authorizationfor the authorization object 'Change documents'. All change documents with a delete flag from the functionmodule CHANGEDOCUMENT_ARCHIVE_OBJECT> are marked fordeletion. The documents to be deleted are gathered and only then deleted whenCOMMIT WORK is called by the calling program. This still applies if this function module is called repeatedly. This improves the performance compared to deleting at every call.Example DATA: ARCH_HANDLE LIKE SY-TABIX. ... CALL FUNCTION 'CHANGEDOCUMENT_DELETE_ARCH_OBJ' EXPORTING ARCHIVE_HANDLE = ARCH_HANDLE EXCEPTIONS NO_AUTHORITY = 01 WRONG_ARCHIVE_HANDLE = 02. Notes see also Handle, definition of term> Delete program, definition of term> INCLUDE 'ARCHIVE_PARAM_HANDLE_CLASS_R' OBJECT DOKU ID TX |