RM08RD47 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 RM08RD47 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 Material Documents for Invoice Verification - Delete Program
Text Symbol: 001 = Incoming invoice deleted
Text Symbol: 002 = Deleting incoming invoice
Text Symbol: 003 = &1% (&2 of &3) incoming invoices have been processed
INCLUDE ARCH_DELETE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS end_of_file = 1.
ARCHIVE_READ_OBJECT_BY_HANDLE CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = handle CHANGING ct_obj_data = data_object.
ARCHIVE_DELETE_TABLE CALL FUNCTION 'ARCHIVE_DELETE_TABLE' EXPORTING iv_tabname = object_data-tabname it_records =
iv_deltst = p_deltst iv_handle = handle.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = handle.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = handle TABLES table = tab_statistic.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-003 i_processed = objects_deleted i_total = objects_to_delete.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = 'MM_REBEL' IMPORTING commit_count_for_delete_prg = commit_cnt.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = 'MM_REBEL' test_mode = p_deltst IMPORTING archive_handle = handle EXCEPTIONS file_already_open = 01.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = handle IMPORTING object_number_in_file = objects_to_delete.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' "1868246 EXPORTING "1868246 i_object = posid "1868246 i_msgtype = 1 "1868246 i_text = lv_text. "1868246
NAST_PROTOCOL_DELETE CALL FUNCTION 'NAST_PROTOCOL_DELETE' EXPORTING nr = s_nast-cmfpnr.
NAST_DELETE_OBJECT CALL FUNCTION 'NAST_DELETE_OBJECT' EXPORTING pi_nast = s_nast.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-003 i_processed = objects_deleted i_total = objects_to_delete i_output_immediately = 'X'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = 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 = handle.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM08RD47 - Archive Material Documents for Invoice Verification - Delete Program RM08RD47 - Archive Material Documents for Invoice Verification - Delete Program RM08RBKPBLOCKED - Structure of RBKP_BLOCKED from blocked MR1M documents RM08RBKPBLOCKED - Structure of RBKP_BLOCKED from blocked MR1M documents RM08RARC - Archiving of Documents for Invoice Verification RM08RARC - Archiving of Documents for Invoice Verification