RINV_DELETE_REMADV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is the second stage in archiving bill documents...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 RINV_DELETE_REMADV 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: Delete Archived Incoming Bill Documents
Text Symbol: 002 = &1 % (&2 of &3) Bills Deleted
RINV_ARCH_REMADV_TOP,
RINV_ARCH_REMADVF01,
RINV_ARCH_REMADV02.
INCLUDE ARCH_DELETE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = co_invoice_arch_obj importing commit_count_for_delete_prg = g_commit_count.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '206'.
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 = co_invoice_arch_obj test_mode = p_deltst importing archive_handle = g_archive_handle exceptions others = 01.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '201'.
ISU_GET_ARCHIVE_INFORMATION call function 'ISU_GET_ARCHIVE_INFORMATION' exporting im_handle = g_archive_handle importing ex_num_objects = li_total_docs exceptions others = 1.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = g_archive_handle exceptions end_of_file = 1 others = 2.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_text = text-002 i_processed = li_doc_count i_total = li_total_docs i_output_immediately = space.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_text = text-002 i_processed = li_doc_count i_total = li_total_docs i_output_immediately = co_true.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = g_archive_handle.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = g_archive_handle exceptions others = 1.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = '2' i_msgid = 'EARC' i_msgno = '207'.
ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = g_archive_handle tables table = it_stat.
call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =-int_inv_no i_msgtype = '2' i_msgid = 'INV' i_msgno = '056'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-int_inv_no i_msgtype = '2' i_msgid = 'INV' i_msgno = '057'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object =
-int_inv_no i_msgtype = '1' i_msgid = 'INV' i_msgno = '060' i_msgv1 = -invoice_type i_msgv2 = -int_sender i_msgv3 = -int_receiver.
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 RINV_DELETE_REMADV or its description.
RINV_DELETE_REMADV - Delete Archived Incoming Bill Documents RINV_DELETE_REMADV - Delete Archived Incoming Bill Documents RINV_ARCH_TRANSF_TOP - Common Constants - Archive Bill Document RINV_ARCH_TRANSF03 - Display Archived Bill Documents RINV_ARCH_TRANSF02 - Delete Archived Bill Documents RINV_ARCH_TRANSF01 - Analysis and Archiving of Bill Documents