RSAADMLO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Delete program for archive object BC_ARCHIVE...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 RSAADMLO 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: P_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Title: Archive Management Data Delete Program
Text Symbol: 001 = Archive Management Data Deleted
Text Symbol: 003 = There is no management data in the database for this session
Text Symbol: 004 = &1% (&2 of &3) of the data objects were processed.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = lc_object test_mode = p_deltst IMPORTING archive_handle = l_handle.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = lc_object IMPORTING commit_count_for_delete_prg = l_commit_counter.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = l_handle IMPORTING archive_document = l_document archive_name = l_archive_key.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS end_of_file = 1 OTHERS = 2.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = l_handle IMPORTING record_structure = l_record_structure record_ref = lr_record EXCEPTIONS end_of_object = 1.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = l_handle.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-004 i_processed = l_count i_total = l_objects_to_delete.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-004 i_processed = l_count i_total = l_objects_to_delete i_output_immediately = 'X'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = l_handle statistics_only_per_file = 'X'.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_handle.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = ls_admi_run-document i_text = text-001 i_msgtype = '1' i_msgv1 = ls_admi_run-document.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = ls_admi_run-document i_text = text-003 i_msgtype = '2' i_msgv1 = ls_admi_run-document.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = ls_admi_xrun-document i_text = text-001 i_msgtype = '1' i_msgv1 = ls_admi_xrun-document.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = ls_admi_xrun-document i_text = text-003 i_msgtype = '2' i_msgv1 = ls_admi_xrun-document.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = l_handle TABLES table = lt_stat_itab.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = l_handle TABLES table = lt_stat_itab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSAADMLO - Archive Management Data Delete Program RSAADMLO - Archive Management Data Delete Program RSAADMLE - Archive Management Data Read Program RSAADMLE - Archive Management Data Read Program RSAADMAR - Archiving Archive Administration Data: Write Program RSAADMAR - Archiving Archive Administration Data: Write Program