RIARCORAS 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 RIARCORAS 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: S_PRONR = D .
Selection Text: S_IWERK = D .
Selection Text: S_AUFNR = D .
Selection Text: S_AUART = D .
Selection Text: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: SET_EPRJ = Exclude Project
Selection Text: P_PAKET = Block size for orders
Selection Text: P_ORDMAX = Maximum Number of Orders
Selection Text: P_NETMAX = Maximum network depth
Selection Text: P_HIKO = Generate historical orders
Title: Archiving Orders: Write Program
Text Symbol: STA = Start.........................
Text Symbol: END = End...........................
Text Symbol: 110 = PS: Project
Text Symbol: 103 = Process Control
Text Symbol: 102 = Options
Text Symbol: 101 = Restrictions
Text Symbol: 100 = Order
Text Symbol: 016 = Selections for program &
Text Symbol: 012 = Retention Period Reached
Text Symbol: 011 = Snapshot to be Archived
Text Symbol: 010 = &1 of &2 Orders Processed (&3 Archivable)
Text Symbol: 006 = No Archivable Orders Selected
Text Symbol: 005 = Selection profile not available
Text Symbol: 004 = Select an action
Text Symbol: 003 = Error......:
Text Symbol: 002 = Warning....:
Text Symbol: 001 = Information:
INCLUDE IARCOR_DFPS_CHECK_SYSTEM.
INCLUDE RIARCORWRS.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting i_detailprotocol = p_prot.
K_TOTAL_INIT call function 'K_TOTAL_INIT' exporting i_obj_delete_flag = p_delflg.
STATUS_BUFFER_REFRESH call function 'STATUS_BUFFER_REFRESH' exporting i_free = y_x.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd object = aobj-pm_order comments = p_coment do_not_delete_data = l_not_delete destroy = l_destroy output_sel_screen_when_dialog = space importing archive_handle = actual_handle. "1843153
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_PROTOCOL_WRITE * call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = aobj-pm_order importing commit_count_for_delete_prg = x_arch_comit.
PM_ORDER_ARCHIVE_CREATE call function 'PM_ORDER_ARCHIVE_CREATE' exporting archive_handle = actual_handle delete_flag = p_delflg hiko_create = p_hiko package_size = p_paket p_snap = p_snap p_dest = p_dest tables iviora = iviora exceptions others = 1.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = lt_mess-aufnr i_msgtype = 2 i_text = output_string.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = actual_handle.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = actual_handle.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_text = text-sel i_output_immediately = c_yes.
DB_COMMIT call function 'DB_COMMIT'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = ls_mess_table-text i_msgtype = 2 i_msgid = ls_mess_table-arbgb+0(20) i_msgno = l_msgno i_msgv1 = ls_mess_table-msgv1 i_msgv2 = ls_mess_table-msgv2 i_msgv3 = ls_mess_table-msgv3 i_msgv4 = ls_mess_table-msgv4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = lv_object i_msgtype = 2 i_msgid = 'IW' i_msgno = '567' i_msgv1 = iviora-auart.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = lv_object i_msgtype = 3 i_msgid = 'IW' i_msgno = '572' i_msgv1 = iviora-auart.
ARCHIVE_PROTOCOL_COLLECT * CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' * EXPORTING * i_msgtype = 3 * i_msgid = 'IW' * i_msgno = '566'.
ARCHIVE_PROTOCOL_WRITE * CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting i_processed = counter_checked i_total = counter_archivable i_output_immediately = c_yes.
DB_COMMIT call function 'DB_COMMIT'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = iviora-aufnr i_msgtype = '1' i_msgid = 'C2' i_msgno = '501' i_msgv1 = iviora-aufnr.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = p_iviora-aufnr i_msgtype = '2' i_msgid = 'C2' i_msgno = '502' i_msgv1 = p_iviora-aufnr.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_text = lf_prog_text i_processed = if_processed i_total = if_total i_output_immediately = lf_output_immediately importing e_progress_sent = lf_progress_sent.
DB_COMMIT call function 'DB_COMMIT'.
DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = sy-cprog dynumb = sy-dynnr tables dynpfields = h_dynpfields exceptions others = 1.
HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' exporting * display = no_marking_of_checkvalue = 'X' fieldname = 'REVNR' tabname = 'T352R' importing select_value = p_revnr_low tables fields = itab_feldnamen valuetab = itab_werte.
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 RIARCORAS or its description.
RIARCORAS - Archiving Orders: Write Program RIARCORAS - Archiving Orders: Write Program RIARCORA - Maintenance Order: Generate Archive File (Archiving) RIARCORA - Maintenance Order: Generate Archive File (Archiving) RIARCOLD - Archiving of Serial Number History: Deletion Run RIARCOLD - Archiving of Serial Number History: Deletion Run