Functionality This function module writes a data object to the archive file. Inaddition to the data which was passed with the function moduleARCHIVE_PUT_RECORD>, the data which was passed via the archivingclasses is also included. If the data object no longer fits into the current archive file, thearchive file is closed and a new archive file opened. The deletionprogram is then called automatically if this option was not deactivatedin the transaction AOBJ "Customizing Settings ">. The function module checks whether an interruption request was receivedfor the running write program. If yes, the current data object is nolonger written to the archive file, and the exceptionTERMINATION_REQUESTED> is raised.
- Example 1>
CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS TERMINATION_REQUESTED = 1. IF sy-subrc = 1. session_interrupted = 'X'. EXIT. " no further data object ENDIF.
|