SAP Reports / Programs | Basis Components | Basis Components | Table History(BC-CUS-TOL-ALO) SAP BC

RSLDARCH01 SAP ABAP Report - Archiving Program for Database Logs







RSLDARCH01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RSLDARCH01 archives the data of the table DBTABLOG...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 RSLDARCH01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSLDARCH01. "Basic submit
SUBMIT RSLDARCH01 AND RETURN. "Return to original report after report execution complete
SUBMIT RSLDARCH01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TO_T = Time
Selection Text: TO_DAY = Date
Selection Text: P_TEST = Test Run
Selection Text: P_DEL_T = Archive
Selection Text: P_DEL_P = Archive and Delete
Selection Text: P_COM = Archiving Run Memo
Selection Text: FROM_T = Time
Selection Text: FROM_DAY = Date
Title: Archiving Program for Database Logs
Text Symbol: 104 = Archiving statistics write error
Text Symbol: 103 = Interruption by Administrator or Timeout
Text Symbol: 102 = Archive write error
Text Symbol: 101 = Archive creation error
Text Symbol: 100 = No authorization to create an archive
Text Symbol: 008 = Flow Control
Text Symbol: 005 = Time
Text Symbol: 004 = Date
Text Symbol: 003 = End of Archiving Period
Text Symbol: 002 = Beginning of Archiving Period
Text Symbol: 001 = Database Table Log


INCLUDES used within this REPORT RSLDARCH01

INCLUDE RSLD_DEF.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = testrun create_archive_file = create_f object = dblog_arch_obj_name comments = comment_buf do_not_delete_data = ' ' IMPORTING archive_handle = handle EXCEPTIONS * internal_error = 1 * object_not_found = 2 * open_error = 3 not_authorized = 4 OTHERS = 5.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = handle * OBJECT_ID = ' ' EXCEPTIONS * internal_error = 1 * wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = handle * RECORD_FLAGS = ' ' record_structure = dblog_xkey_struc_name TABLES table = xkey_buffer exceptions * internal_error = 1 * wrong_access_to_archive = 2 * invalid_record_structure = 3 others = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = handle * RECORD_FLAGS = ' ' record_structure = dblog_log_table_name TABLES table = log_buffer exceptions * internal_error = 1 * wrong_access_to_archive = 2 * invalid_record_structure = 3 others = 4.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS * file_io_error = 1 * internal_error = 2 * open_error = 3 termination_requested = 4 * wrong_access_to_archive = 5 others = 6.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle * STATISTICS_ONLY_PER_RUN = ' ' EXCEPTIONS * internal_error = 1 others = 2.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS * internal_error = 1 * wrong_access_to_archive = 2 others = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSLDARCH01 or its description.