RSARCH03 is a standard Executable ABAP Report 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 RSARCH03 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: Example Program for Reading Archives
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ *CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' * EXPORTING * OBJECT = 'QM_METHOD' * IMPORTING * ARCHIVE_HANDLE = METHOD * EXCEPTIONS ** INTERNAL_ERROR = 01 * NO_FILES_AVAILABLE = 02 * OBJECT_NOT_FOUND = 03 * OPEN_ERROR = 04.
ARCHIVE_OPEN_FOR_READ *CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' * EXPORTING * OBJECT = 'BANKEN' * IMPORTING * ARCHIVE_HANDLE = BANKEN * EXCEPTIONS ** INTERNAL_ERROR = 01 * NO_FILES_AVAILABLE = 02 * OBJECT_NOT_FOUND = 03 * OPEN_ERROR = 04.
ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * ARCHIVE_HANDLE = METHOD.
ARCHIVE_GET_NEXT_OBJECT * CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' * EXPORTING * ARCHIVE_HANDLE = METHOD * EXCEPTIONS * END_OF_FILE = 01 ** INTERNAL_ERROR = 02 * OPEN_ERROR = 03 * WRONG_ACCESS_TO_ARCHIVE = 04.
ARCHIVE_GET_NEXT_OBJECT * CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' * EXPORTING * ARCHIVE_HANDLE = BANKEN * EXCEPTIONS * END_OF_FILE = 01 ** INTERNAL_ERROR = 02 * OPEN_ERROR = 03 * WRONG_ACCESS_TO_ARCHIVE = 04.
ARCHIVE_GET_NEXT_RECORD * CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' * EXPORTING * ARCHIVE_HANDLE = BANKEN * IMPORTING * RECORD_STRUCTURE = TEST * EXCEPTIONS * END_OF_OBJECT = 01 ** INTERNAL_ERROR = 02 * WRONG_ACCESS_TO_ARCHIVE = 03.
ARCHIVE_GET_NEXT_STRUCT_SPECIF * CALL FUNCTION 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' * EXPORTING * ARCHIVE_HANDLE = METHOD * RECORD_STRUCTURE = 'QMTBV' * IMPORTING * RECORD = QMTBV * EXCEPTIONS * END_OF_LEVEL = 01 * END_OF_OBJECT = 04 ** INTERNAL_ERROR = 02 * WRONG_ACCESS_TO_ARCHIVE = 03.
ARCHIVE_GET_NEXT_STRUCT_SPECIF * CALL FUNCTION 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' * EXPORTING * ARCHIVE_HANDLE = METHOD * RECORD_STRUCTURE = 'QMTT' * IMPORTING * RECORD = QMTT * EXCEPTIONS * END_OF_LEVEL = 01 * END_OF_OBJECT = 04 ** INTERNAL_ERROR = 02 * WRONG_ACCESS_TO_ARCHIVE = 03.
ARCHIVE_CLOSE_FILE *CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * ARCHIVE_HANDLE = METHOD.
ARCHIVE_CLOSE_FILE *CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * ARCHIVE_HANDLE = BANKEN.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSARCH03 - Example Program for Reading Archives RSARCH03 - Example Program for Reading Archives RSARCH02 - Example Program for Reading Archive Management records RSARCH02 - Example Program for Reading Archive Management records RSARCH - Determine Archive File Overhead RSARCH - Determine Archive File Overhead