Fonction SAP ARCHIVE_CLOSE_FILE - Open Archive Files Will Be Closed

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

Exception Description
ARCHIVING_STANDARD_VIOLATION Violation of the Archiving Standard
INTERNAL_ERROR Internal Error
WRONG_ACCESS_TO_ARCHIVE Incorrect Archive Access

Description
This function module ends a data archiving action. The archive handlethat is passed in parameter ARCHIVE_HANDLE is thereafter invalidand is no longer to be used. Any further operation with this archivehandle raises exception WRONG_ACCESS_TO_ARCHIVE.
DATA: HANDLE LIKE SY-TABIX.
...
CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
EXPORTING
ARCHIVE_HANDLE = HANDLE
EXCEPTIONS
INTERNAL_ERROR = 01
WRONG_ACCESS_TO_ARCHIVE = 02.
For full examples, refer to programs SBOOKA, SBOOKD, SBOOKR, andSBOOKL.
INCLUDE 'ARCHIVE_HANDLE' OBJECT DOKU ID TX
In this case, the archive handle is used to close a data archivingaction. Afterwards, the archive handle is invalid.
Note that, in this context, in reload and conversion programs only theread handle can be used.