REFACT_READ_ARCHIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display Archived Installation Facts You can use this report to directly access and read an archive after the archiving report has run...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter REFACT_READ_ARCHIVE 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.
Title: Display Archived Installation Facts
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = co_facts_arch_obj IMPORTING archive_handle = wa_archive_handle EXCEPTIONS file_already_open = 1 no_files_available = 4 not_authorized = 7 OTHERS = 8.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = wa_archive_handle EXCEPTIONS end_of_file = 1 OTHERS = 6.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = wa_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = i_archive_handle record_structure = 'ETTIFN' TABLES table = it_ettifn EXCEPTIONS end_of_object = 1 OTHERS = 2.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = i_archive_handle record_structure = 'ETTIFB' TABLES table = it_ettifb EXCEPTIONS end_of_object = 1 OTHERS = 2.
ISU_REUSE_ALV_SIMPLE_STRIPED CALL FUNCTION 'ISU_REUSE_ALV_SIMPLE_STRIPED' EXPORTING im_repid = im_repid CHANGING cht_display_data = it_display_data.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REFACT_READ_ARCHIVE - Display Archived Installation Facts REFACT_READ_ARCHIVE - Display Archived Installation Facts REFACT_DELETE_F01 - REFACTDELETEF01 REFACT_DELETE - Delete Installation Facts After Archiving Run REFACT_DELETE - Delete Installation Facts After Archiving Run REFACT_ARCHIVE_F01 - REFACTARCHIVEF01