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

ROIASMPS SAP ABAP INCLUDE - Purchase order History Investigation to check if fully invoice recptd







ROIASMPS is a standard ABAP INCLUDE 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 ROIASMPS 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 ROIASMPS. "Basic submit
SUBMIT ROIASMPS AND RETURN. "Return to original report after report execution complete
SUBMIT ROIASMPS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Purchase order History Investigation to check if fully invoice recptd


INCLUDES used within this REPORT ROIASMPS

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:

MB_UNIT_CONVERSION CALL FUNCTION 'MB_UNIT_CONVERSION' EXPORTING ERFME = P_KONVME ERFMG = 0 "R3E SO7K100068 * ERFMG = SPACE R3E SO7K100068 MATNR = P_MATNR MEINS = P_MEINS MENGE = P_MENGE UMREN = 1 UMREZ = SPACE IMPORTING O_ERFMG = KONVERT_MENGE EXCEPTIONS CONVERSION_NOT_FOUND = 1 DIFFERENT_DIMENSION = 2 DIVISION_BY_ZERO = 3 OVERFLOW = 4 T006D_ENTRY_MISSING = 5 T006_ENTRY_MISSING = 6 OTHERS = 7.

OIB_MM_GET_QNT_FROM_MSEGO2_DB CALL FUNCTION 'OIB_MM_GET_QNT_FROM_MSEGO2_DB' EXPORTING I_MBLNR = P_MSEG-MBLNR I_MJAHR = P_MSEG-MJAHR I_MSEHI = P_DISPME I_ZEILE = P_MSEG-ZEILE IMPORTING E_QNT = P_MSEG-MENGE EXCEPTIONS MBLNR_NOT_PASSED = 1 MJAHR_NOT_PASSED = 2 MSEHI_NOT_PASSED = 3 QUANTITY_NOT_FOUND = 4 ZEILE_NOT_PASSED = 5 OTHERS = 6.

OIB_SD_GET_QUANTITY CALL FUNCTION 'OIB_SD_GET_QUANTITY' EXPORTING If_VBTYP = 'J' If_VBELN = g_issues-oivbeln If_POSNR = g_issues-oiposnr If_EXTINT = 'E' If_OLDNEW = '2' If_INUOM = 'RU' If_RQSUOM = P_DISPME * I_PODCHECK = s_lips-kzpod Deactivate POD .9509

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = h_waers IMPORTING ISO_CODE = h_iso_code EXCEPTIONS NOT_FOUND = 1.

UNIT_OF_MEASURE_SAP_TO_ISO call function 'UNIT_OF_MEASURE_SAP_TO_ISO' exporting sap_code = h_uom importing iso_code = h_iso_uom exceptions not_found = 1 no_iso_code = 2.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING T001W_WERKS = u_werks IMPORTING WT001W = T001W.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING MAXTZ = 100 MATNR = u_matnr SPRAS = u_spras IMPORTING WMAKT = MAKT.



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