SAP Reports / Programs | Exchanges | Industry Solution Oil | Exchanges(IS-OIL-DS-EXG) SAP IS

ROIACM30 SAP ABAP Report - Purchasing Entitlement / Sales Obligation at Exch. Partner Location







ROIACM30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report to list purchasing entitlements or sales obligation at contract or call-off level with several selections and options...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 ROIACM30 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

O3AR - QS Partner Entitlement/Obligation


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 ROIACM30. "Basic submit
SUBMIT ROIACM30 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIACM30 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: P_ADFLD = List additional fields
Selection Text: P_BUKRS = D .
Selection Text: P_CNTTY = D .
Selection Text: P_DATE = D .
Selection Text: P_DOCUM = D .
Selection Text: P_ENTLU = D .
Selection Text: P_EXCH = List only exchange related
Selection Text: P_EXGNUM = D .
Selection Text: P_EXPTR = D .
Selection Text: P_EXTYP = D .
Selection Text: P_MATNR = D .
Selection Text: P_NPORG = New page due changing CC/plant
Selection Text: P_RECAD = Open incl.intend.qty
Selection Text: P_SUMME = Sum/List not qty. dependent
Selection Text: P_UNTIL = Avail.qty. until sched.date
Selection Text: P_VARI = D .
Selection Text: P_WERKS = D .
Title: Purchasing Entitlement / Sales Obligation at Exch. Partner Location
Text Symbol: MAT = Material
Text Symbol: OP1 = New page due changing CC/plant
Text Symbol: OP2 = Sum/List not qty. dependent
Text Symbol: OP3 = List additional fields
Text Symbol: OP4 = Open incl.intend.qty
Text Symbol: QI1 = Init all lines
Text Symbol: QI3 = Qty.schedules
Text Symbol: SIN = @18@ Init all lines
Text Symbol: TI1 = Init all lines
Text Symbol: TI3 = Qty.schedules
Text Symbol: V11 = Sales contract Scheduled Called-off Open qty +
Text Symbol: V16 = CC Plnt ExgT Otyp Periods ExgNo Valid to
Text Symbol: V21 = Sales order Scheduled Delivered Open qty +
Text Symbol: WRK = Plant
Text Symbol: 100 = item(s)
Text Symbol: 101 = List all
Text Symbol: 112 = only exchange
Text Symbol: 113 = only w/o exg.
Text Symbol: 114 = Document selection
Text Symbol: 122 = Purchasing





Text Symbol: 123 = Sales
Text Symbol: 131 = Contract
Text Symbol: 132 = Call-off
Text Symbol: 140 = Display type
Text Symbol: 141 = Display variant
Text Symbol: 142 = Output
Text Symbol: BUK = Company code
Text Symbol: DAT = Sched.date
Text Symbol: EXN = Exg. agreement
Text Symbol: EXP = Exchange partner
Text Symbol: FC1 = Display document
Text Symbol: FC2 = Display quantity schedule(QS)
Text Symbol: FC3 = Change document
Text Symbol: FRO = Options
Text Symbol: FRS = Selection
Text Symbol: IGE = Exch. selection will be ignored because of usage:
Text Symbol: IGN = Selection of ExgNo will be ignored if indic.
Text Symbol: IGO = additional fields not set
Text Symbol: LAP = Leave current application
Text Symbol: LIM = Vendor
Text Symbol: LIS = @3W@ Qty.schedules
Text Symbol: LIV = Customer
Text Symbol: LOT = Do you want to leave transaction ?
Text Symbol: M11 = Purch. contract Scheduled Called-off Open qty +
Text Symbol: M16 = CC Plnt ExgT Otyp Periods ExgNo Valid to
Text Symbol: M21 = Purchase order Scheduled Received Open qty +


INCLUDES used within this REPORT ROIACM30

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LIST' * Text on button text = TEXT-TI3 * quickinfo info = TEXT-QI3 IMPORTING RESULT = P_Push3 EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_DELETE_ROW' * Text on button text = TEXT-TI1 * quickinfo info = TEXT-QI1 IMPORTING RESULT = P_Push1 EXCEPTIONS OTHERS = 0.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = VARIANTE I_SAVE = VARIANT_SAVE * it_default_fieldcat = IMPORTING E_EXIT = VARIANT_EXIT ES_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.






REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = g_REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_STRUCTURE_NAME = 'ROIA09H_ALV30' is_layout = g_layout I_SAVE = 'A' IS_VARIANT = DEF_VARIANTE i_buffer_active = 'X' "new 46C TABLES T_OUTTAB = it_alv30.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = g_REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_STRUCTURE_NAME = 'ROIA09H_ALV30' is_layout = g_layout I_SAVE = 'A' IS_VARIANT = DEF_VARIANTE i_buffer_active = 'X' "new 46C TABLES T_OUTTAB = it_alv30.

OIL_GET_STATUS CALL FUNCTION 'OIL_GET_STATUS' EXPORTING I_OBJECT = 'SQS3' I_WITH_POPUP = 'X' IMPORTING E_SEL_STATUS = g_csans TABLES T_STATUS = l_status EXCEPTIONS ACTION_CANCELED = 1 OBJECT_NOT_FOUND = 2 OTHERS = 4.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'O0' I_DTYPE = 'W' I_MSGNR = '004' I_VAR01 = x_char I_VAR02 = x_char2 .



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