Fonction SAP ARCHIVE_PUT_INIT_DATA - Transfer Initialization Data to ADK

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ARCHIVE_HANDLE SYST-TABIX I 4 Open Archive Handle
RECORD_STRUCTURE TABNAME C 30 Name of Structure of All Data Records in the Table

Paramètre Reférence Long. Facultatif Description
INIT_DATA STANDARD TABLE 0 Table with Initialization Data

Exception Description
CALLED_TOO_LATE Call Outside Initialization Phase
WRONG_ACCESS_TO_ARCHIVE Invalid Operation with Archive Handle

Functionality
During the write phase, this function module transfers initializationdata to the Archive Development Kit (ADK).
Application-specific data is to be regarded as initialization data thatis necessary for subsequent evaluation of data for archiving.
Calling this function module is only permitted during theinitialization phase:

  • For the archiving object's write program, calling this function module
  • is permitted during the period from when function module
    ARCHIVE_OPEN_FOR_WRITE is called to the time when function moduleARCHIVE_NEW_OBJECT is called for the first time.
    • An archiving class can call the function module within
    • subroutines _INIT_WRITE and _POST_INIT_WRITE.

      Notes
      To keep the initialization data in an exisiting archiving session, youcan use function modulesARCHIVE_GET_INIT_DATA and
      ARCHIVE_GET_INIT_STRUCTURES .

      INCLUDE 'ARCHIVE_PARAM_HANDLE_WRITE' OBJECT DOKU ID TX

      Description
      This parameter contains the name of the structure according to whichthe initialization data is transferred. All the structures to whichinitialization data is transferred are not stored in the system. Thefunction module does not make the structures known to the ArchiveDevelopment Kit (ADK) until runtime.

      Value range
      The structure must be known to the ABAP Dictionary. The function moduledoes not yet check the Data Dictionary for recognition.

      Description
      This table contains the initialization data. The table's line type mustbe in line with the structure that was specified in paramaterRECORD_STRUCTURE.