ROIGASHW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program carries out archiving for the object OIG_SHPMNT...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 ROIGASHW 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_COMMEN = Text
Selection Text: P_CREATE = Generate archive file
Selection Text: P_PACKAG = Package size
Selection Text: P_SC_CHK = Check shipment cost status
Selection Text: P_TESTMO = Delete in test mode
Selection Text: P_VH_REC = Check vehicle reconciliation
Selection Text: SO_SHNUM = Shipment number
Title: IS-Oil TD Archiving of shipments - write program
Text Symbol: 010 = Shipment & not delivery confirmed
Text Symbol: 020 = Shipment & retention time not reached
Text Symbol: 030 = Ship.cost doc. for shipm. & in process
Text Symbol: 040 = & shipment(s) could not be archived
Text Symbol: 050 = Shipment & not archived(customer-exit)
Text Symbol: 060 = LoV/PtL of shipment & not reconciled
Text Symbol: 070 = Ship.cost doc. for shipm. & not archived
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_testmo create_archive_file = p_create comments = p_commen object = g_object IMPORTING archive_handle = g_archive_handle.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = g_archive_handle object_id = g_oigs_tab-shnumber.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = g_archive_handle record = g_oigs_tab record_structure = c_oigs.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = g_archive_handle.
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.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = g_archive_handle record_structure = pi_struc TABLES table = px_itab.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = '*' language = '*' name = g_text_key-tdname object = g_text_key-tdobject TABLES selections = g_header_tab.
TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = g_archive_handle id = g_header_tab-tdid language = g_header_tab-tdspras name = g_header_tab-tdname object = g_header_tab-tdobject object_delete_flag = 'X'.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = g_text_key-tdid language = '*' name = g_text_key-tdname object = g_text_key-tdobject TABLES selections = g_header_tab.
TEXT_ARCHIVE_OBJECT CALL FUNCTION 'TEXT_ARCHIVE_OBJECT' EXPORTING archive_handle = g_archive_handle id = g_header_tab-tdid language = g_header_tab-tdspras name = g_header_tab-tdname object = g_header_tab-tdobject object_delete_flag = 'X'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIGASHW - IS-Oil TD Archiving of shipments - write program ROIGASHW - IS-Oil TD Archiving of shipments - write program ROIGASHV_DISPLAY_FORMS - Include ROIGASHV_DISPLAY_FORMS ROIGASHV - TD Archiving of Shipments - Display ROIGASHV - TD Archiving of Shipments - Display ROIGASHI - IS-Oil TD Archiving of shipments - data include