ROIGMS01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Wrong OIGSVMQ-MAT_ITM for schedule records (TD_ACTION=1) caused by deletion of shipment item and new allocation of one having the same material...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 ROIGMS01 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_SSTSF = D .
Selection Text: S_SHNUM = D .
Selection Text: S_CHDAT = D .
Selection Text: P_TEST = Run in test mode
Selection Text: P_PACKS = Internal package size
Selection Text: P_ONLYER = Mail only on error
Selection Text: P_O6 = Correct freight status for arc
Selection Text: P_O5 = Correct shpmnt stock OIGSM/MV
Selection Text: P_O4 = Reset status for goods issue
Selection Text: P_O3 = Reference OIGSVMQ - OIHGS
Selection Text: P_O2 = Update LIPS-LGMNG from OIGSVMQ
Selection Text: P_O1 = Correct - OIGSVMQ-MAT_ITM
Selection Text: P_MAILUS = Mail to user (Batch)
Title: Check Inconsistency in Bulk Shipments
Text Symbol: O57 = Update failed for OIGSMV, SY-SUBRC =
Text Symbol: O58 = Read table failed for OIGSM, SY-SUBRC =
Text Symbol: O59 = Read table failed for OIGSV, SY-SUBRC =
Text Symbol: O5A = Read failed for OIGSVC, SY-SUBRC =
Text Symbol: O5C = Read failed for VBUK, SY-SUBRC =
Text Symbol: O5D = Open postings OIGSV
Text Symbol: O5E = Gain for STO and vehicle not yet closed
Text Symbol: O5F = OIGSVMQ-MAT_ITM=0 check shipment data
Text Symbol: O5G = Partially loaded STO - complete loading
Text Symbol: O5H = Shipment Text/Material Vehicle Current
Text Symbol: O5I = stock/gain-loss -> New stock gain/loss
Text Symbol: O61 = Update Freight Status for Archiving
Text Symbol: O62 = Shipment numbers
Text Symbol: O64 = Shipment(s) updated
Text Symbol: S01 = Please choose running option
Text Symbol: O56 = Update failed for OIGSM, SY-SUBRC =
Text Symbol: 001 = Run done by
Text Symbol: 002 = Run done in test mode - no correction in database!
Text Symbol: 003 = Shipment(s) checked
Text Symbol: 004 = Shipment(s) with error
Text Symbol: 005 = Confirm updates in database
Text Symbol: 006 = Correct errors in update mode
Text Symbol: 007 = continue?
Text Symbol: 008 = Run option:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING SHNUMBER = G_OIGS_TAB-SHNUMBER.
ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING SHNUMBER = T_OIGS-SHNUMBER.
ENQUEUE_EVVBLKE CALL FUNCTION 'ENQUEUE_EVVBLKE' EXPORTING VBELN = T_VBUK-VBELN.
ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.
DEQUEUE_E_OIGS CALL FUNCTION 'DEQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.
DEQUEUE_E_OIGS CALL FUNCTION 'DEQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.
ENQUEUE_E_OIGS CALL FUNCTION 'ENQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.
CALL FUNCTION 'DEQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.
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 ROIGMS01 or its description.