PSARCF01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter PSARCF01 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE.
ARCHIVE_GET_INFORMATION call FUNCTION 'ARCHIVE_GET_INFORMATION' exporting ARCHIVE_HANDLE = ARCHIVE_HANDLE imPORTING ARCHIVE_CREATION_DATE = archive_info-CREATION_DATE ARCHIVE_CREATION_RELEASE = archive_info-CREATION_RELEASE ARCHIVE_CREATION_SYSTEM = archive_info-CREATION_SYSTEM ARCHIVE_DOCUMENT = archive_info-DOCUMENT ARCHIVE_NAME = archive_info-NAME OBJECT = archive_info-OBJECT ARCHIVE_CODE_PAGE = archive_info-CODE_PAGE ARCHIVE_NUMBER_FORMAT = archive_info-NUMBER_FORMAT.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE OBJECT_ID = data_object_id.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting CALL_DELETE_JOB_IN_TEST_MODE = DELETE_JOB_IN_TEST_MODE CREATE_ARCHIVE_FILE = CREATE_ARCHIVE_FILE OBJECT = con_archive_object COMMENTS = archive_text importing ARCHIVE_HANDLE = archive_handle exceptions others = 8.
ARCHIVE_SAVE_OBJECT call FUNCTION 'ARCHIVE_SAVE_OBJECT' exporting ARCHIVE_HANDLE = ARCHIVE_HANDLE exceptions termination_requested = 1.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE STATISTICS_ONLY_PER_RUN = space EXCEPTIONS others = 1.
ARCHIVE_ADMIN_SAVE_INDEX CALL FUNCTION 'ARCHIVE_ADMIN_SAVE_INDEX' EXPORTING OBJECT = con_archive_object OBJECT_ID = loc_object_id ARCHIVEKEY = archive_info-NAME EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.