SAP Reports / Programs

ROIGMS01 SAP ABAP Report - Check Inconsistency in Bulk Shipments







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


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 ROIGMS01. "Basic submit
SUBMIT ROIGMS01 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGMS01 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: 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:





Text Symbol: 010 = Status
Text Symbol: 011 = Error -
Text Symbol: 012 = correction possible.
Text Symbol: 013 = no correction by this report.
Text Symbol: 014 = Shipment(s) can be corrected automatically
Text Symbol: 015 = Non-schedule item still wrong in shipment!
Text Symbol: 016 = Correct OIGSVMQ-MAT_ITM
Text Symbol: 020 = Delivery(ies)
Text Symbol: 021 = Delivery item(s) to be corrected
Text Symbol: 022 = Update LIPS-LGMNG from OIGSVMQ for confirmed shipments
Text Symbol: 023 = The system checks for status = 6!
Text Symbol: O31 = Correct OIGSH from OIGSVMQ-HIS_ITM
Text Symbol: O41 = Reset VBUK-OIG_SSTSF for goods issue
Text Symbol: O42 = no automatic correction; pls use VL02
Text Symbol: O50 = Manual check(s) needed on shipment data
Text Symbol: O51 = Correct OIGSM/MV-LABST,-GLQTY
Text Symbol: O52 = Lock problem
Text Symbol: O53 = Open postings OIGSH
Text Symbol: O54 = Unlock problem
Text Symbol: O55 = Open postings OIGSI
001 Shipment Comment


INCLUDES used within this REPORT ROIGMS01

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

DEQUEUE_E_OIGS





CALL FUNCTION 'DEQUEUE_E_OIGS' EXPORTING SHNUMBER = pt_oigs-SHNUMBER.



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