Fonction SAP ARCHIVE_GET_ARCHIVE_FILES - Transfer Archive Key of the Files Belonging to a Handle

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ARCHIVE_HANDLE SYST-TABIX I 4 Open Archive Handle

Paramètre Reférence Long. Facultatif Description
ARCHIVE_FILES ARCH_FILES 26 Table with all Archive Files Currently Open

Exception Description
INTERNAL_ERROR Internal Error
WRONG_ACCESS_TO_ARCHIVE Incorrect Archive Access

Description
The function module transfers the keys for all archive files that wereprocessed with Archive Development Kit (ADK) function modules and thatbelong to the archive handle in parameter ARCHIVE_HANDLE:
DATA: ARCHIVE_HANDLE LIKE SY-TABIX.
DATA: BEGIN OF ARCHIVE_TABLE OCCURS 10.
INCLUDE STRUCTURE ARCH_FILES.
DATA: END OF ARCHIVE_TABLE.
...
CALL FUNCTION 'ARCHIVE_GET_ARCHIVE_FILES'
EXPORTING
ARCHIVE_HANDLE = ARCHIVE_HANDLE
TABLES
ARCHIVE_FILES = ARCHIVE_TABLE.

Description
INCLUDE 'ARCHIVE_HANDLE' OBJECT DOKU ID TX
In this case, the handle is used to find all archive files for thishandle.

Description
This table contains the keys for all archive files that are known tothe Archive Development Kit (ADK) for the archive handle passed inparameter ARCHIVE_HANDLE.