RSLDARCH03 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program
If you would like to execute this report or see the full code listing simply enter RSLDARCH03 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.
Selection Text: HDR_ONLY = Display Log Data (unformatted)
Title: Read Program for Database Log Archive
Text Symbol: 100 = No Archive Read Authorization
Text Symbol: 101 = Archive Open Error
Text Symbol: 102 = Archive Read Error
Text Symbol: 108 = Selection of Display
INCLUDE RSLD_DEF.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' OBJECT = DBLOG_ARCH_OBJ_NAME * MAINTAIN_INDEX = ' ' IMPORTING ARCHIVE_HANDLE = HANDLE * TABLES * ARCHIVE_FILES = * SELECTED_FILES = EXCEPTIONS * file_already_open = 1 * file_io_error = 2 * internal_error = 3 * no_files_available = 4 * object_not_found = 5 * open_error = 6 not_authorized = 7 others = 8.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE * IMPORTING * OBJECT_ID = * OBJECT_OFFSET = * ARCHIVE_NAME = EXCEPTIONS END_OF_FILE = 1 * file_io_error = 2 * internal_error = 3 * open_error = 4 * wrong_access_to_archive = 5 others = 6.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE * GET_REAL_STRUCTURE_NAME = 'X' * AUTOMATIC_CONVERSION = 'X' IMPORTING record_ref = record_ref * RECORD = LOG_BUFFER * RECORD_CURSOR = * RECORD_FLAGS = record_structure = record_struc * RECORD_LENGTH = EXCEPTIONS end_of_object = 1 * internal_error = 2 * wrong_access_to_archive = 3 others = 4.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE TABLES TABLE = STATISTICS_TAB exceptions * internal_error = 1 others = 0. " ignore errors
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HANDLE * STATISTICS_ONLY_PER_RUN = ' ' EXCEPTIONS * internal_error = 1 others = 0. " ignore errors
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS * internal_error = 1 * wrong_access_to_archive = 2 others = 0. " ignore errors
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSLDARCH03 - Read Program for Database Log Archive RSLDARCH03 - Read Program for Database Log Archive RSLDARCH02 - Delete Program for Database Log Archiving RSLDARCH02 - Delete Program for Database Log Archiving RSLDARCH01 - Archiving Program for Database Logs RSLDARCH01 - Archiving Program for Database Logs