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

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







ROIASMPO 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 ROIASMPO 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 ROIASMPO. "Basic submit
SUBMIT ROIASMPO AND RETURN. "Return to original report after report execution complete
SUBMIT ROIASMPO 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 ROIASMPO

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:

OIA_RV_OIANF_SELECT CALL FUNCTION 'OIA_RV_OIANF_SELECT' EXPORTING COMM_HEAD_I = KOMK IMPORTING COMM_HEAD_E = KOMK TABLES TKOMV = TKOMV.

ME_READ_HEADER_INVOICE CALL FUNCTION 'ME_READ_HEADER_INVOICE' EXPORTING DISPLAY = C_ON EBELN = EBELN RE_KURSF = C_KURSF RE_WAERS = T001-WAERS KURS_ABW = T001-WAABW IMPORTING IEKKO = EKKO E_ADDRESS = ADDR "SO4K000371 CURRERR = CURRERR EXCEPTIONS NOT_FOUND = 1 WRONG_TYPE = 2.

ME_READ_ITEM_INVOICE CALL FUNCTION 'ME_READ_ITEM_INVOICE' EXPORTING DISPLAY = C_ON IEKKO = EKKO EBELP = EBELP RE_KURSF = C_KURSF RE_WAERS = T001-WAERS RE_WWERT = SY-DATUM XEK08R_FLAG = XEK08R_FLAG TABLES XEK08RN = XEK08RN XEK08BN = XEK08BN TEKSEL = XEKSEL EXCEPTIONS NOT_FOUND_ANY = 1 NOT_VALID_ANY = 1 NOT_FOUND_ONE = 2 NOT_VALID_ONE = 3.

ME_SELECT_DOCUMENTS CALL FUNCTION 'ME_SELECT_DOCUMENTS' EXPORTING I_LFBNR = U_MBLNR I_LFPOS = L_ZEILE I_LFGJA = U_MJAHR TABLES T_EKSEL = XEKSEL.

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

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



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