RUSH12DE 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 RUSH12DE 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 .
Title: Archive Documents for Authorizations from Table USH12: Deletion Prog.
Text Symbol: 099 = &1% of the data objects processed ( &2 of &3 )
INCLUDE ARCH_DELETE_PRG_STANDARD1. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = gc_object test_mode = p_deltst IMPORTING archive_handle = gv_handle 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 = 9.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = gv_handle IMPORTING object_number_in_file = gv_objects_to_delete.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = gc_object IMPORTING commit_count_for_delete_prg = gv_commit_cnt.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gv_handle EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 others = 6.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = gv_handle record_structure = gc_struct all_records_of_object = 'X' TABLES table = gt_records.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = gv_handle TABLES table = gt_statistic.
ARCHIVE_DELETE_TABLE CALL FUNCTION 'ARCHIVE_DELETE_TABLE' EXPORTING iv_tabname = gc_struct it_records = gt_records iv_deltst = p_deltst IV_ON_COMMIT = gc_cross iv_handle = gv_handle.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = gv_handle.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gv_handle statistics_only_per_file = gc_cross.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_handle.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = lv_msg_txt i_processed = pv_cnt_pro i_total = pv_cnt_tot i_output_immediately = pv_immediately IMPORTING e_progress_sent = lv_message_sent.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "force immediate output of message
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RUSH12DE - Archive Documents for Authorizations from Table USH12: Deletion Prog. RUSH12DE - Archive Documents for Authorizations from Table USH12: Deletion Prog. RUSH12AC - Archive Change Documents for Authorizations RUSH12AC - Archive Change Documents for Authorizations RUSH1260 - documentation and ABAP source code RUSH1220 - documentation and ABAP source code