Fonction SAP ARCHIVE_GET_INIT_DATA - Determine Inititialization Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ARCHIVE_HANDLE SYST-TABIX I 4 Handle on Open Archive Files
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
WRONG_ACCESS_TO_ARCHIVE Invalid Operation with Archive Handle

Functionality
This function module returns initialization data for structureRECORD_STRUCTURE that was stored during the creation of anarchiving session using function moduleARCHIVE_PUT_INIT_DATA
. All initialization data records are transferred until the structureof the data changes or until the end of the initialization data isreached.

Notes
The Archive Development Kit (ADK) supplies this information based onthe archive file that is currently being processed.
The archiving object can call up this information using its ownprograms at any time. Note, however, that initialization data that wasstored using function module ARCHIVE_PUT_INIT_DATA is notchanged within the archiving session. It is possible to changearchiving sessions using parameter SESSION in function moduleARCHIVE_GET_NEXT_OBJECT.
An archiving class can only request this information withinsubroutine _INIT_READ. This subroutine is called by ADK when thechange is made to the archive file that is currently being processed.
To determine the structures under which the initialization data wasstored, you can use the function moduleARCHIVE_GET_INIT_STRUCTURES.
INCLUDE 'ARCHIVE_PARAM_HANDLE_READ' OBJECT DOKU ID TX

Description
Name of the structure to which inititalization data is to be read.

Value range
Only structure names are to be transferred to which initialization datawas transferred when the archiving session was created. You candetermine these structures using function moduleARCHIVE_GET_INIT_STRUCTURES.

Description
Initialization data is transferred in this table. The line type of thetable must correpond with the structure that was specified in theRECORD_STRUCTURE.