ROIRI_S412 SAP (Margin report data selection structure) Structure details

Dictionary Type: Structure
Description: Margin report data selection structure




ABAP Code to SELECT data from ROIRI_S412
Related tables to ROIRI_S412
Access table ROIRI_S412




Structure field list including key, data, relationships and ABAP select examples

ROIRI_S412 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Margin report data selection structure" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_ROIRI_S412 TYPE ROIRI_S412.

The ROIRI_S412 table consists of various fields, each holding specific information or linking keys about Margin report data selection structure data available in SAP. These include MANDT (Client), SSOUR (Statistic(s) origin), VRSIO (Version number in the information structure), SPMON (Period to analyze - month).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP ROIRI_S412 structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
SSOURStatistic(s) origin SSOURCHAR4SSOUR
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
SPWOCPeriod to analyze - week SPWOCNUMC6PERIMCPERIOD
SPBUPPeriod to analyze - posting period SPBUPNUMC6PERIMCPERIOD
OIRIPBLNRBusiness location identifier (IS-Oil MRN) OIF_PBLNRCHAR10OIFSPBLALPHAOIF_PBLNROI0OIFB
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
OISTYPService type OIRA_STYPCHAR4OIRASTYPOIRA_STYPOIR_ST
PERIVFiscal Year Variant PERIVCHAR2Assigned to domainPERIV
VWDATPointer to administrative data VWDATNUMC10VWDAT
STWAEStatistics currency STWAECUKY5TCURCWAERS
VRKMESales unit VRKMEUNIT3T006CUNITMEINS
BASMEBase Unit of Measure MEINSUNIT3T006CUNITMEINS
OIRCOMMNETSSR - Location net commission OIRI_COMMNETCURR15(2) WERTV8
OIRCOMMVATSSR - Location vat on commission OIRI_COMMVATCURR15(2) WERTV8
OIRPFEENETSSR - Location net participation fee OIRI_PARTFEENETCURR15(2) WERTV8
OIRPFEEVATSSR - Location net participation vat OIRI_PARTFEEVATCURR15(2) WERTV8
OIRFUGRSSR-Location fuel sales gross OIRI_FUELGRCURR15(2) WERTV8
OIREBVEBV cost OIRI_EBVCURR15(2) WERTV8
OIRFCFEESSSR Fleet Card processing fees OIRI_FCFEESCURR15(2) WERTV8
OIRCHFEESSSR Clearing house processing fees OIRI_CHFEESCURR15(2) WERTV8
OIRFREIGHTFreight cost OIRI_FREIGHTCURR15(2) WERTV8
OIRPURPRPurchase cost of material OIRI_PURPRICECURR15(2) WERTV8
OIRFUNETFuel sales net OIRI_FUELNETCURR15(2) WERTV8
OIRFUVATFuel sales vat OIRI_FUELVATCURR15(2) WERTV8
MCUPDIndicator whether statistical record was updated MCUPDCHAR1X
FKIMGActual Invoiced Quantity FKIMGQUAN13(3) MENG13
FKLMGBilling quantity in stockkeeping unit FKLMGQUAN13(3) MENG13
WAERKSD Document Currency WAERKCUKY5TCURCWAERSFWS

Key field Non-key field



How do I retrieve data from SAP structure ROIRI_S412 using ABAP code?

As ROIRI_S412 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ROIRI_S412 as there is no data to select.

How to access SAP table ROIRI_S412

Within an ECC or HANA version of SAP you can also view further information about ROIRI_S412 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!