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

ROIGRM00 SAP ABAP Report - Rack Meter Reconciliation







ROIGRM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter ROIGRM00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

O4R5 - Rack Meter Reconciliation


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 ROIGRM00. "Basic submit
SUBMIT ROIGRM00 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIGRM00 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: VARIANT = D Variant name
Selection Text: P_TIME = Time to
Selection Text: P_RTIME = D Meter Rec. Time
Selection Text: P_RDATE = D Meter Rec. Date
Selection Text: MODE =
Selection Text: K_SEQNR = D Meter Seq.Number
Selection Text: K_RACKN = Rack Meter
Selection Text: K_PLANT = Plant
Selection Text: K_DATE = D Date
Title: Rack Meter Reconciliation
Text Symbol: T14 = M
Text Symbol: T15 = S
Text Symbol: T16 = Shipment
Text Symbol: T17 = Rec. Date
Text Symbol: T18 = Rec. Time
Text Symbol: U01 = Selected Meters:
Text Symbol: U02 = Period:
Text Symbol: U03 = to
Text Symbol: U04 = of
Text Symbol: U05 = Reconciliation successfull
Text Symbol: U06 = No records for reconciliation !
Text Symbol: U07 = Reconciliation failed -> Error
Text Symbol: V01 = Meter Readings
Text Symbol: V02 = Meter Readings Differences
Text Symbol: V03 = Protocol
Text Symbol: T13 = Quantity
Text Symbol: M01 = proposed Reconciliation Date/Time changed to
Text Symbol: M02 = No Reconciliation possible: Meter only saved - not confirmed!
Text Symbol: R01 = Reconciliation Old:
Text Symbol: R02 = New:
Text Symbol: R03 = Meter:
Text Symbol: R04 = PL:
Text Symbol: R05 = UoM:
Text Symbol: R10 = Total Quantity
Text Symbol: R11 = Total Difference
Text Symbol: S01 = Meter
Text Symbol: S02 = Assignment
Text Symbol: S03 = Period





Text Symbol: S04 = Reconciliation
Text Symbol: T01 = Meter Text
Text Symbol: T02 = S
Text Symbol: T03 = Plant
Text Symbol: T04 = N.Rec.Date
Text Symbol: T05 = N.Rec.Time
Text Symbol: T06 = Difference
Text Symbol: T07 = Meter Nr.
Text Symbol: T08 = Date
Text Symbol: T09 = Time
Text Symbol: T10 = SeqNr.
Text Symbol: T11 = Start
Text Symbol: T12 = End


INCLUDES used within this REPORT ROIGRM00

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:

OIL_LAST_DAY_OF_PREVIOUS_MONTH CALL FUNCTION 'OIL_LAST_DAY_OF_PREVIOUS_MONTH' EXPORTING I_DATE_OLD = SY-DATUM IMPORTING E_DATE_NEW = SEL-REC_DATE.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING DECIM = PI_DECS EXPON = 0 INPUT = PI_QUANTITY IVALU = TRUE * MASKN = ' ' IMPORTING FLSTR = PO_QUANTITY_C.

OIL_LAST_DAY_OF_PREVIOUS_MONTH CALL FUNCTION 'OIL_LAST_DAY_OF_PREVIOUS_MONTH' EXPORTING I_DATE_OLD = SY-DATUM IMPORTING E_DATE_NEW = G_METER_TAB-REC_DATE_N.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = TABLE_NAME IMPORTING RC = RC_SUBRC TABLES FIELDTAB = FIELDTAB EXCEPTIONS NO_TEXTS_FOUND = 01.

GET_PRINT_PARAMETERS * CALL FUNCTION 'GET_PRINT_PARAMETERS' * EXPORTING * LINE_SIZE = LINE_SIZE * LAYOUT = LD_LAYOUT * IMPORTING * OUT_PARAMETERS = LD_PARAMS * OUT_ARCHIVE_PARAMETERS = LD_ARPARAMS * VALID = LD_VALID.

DEQUEUE_E_OIGR CALL FUNCTION 'DEQUEUE_E_OIGR' EXPORTING RACK_METER = G_METER_TAB-RACK_METER.

ENQUEUE_E_OIGR CALL FUNCTION 'ENQUEUE_E_OIGR' EXPORTING RACK_METER = U_OIGRMH_TAB-RACK_METER.

OIGRM_H_UPDATE * call function 'OIGRM_H_UPDATE' in update task * exporting l_date = l_date * l_time = l_time * tables u_oigrmh_tab = u_oigrmh_tab.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_STRUCTURE_NAME = GC_OIGRMH CHANGING CT_FIELDCAT = GT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EVENTS = GT_EVENTS IS_PRINT = LS_PRINT I_SUPPRESS_EMPTY_DATA = LV_SUPPRESS TABLES T_OUTTAB = GT_OIGRMH_TEMP EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET





CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING E_WIDTH = LV_SIZE EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.



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