Ansicht
Dokumentation

PROCESS_ORDER_READ - NOTRANSL: Prozeßdatenprotokoll: Lesen aus Datenbank oder Archiv

PROCESS_ORDER_READ - NOTRANSL: Prozeßdatenprotokoll: Lesen aus Datenbank oder Archiv

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book
Preliminary comment

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 archving system.

The function module can be called after function module ARCHIVE_NEW_OBJECT has been called. The change docuemnts are then automatically archived with the archving 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 archiving, 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:
Handle
Archiving class
Deletion program




Parameters

ARCHIVE_HANDLE
ORDER_NUMBER
PROCESS_ORDER_AFFTD
PROCESS_ORDER_AFFVD
PROCESS_ORDER_COMER
PROCESS_ORDER_COMHR
PROCESS_ORDER_KALC
PROCESS_ORDER_KALT

Exceptions

DATA_NOT_FOUND
WRONG_ACCESS_TO_ARCHIVE

Function Group

COAC

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2885 Date: 20240606 Time: 011204     sap01-206 ( 34 ms )