RINV_ARCH_TRANSF 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 first step in archiving transfer lines for bill data to FI-CA...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_ARCH_TRANSF 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_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: SE_RECV = D .
Selection Text: SE_SEND = D .
Selection Text: SE_TRFNR = D .
Selection Text: SE_VKONT = D .
Title: Analyze and Archive Transfer Table for Bill Docs Transferred to FI-CA
Text Symbol: 002 = &3 Transfer Lines Archived
Text Symbol: S01 = Transfer Data to FI-CA
RINV_ARCH_TRANSF_TOP,
RINV_ARCH_TRANSF01,
RINV_ARCH_REMADVF01,
MEAMAC00,
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_LINE_DETAIL CALL FUNCTION 'ARCHIVE_PROTOCOL_LINE_DETAIL'.
TIME_UNITS CALL FUNCTION 'TIME_UNITS' IMPORTING day = wa_day EXCEPTIONS OTHERS = 1.
START_TIME_DETERMINE CALL FUNCTION 'START_TIME_DETERMINE' EXPORTING duration = wa_tinv_c_archive-persist_time unit = wa_day IMPORTING start_date = g_date_of_receipt CHANGING end_date = lv_start_end_date EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst object = co_transfer_arch_obj create_archive_file = p_wriprd comments = p_coment do_not_delete_data = g_not_delete output_sel_screen_when_dialog = co_true output_sel_screen_when_batch = co_true destroy = g_destroy IMPORTING archive_handle = g_archive_handle EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = g_archive_handle.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_archive_handle EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '202'.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-002 i_total = li_num_entries_processed i_output_immediately = space.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-002 i_total = li_num_entries_processed i_output_immediately = co_true.
ISU_CHECK_GDPDU_ACTIVE CALL FUNCTION 'ISU_CHECK_GDPDU_ACTIVE' IMPORTING y_gdpdu_active = i_gdpdu_active EXCEPTIONS OTHERS = 1.
ISU_DB_EDEREGSWITCH2005_SELECT CALL FUNCTION 'ISU_DB_EDEREGSWITCH2005_SELECT' IMPORTING y_gdpdu_tinv_active = i_gdpdu_active EXCEPTIONS customizing_not_defined = 1 error_ocurred = 2 OTHERS = 3.
ISU_INVTRNSF_CHECK_ARCH_NOEXTR CALL FUNCTION 'ISU_INVTRNSF_CHECK_ARCH_NOEXTR' EXPORTING xt_tinv_inv_transf = xyt_tinv_inv_transf[] IMPORTING yt_transf_not_archive = it_tinv_inv_transf[] EXCEPTIONS OTHERS = 1.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' "New Object register EXPORTING archive_handle = g_archive_handle object_id = lc_archive_index EXCEPTIONS OTHERS = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '2' i_msgid = 'EARC' i_msgno = '208' i_msgv1 = -int_transf_no.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '2' i_msgid = 'EARC' i_msgno = '209' i_msgv1 = -int_transf_no.
CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = g_archive_handle EXCEPTIONS termination_requested = 1 data_object_not_saved = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '205'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '2' i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '1' i_msgid = 'INV' i_msgno = '059' i_msgv1 = -int_transf_no i_msgv2 = -vkont i_msgv3 = -int_sender i_msgv4 = -int_receiver.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '1' i_msgid = 'EARC' i_msgno = '601'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-int_transf_no i_msgtype = '1' i_msgid = 'EARC' i_msgno = '602'.
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_ARCH_TRANSF or its description.
RINV_ARCH_TRANSF - Analyze and Archive Transfer Table for Bill Docs Transferred to FI-CA RINV_ARCH_TRANSF - Analyze and Archive Transfer Table for Bill Docs Transferred to FI-CA RINV_ARCH_REMADV_TOP - Common Constants - Archive Bill Document RINV_ARCH_REMADVF02 - View Cluster Subroutines RINV_ARCH_REMADVF02 - View Cluster Subroutines RINV_ARCH_REMADVF01 - Common PERFORMS - Archive Bill Document