SAP Reports / Programs | Service Station Retailing | Industry Solution Oil | Service Station Retailing(IS-OIL-DS-SSR) SAP IS

ROIRI_MARGIN_REPORT SAP ABAP Report - Margin Analysis report







ROIRI_MARGIN_REPORT 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 ROIRI_MARGIN_REPORT 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 ROIRI_MARGIN_REPORT. "Basic submit
SUBMIT ROIRI_MARGIN_REPORT AND RETURN. "Return to original report after report execution complete
SUBMIT ROIRI_MARGIN_REPORT 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: LOCATION = D Business location ID
Selection Text: LOCTYPE = D Bus. location type
Selection Text: MATLS = D Material
Selection Text: MONTH = D Month
Selection Text: PA_VRSIO = Version
Selection Text: PERIOD = D Period
Selection Text: PER_MAT = Period ovw: incl. material lvl
Selection Text: PER_PBL = Period ovw: incl. location lvl
Selection Text: P_AVGM11 = Disp avrg mrgn 1 in overview
Selection Text: P_AVGM12 = Disp avrg mrgn 2 in overview
Selection Text: P_AVGM13 = Disp avrg mrgn 3 in overview
Selection Text: P_AVGM14 = Disp avrg mrgn 4 in overview
Selection Text: P_AVGM21 = Disp avrg mrgn 1 in period
Selection Text: P_AVGM22 = Disp avrg mrgn 2 in period
Selection Text: P_AVGM23 = Disp avrg mrgn 3 in period
Selection Text: P_AVGM24 = Disp avrg mrgn 4 in period
Selection Text: P_AVGM31 = Disp avrg mrgn 1 in margin clc
Selection Text: P_AVGM32 = Disp avrg mrgn 2 in margin clc
Selection Text: P_AVGM33 = Disp avrg mrgn 3 in margin clc
Selection Text: P_AVGM34 = Disp avrg mrgn 4 in margin clc
Selection Text: P_AVGP1 = Disp average price in overview
Selection Text: P_AVGP2 = Display average price in per.
Selection Text: P_AVGP3 = Display average price in mrgn
Selection Text: P_VARI = D Layout
Selection Text: REGION = D Region
Selection Text: STYP = D Service type
Selection Text: WEEK = D Week
Selection Text: LOCAA = D Loc. area assignment
Selection Text: DATE = Date
Selection Text: COUNTRY = D Country key
Selection Text: BUKRS = D Company code
Title: Margin Analysis report
Text Symbol: 001 = Transactions
Text Symbol: 002 = Locations
Text Symbol: 003 = Miscellaneous
Text Symbol: 025 = Location area assignment
Text Symbol: 026 = Location region description
Text Symbol: 027 = Location area description





Text Symbol: 028 = Location sub-area description
Text Symbol: 200 = Location
Text Symbol: 201 = All selected locations
Text Symbol: 210 = Average price
Text Symbol: 211 = Average:
Text Symbol: 212 = Period
Text Symbol: 213 = to
Text Symbol: 300 = Overall
Text Symbol: 301 = Overview
Text Symbol: 302 = Period overview
Text Symbol: 303 = Margin calc.
Text Symbol: 310 = Average prices
Text Symbol: 311 = Average margin 1
Text Symbol: 312 = Average margin 2
Text Symbol: 313 = Average margin 3
Text Symbol: 314 = Average margin 4


INCLUDES used within this REPORT ROIRI_MARGIN_REPORT

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:

No SAP FUNCTION MODULES are executed within this report code!



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