SAP Reports / Programs

ROIGMS00 SAP ABAP Report - Delete Bulk Shipment after Loading







ROIGMS00 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 an emergency report and should only be used if you have a a detailed knowledge of the TD bulk shipment database or after contacting development support at SAP (IBU Oil & Gas, TD) in Walldorf, Germany...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 ROIGMS00 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 ROIGMS00. "Basic submit
SUBMIT ROIGMS00 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGMS00 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_V2 = Release shipment item
Selection Text: P_V1 = Delete shipment
Selection Text: P_TEST = Run in TEST mode
Selection Text: P_SHNUM = Bulk shipment
Title: Deletion / Emergency correction of Bulk Shipment
Text Symbol: S01 = Run option for the correction report
Text Symbol: 044 = Release shipment item
Text Symbol: 043 = Delete shipment
Text Symbol: 042 = Run option:
Text Symbol: 041 = User canceled processing!
Text Symbol: 040 = No confirmation of processing!
Text Symbol: 039 = Select shipment item
Text Symbol: 038 = released from shipment
Text Symbol: 037 = Release shipment item?
Text Symbol: 036 = Confirm further processing
Text Symbol: 035 = No item selected
Text Symbol: 034 = Shipment w/o items - nothing to release
Text Symbol: 033 = continue?
Text Symbol: 032 = Do you want to
Text Symbol: 031 = Confirm further processing
Text Symbol: 011 = missing posting for status
Text Symbol: 010 = in status
Text Symbol: 007 = Correction canceled because of existing cost document(s).
Text Symbol: 006 = Shipment cost document exists!
Text Symbol: 005 = Shipment deleted
Text Symbol: 004 = Program started in TEST mode - no deletion in database!
Text Symbol: 003 = Reverse Mat.Document to clear intransit stock manually!
Text Symbol: 002 = Documents on shipment
Text Symbol: 001 = CORRECTION OF SHIPMENT:


INCLUDES used within this REPORT ROIGMS00

No INCLUDES are used within this REPORT code!


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:

ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING SHNUMBER = P_SHNUM.

DEQUEUE_E_OIGS CALL FUNCTION 'DEQUEUE_E_OIGS' EXPORTING SHNUMBER = P_SHNUM.

OIGS_SHIPMENT_DELETE CALL FUNCTION 'OIGS_SHIPMENT_DELETE' IN UPDATE TASK EXPORTING I_SHNUMBER = P_SHNUM TABLES T_VBFA = G_VBFA_TAB.

RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH' EXPORTING MSG_KAPPL = P_KAPPL.

RV_MESSAGES_READ CALL FUNCTION 'RV_MESSAGES_READ' EXPORTING MSG_KAPPL = P_KAPPL MSG_OBJKY = P_OBJKY MSG_OBJKY_TO = P_OBJKY_TO.

RV_MESSAGES_DELETE CALL FUNCTION 'RV_MESSAGES_DELETE' EXPORTING MSG_OBJKY = P_OBJKY MSG_OBJKY_TO = P_OBJKY_TO DELETE_ALL_STATUS = 'X' EXCEPTIONS OTHERS = 0.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING MSG_KAPPL = P_KAPPL MSG_OBJKY = P_OBJKY.

OIK_TAS_DATA_READ CALL FUNCTION 'OIK_TAS_DATA_READ' EXPORTING I_TRTYP = 'L' I_VBTYP = 'r' I_DOCNO = P_SHNUM.

OIK_TAS_DATA_DEL_SET CALL FUNCTION 'OIK_TAS_DATA_DEL_SET' EXCEPTIONS OTHERS = 0.

OIK_TAS_DATA_SAVE CALL FUNCTION 'OIK_TAS_DATA_SAVE' EXPORTING I_DOCNO = P_SHNUM EXCEPTIONS OTHERS = 0.

OIK_CHECK_TPI_ACTIVE CALL FUNCTION 'OIK_CHECK_TPI_ACTIVE' EXCEPTIONS TPI_IS_NOT_ACTIVE = 1 OTHERS = 2.

MASTERIDOC_CREATE_DEL_OILSH1 CALL FUNCTION 'MASTERIDOC_CREATE_DEL_OILSH1' EXPORTING SHNUMBER = P_SHNUM TRTYP = 'L' * APPLIC = 2 * DEFAULTFILLER = 'X' EXCEPTIONS OTHERS = 0.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING SELECTFIELD = 'DOC_NUMBER' TITEL = 'Select shipment item'(039) REDUCED_STATUS_ONLY = 'X' IMPORTING IND = P_TABIX TABLES FIELDS = L_STRUC FULL_TABLE = P_HELP_TAB EXCEPTIONS OTHERS = 99.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = I_TEXT1 TEXTLINE2 = I_TEXT2 TITEL = I_TITLE IMPORTING ANSWER = P_ANSWER.



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