Ansicht
Dokumentation
PROC_ORDER_ARCHIVE_OBJECT - NOTRANSL: Prozeßdatenprotokoll: Übergabe des Objektes an die Archivierung
BAL Application Log Documentation General Material DataThis documentation is copyright by SAP AG.
This function module has been released.
The documentation is being revised so that it conforms to the requirements for released function modules.
Functionality
This function module declares the change documents for an archiving object to the archiving system.
The function module must be called after the function modules ARCHIVE_NEW_OBJECT has been called. The change documents are automatically archived with the archiving object by function module ARCHIVE_SAVE_OBJECT.
You can use the deletion indicator to specify whether the change documents are to be deleted by the deletion program after successful archving, or whether you want to retain them in the system.
Examples
DATA: ARCH_HANDLE LIKE SY-TABIX,
OBJECTCLASS LIKE CDHDR-OBJECTCLAS,
OBJECTID LIKE CDHDR-OBJECTID.
...
CALL FUNCTION 'CHANGEDOCUMENT_ARCHIVE_OBJECT'
EXPORTING
ARCHIVE_HANDLE = ARCH_HANDLE
OBJECTCLASS = OBJECTCLASS
OBJECTID = OBJECTID
OBJECT_DELETE_FLAG = 'X'
EXCEPTIONS
WRONG_ARCHIVE_HANDLE = 01.
Notes
see also:Parameters
ARCHIVE_HANDLEOBJECT_DELETE_FLAG
ORDER_NUMBER
Exceptions
WRONG_ACCESS_TO_ARCHIVEFunction Group
COACrdisp/max_wprun_time - Maximum work process run time TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2643 Date: 20240523 Time: 133623 sap01-206 ( 31 ms )