SAP Reports / Programs | Transportation and Distribution | Industry Solution Oil | Transportation and Distribution(IS-OIL-DS-TD) SAP IS

ROIGASHW SAP ABAP Report - IS-Oil TD Archiving of shipments - write program







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ROIGASHW. "Basic submit
SUBMIT ROIGASHW AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGASHW VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT ROIGASHW

INCLUDE: ROIGAALI,
ROIGASHI.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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'.



Contribute (Add Comments)

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 ROIGASHW or its description.