SAP Reports / Programs | Marketing, Contract and Order Entry | Industry Solution Oil | Marketing, Contract and Order Entry(IS-OIL-DS-MCO) SAP IS

MV50A320 SAP ABAP INCLUDE - Oil Include: MCOE FORM Routine







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


Text pool values


Title: Oil Include: MCOE FORM Routine


INCLUDES used within this REPORT MV50A320

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:

OIDA_POPUP_EXTERNAL_DETAILS ***del call function 'OIDA_POPUP_EXTERNAL_DETAILS' so3k120207 ***del exporting so3k120207 ***del item_val = no so3k120207 ***del display_all = ck_val so3k120207 ***del display_only = no so3k120207 ***del i_oic_pbatch = likp-oic_pbatch so3k120207 ***del i_oic_pdestn = likp-oic_pdestn so3k120207 ***del i_oic_porgin = likp-oic_porgin so3k120207 ***del i_oic_aorgin = likp-oic_aorgin "SO3K112690 so3k120207 ***del i_oic_adestn = likp-oic_adestn "SO3K112690 so3k120207 ***del i_oic_truckn = likp-oic_truckn "SO3K112690 so3k120207 ***del i_oic_mot = likp-oic_mot "SO3K001057 so3k120207 ***del i_oic_ptrip = likp-oic_ptrip so3k120207 ***del i_oic_oland1 = likp-oic_oland1 "SO3K000376 so3k120207 ***del i_oic_oregio = likp-oic_oregio so3k120207 ***del i_oic_ocounc = likp-oic_ocounc so3k120207 ***del i_oic_ocityc = likp-oic_ocityc so3k120207 ***del i_oic_dland1 = likp-oic_dland1 so3k120207 ***del i_oic_dregio = likp-oic_dregio so3k120207 ***del i_oic_dcounc = likp-oic_dcounc so3k120207 ***del i_oic_dcityc = likp-oic_dcityc so3k120207 ***del i_oic_lifnr = likp-oic_lifnr so3k120207 ***del i_oipipeval = likp-oipipeval "SO3K000376 so3k120207 ***del i_oid_extbol = likp-oid_extbol so3k120207 ***del i_oid_miscdl = likp-oid_miscdl so3k120207 ***del importing so3k120207 ***del e_oic_pbatch = likp-oic_pbatch so3k120207 ***del e_oic_pdestn = likp-oic_pdestn so3k120207 ***del e_oic_porgin = likp-oic_porgin so3k120207 ***del e_oic_aorgin = likp-oic_aorgin "SO3K112690 so3k120207 ***del e_oic_adestn = likp-oic_adestn "SO3K112690 so3k120207 ***del e_oic_truckn = likp-oic_truckn "SO3K112690 so3k120207 ***del e_oic_mot = likp-oic_mot "SO3K001057 so3k120207 ***del e_oic_ptrip = likp-oic_ptrip so3k120207 ***del e_oic_oland1 = likp-oic_oland1 so3k120207 ***del e_oic_oregio = likp-oic_oregio so3k120207 ***del e_oic_ocounc = likp-oic_ocounc so3k120207 ***del e_oic_ocityc = likp-oic_ocityc so3k120207 ***del e_oic_dland1 = likp-oic_dland1 so3k120207 ***del e_oic_dregio = likp-oic_dregio so3k120207 ***del e_oic_dcounc = likp-oic_dcounc so3k120207 ***del e_oic_dcityc = likp-oic_dcityc so3k120207 ***del e_oic_lifnr = likp-oic_lifnr so3k120207 ***del* e_oipipeval = likp-oipipeval so3k120207 ***del e_oid_extbol = likp-oid_extbol so3k120207 ***del e_oid_miscdl = likp-oid_miscdl. so3k120207

OIDA_POPUP_EXTERNAL_DETAILS CALL FUNCTION 'OIDA_POPUP_EXTERNAL_DETAILS' "so3k120207 EXPORTING "so3k120207 document_level = sddnh "so3k120207 display_only = no "so3k120207 * IMPORTING "so3k120207 * SOMETHING_CHANGED = "so3k120207 CHANGING "so3k120207 c_oic_pipe = oic_pipe "so3k120207 c_oid_ex = oid_ex "so3k120207 EXCEPTIONS "so3k120207 OTHERS = 1. "so3k120207

OIDA_POPUP_EXTERNAL_DETAILS ***del call function 'OIDA_POPUP_EXTERNAL_DETAILS' "so3k120207 ***del exporting "so3k120207 ***del item_val = yes "so3k120207 ***del display_all = ck_val "so3k120207 ***del display_only = no "so3k120207 ***del i_oic_pbatch = lips-oic_pbatch "so3k120207 ***del i_oic_pdestn = lips-oic_pdestn "so3k120207 ***del i_oic_porgin = lips-oic_porgin "so3k120207 ***del i_oic_aorgin = lips-oic_aorgin "SO3K112690"so3k120207 ***del i_oic_adestn = lips-oic_adestn "SO3K112690"so3k120207 ***del i_oic_truckn = lips-oic_truckn "SO3K112690"so3k120207 ***del i_oic_mot = lips-oic_mot "SO3K001057"so3k120207 ***del i_oic_ptrip = lips-oic_ptrip "so3k120207 ***del i_oic_oland1 = lips-oic_oland1 "SO3K000376"so3k120207 ***del i_oic_oregio = lips-oic_oregio so3k120207 ***del i_oic_ocounc = lips-oic_ocounc so3k120207 ***del i_oic_ocityc = lips-oic_ocityc so3k120207 ***del i_oic_dland1 = lips-oic_dland1 so3k120207 ***del i_oic_dregio = lips-oic_dregio so3k120207 ***del i_oic_dcounc = lips-oic_dcounc so3k120207 ***del i_oic_dcityc = lips-oic_dcityc so3k120207 ***del i_oic_lifnr = lips-oic_lifnr so3k120207 ***del i_oipipeval = lips-oipipeval "SO3K000376 so3k120207 ***del i_oid_extbol = lips-oid_extbol so3k120207 ***del i_oid_miscdl = lips-oid_miscdl so3k120207 ***del importing so3k120207 ***del e_oic_pbatch = lips-oic_pbatch so3k120207 ***del e_oic_pdestn = lips-oic_pdestn so3k120207 ***del e_oic_porgin = lips-oic_porgin so3k120207 ***del e_oic_aorgin = lips-oic_aorgin "SO3K112690 so3k120207 ***del e_oic_adestn = lips-oic_adestn "SO3K112690 so3k120207 ***del e_oic_truckn = lips-oic_truckn "SO3K112690 so3k120207 ***del e_oic_mot = lips-oic_mot "SO3K001057 so3k120207 ***del e_oic_ptrip = lips-oic_ptrip so3k120207 ***del e_oic_oland1 = lips-oic_oland1 "SO3K000376 so3k120207 ***del e_oic_oregio = lips-oic_oregio so3k120207 ***del e_oic_ocounc = lips-oic_ocounc so3k120207 ***del e_oic_ocityc = lips-oic_ocityc so3k120207 ***del e_oic_dland1 = lips-oic_dland1 so3k120207 ***del e_oic_dregio = lips-oic_dregio so3k120207 ***del e_oic_dcounc = lips-oic_dcounc so3k120207 ***del e_oic_dcityc = lips-oic_dcityc so3k120207 ***del e_oic_lifnr = lips-oic_lifnr so3k120207 * e_oipipeval = lips-oipipeval "SO3K000376 so3k120207 ***del e_oid_extbol = lips-oid_extbol so3k120207 ***del e_oid_miscdl = lips-oid_miscdl. so3k120207

OIDA_POPUP_EXTERNAL_DETAILS CALL FUNCTION 'OIDA_POPUP_EXTERNAL_DETAILS' "so3k120207 EXPORTING "so3k120207 document_level = sddni "so3k120207 display_only = no "so3k120207 IMPORTING "so3k120207 something_changed = oic_something_changed "so3k120207 CHANGING "so3k120207 c_oic_pipe = oic_pipe "so3k120207 c_oid_ex = oid_ex "so3k120207 EXCEPTIONS "so3k120207 OTHERS = 1. "so3k120207

OIDA_POPUP_EXTERNAL_DETAILS CALL FUNCTION 'OIDA_POPUP_EXTERNAL_DETAILS' "so3k120207 EXPORTING "so3k120207 document_level = oic_doc_level "so3k120207 display_only = yes "so3k120207 IMPORTING "so3k120207 something_changed = oic_something_changed "SO4K003766 RKS CHANGING "so3k120207 c_oic_pipe = oic_pipe "so3k120207 c_oid_ex = oid_ex "so3k120207 EXCEPTIONS "so3k120207 OTHERS = 1. "so3k120207

OIDA_POPUP_EXTERNAL_DETAILS ***del call function 'OIDA_POPUP_EXTERNAL_DETAILS' so3k120207 ***del exporting so3k120207 ***del item_val = no so3k120207 ***del display_all = 'C' so3k120207 ***del display_only = yes so3k120207 ***del i_oic_pbatch = likp-oic_pbatch so3k120207 ***del i_oic_pdestn = likp-oic_pdestn so3k120207 ***del i_oic_porgin = likp-oic_porgin so3k120207 ***del i_oic_aorgin = likp-oic_aorgin so3k120207 ***del i_oic_adestn = likp-oic_adestn so3k120207 ***del i_oic_truckn = likp-oic_truckn so3k120207 ***del i_oic_mot = likp-oic_mot so3k120207 ***del i_oic_ptrip = likp-oic_ptrip so3k120207 ***del i_oic_oland1 = likp-oic_oland1 so3k120207 ***del i_oic_oregio = likp-oic_oregio so3k120207 ***del i_oic_ocounc = likp-oic_ocounc so3k120207 ***del i_oic_ocityc = likp-oic_ocityc so3k120207 ***del i_oic_dland1 = likp-oic_dland1 so3k120207 ***del i_oic_dregio = likp-oic_dregio so3k120207 ***del i_oic_dcounc = likp-oic_dcounc so3k120207 ***del i_oic_dcityc = likp-oic_dcityc so3k120207 ***del i_oic_lifnr = likp-oic_lifnr so3k120207 ***del i_oipipeval = likp-oipipeval so3k120207 ***del i_oid_extbol = likp-oid_extbol so3k120207 ***del i_oid_miscdl = likp-oid_miscdl. so3k120207

OIDA_POPUP_EXTERNAL_DETAILS ***del call function 'OIDA_POPUP_EXTERNAL_DETAILS' so3k120207 ***del exporting so3k120207 ***del item_val = no so3k120207 ***del display_all = 'D' so3k120207 ***del display_only = yes so3k120207 ***del i_oic_pbatch = lips-oic_pbatch so3k120207 ***del i_oic_pdestn = lips-oic_pdestn so3k120207 ***del i_oic_porgin = lips-oic_porgin so3k120207 ***del i_oic_aorgin = lips-oic_aorgin so3k120207 ***del i_oic_adestn = lips-oic_adestn so3k120207 ***del i_oic_truckn = lips-oic_truckn so3k120207 ***del i_oic_mot = lips-oic_mot so3k120207 ***del i_oic_ptrip = lips-oic_ptrip so3k120207 ***del i_oic_oland1 = lips-oic_oland1 so3k120207 ***del i_oic_oregio = lips-oic_oregio so3k120207 ***del i_oic_ocounc = lips-oic_ocounc so3k120207 ***del i_oic_ocityc = lips-oic_ocityc so3k120207 ***del i_oic_dland1 = lips-oic_dland1 so3k120207 ***del i_oic_dregio = lips-oic_dregio so3k120207 ***del i_oic_dcounc = lips-oic_dcounc so3k120207 ***del i_oic_dcityc = lips-oic_dcityc so3k120207 ***del i_oic_lifnr = lips-oic_lifnr so3k120207 ***del i_oipipeval = lips-oipipeval so3k120207 ***del i_oid_extbol = lips-oid_extbol so3k120207 ***del i_oid_miscdl = lips-oid_miscdl. so3k120207

OIDA_GET_ORIGIN_DESTINATION CALL FUNCTION 'OIDA_GET_ORIGIN_DESTINATION' EXPORTING * i_ship_to = likp-kunnr i_werks = lips-werks IMPORTING e_oic_oland1 = lips-oic_oland1 e_oic_oregio = oic_pipe-oic_oregio "so3k120786 e_oic_ocounc = oic_pipe-oic_ocounc "so3k120786 e_oic_ocityc = oic_pipe-oic_ocityc. "so3k120786

RV_XVBAPF_CREATE ***del call function 'RV_XVBAPF_CREATE' "SO3K014280 ***del exporting "SO3K014280 ***del vbeln = xlips-vgbel "SO3K014280 ***del i_vbak_abdis = ' ' "SO3K014280 ***del tables "SO3K014280 ***del fxvbapf = xvbapf "SO3K014280 ***del fxvbfa = xvbfa. "muestevorher gelesen SO3K014280

RV_XVBUP_MAINTAIN ***del call function 'RV_XVBUP_MAINTAIN' "SO3K014280 ***del exporting "SO3K014280 ***del f_vbeln = xlips-vgbel "SO3K014280 ***del f_posnr = xlips-vgpos "SO3K014280 ***del f_xvbap_sortiert = charx "SO3K014280 ***del f_xvbuv_beruecksichtigen = space "SO3K014280 ***del tables "SO3K014280 ***del fxvbap = xvbap "SO3K014280 ***del fxvbep = xvbep "SO3K014280 ***del fxvbapf = xvbapf "SO3K014280 ***del fxvbup = xvbup "SO3K014280 ***del fxvbuv = xvbuv "SO3K014280 ***del fyvbup = yvbup. "SO3K014280

RV_XVBUP_MAINTAIN CALL FUNCTION 'RV_XVBUP_MAINTAIN' "so3k128449 EXPORTING "so3k128449 * F_ALTERNATIVPOSITIONEN = ' ' "so3k128449 f_posnr = xlips-vgpos "so3k128449 f_vbeln = xlips-vgbel "so3k128449 f_xvbap_sortiert = charx "so3k128449 f_xvbuv_beruecksichtigen = space "so3k128449 * F_FPLNR = ' ' "so3k128449 * F_XFPLT_BERUECKSICHTIGEN = ' ' "so3k128449 * F_REQ_BLOCK = ' ' "so3k128449 f_besta_ermitteln = charx "so3k128449 * F_VORGAENGER = ' ' "so3k128449 * IMPORTING "so3k128449 * E_VBUP_CHANGE = "so3k128449 TABLES "so3k128449 fxvbap = xvbap "so3k128449 fxvbapf = xvbapf "so3k128449 fxvbep = xvbep "so3k128449 fxvbup = xvbup "so3k128449 fxvbuv = xvbuv "so3k128449 fyvbup = yvbup "so3k128449 * FXFPLT = "so3k128449 * FXFPLA = "so3k128449 EXCEPTIONS "so3k128449 OTHERS = 1. "so3k128449

RV_XVBUK_MAINTAIN ***del call function 'RV_XVBUK_MAINTAIN' "SO3K014280 ***del exporting "SO3K014280 ***del f_vbeln = xlips-vgbel "SO3K014280 ***del f_vbtyp = yvbak-vbtyp "SO3K014280 ***del tables "SO3K014280 ***del fxvbup = xvbup "SO3K014280 ***del fxvbuk = xvbuk "SO3K014280 ***del fxvbuv = xvbuv "SO3K014280 ***del fyvbuk = yvbuk. "SO3K014280

RV_XVBUK_MAINTAIN CALL FUNCTION 'RV_XVBUK_MAINTAIN' "so3k128449 EXPORTING "so3k128449 f_vbeln = xlips-vgbel "so3k128449 f_vbtyp = yvbak-vbtyp "so3k128449 * F_XVBUV_BERUECKSICHTIGEN = 'X' "so3k128449 * TVRO_WA = ' ' "so3k128449 * TVLK_WA = ' ' "so3k128449 * F_LIKP = ' ' "so3k128449 * IMPORTING "so3k128449 * E_VBUK_CHANGE = "so3k128449 TABLES "so3k128449 fxvbuk = xvbuk "so3k128449 fxvbup = xvbup "so3k128449 fxvbuv = xvbuv "so3k128449 fyvbuk = yvbuk "so3k128449 * FXVBFA = "so3k128449 * FXFPLT = "so3k128449 * FXVTTK = "so3k128449 * FXLIKP = "so3k128449 EXCEPTIONS "so3k128449 OTHERS = 1. "so3k128449

MARM_SINGLE_READ CALL FUNCTION 'MARM_SINGLE_READ' EXPORTING matnr = xlips-matnr meinh = oidzieme IMPORTING wmarm = marm EXCEPTIONS OTHERS = 4.

OIB_SD_LIPSO_GET_VALUE CALL FUNCTION 'OIB_SD_LIPSO_GET_VALUE' "SO3K004724 EXPORTING "SO3K004724 if_meins = yl_msehi "SO3K004724 if_posnr = yl_posnr "SO3K004724 if_vbeln = yl_vbeln "SO3K004724 IMPORTING "SO3K004724 ef_value = lipso2-adqnt "SO3K004724 EXCEPTIONS "SO3K004724 not_found = 01. "so3k004724

SD_VBAK_SINGLE_READ CALL FUNCTION 'SD_VBAK_SINGLE_READ' EXPORTING i_vbeln = yl_vbeln IMPORTING e_vbak = *vbak EXCEPTIONS OTHERS = 4. "end >46B KH

OIDA_GET_ORIGIN_DESTINATION CALL FUNCTION 'OIDA_GET_ORIGIN_DESTINATION' EXPORTING i_werks = lips-werks IMPORTING e_oic_oland1 = lips-oic_oland1 e_oic_oregio = lips-oic_oregio e_oic_ocounc = lips-oic_ocounc e_oic_ocityc = lips-oic_ocityc.

RV_XVBAPF_CREATE CALL FUNCTION 'RV_XVBAPF_CREATE' "so3k128449 EXPORTING "so3k128449 vbeln = xlips-oicontnr "so3k128449 TABLES "so3k128449 fxvbfa = xvbfa "so3k128449 fxvbapf = xvbapf. "so3k128449

RV_XVBUP_MAINTAIN





CALL FUNCTION 'RV_XVBUP_MAINTAIN' "so3k128449 EXPORTING "so3k128449 * F_ALTERNATIVPOSITIONEN = ' ' "so3k128449 f_posnr = xlips-oic_kmpos "so3k128449 f_vbeln = xlips-oicontnr "so3k128449 f_xvbap_sortiert = charx "so3k128449 f_xvbuv_beruecksichtigen = space "so3k128449 * F_FPLNR = ' ' "so3k128449 * F_XFPLT_BERUECKSICHTIGEN = ' ' "so3k128449 * F_REQ_BLOCK = ' ' "so3k128449 * F_BESTA_ERMITTELN = ' ' "so3k128449 f_vorgaenger = 'X' "so3k128449 * IMPORTING "so3k128449 * E_VBUP_CHANGE = "so3k128449 TABLES "so3k128449 fxvbap = xvbap "so3k128449 fxvbapf = xvbapf "so3k128449 fxvbep = xvbep "so3k128449 fxvbup = xvbup "so3k128449 fxvbuv = xvbuv "so3k128449 fyvbup = yvbup "so3k128449 * FXFPLT = "so3k128449 * FXFPLA = "so3k128449 EXCEPTIONS "so3k128449 OTHERS = 1. "so3k128449

RV_XVBUK_MAINTAIN CALL FUNCTION 'RV_XVBUK_MAINTAIN' "so3k128449 EXPORTING "so3k128449 f_vbeln = xlips-oicontnr "so3k128449 f_vbtyp = yvbak-vbtyp "so3k128449 * F_XVBUV_BERUECKSICHTIGEN = 'X' "so3k128449 * TVRO_WA = ' ' "so3k128449 * TVLK_WA = ' ' "so3k128449 * F_LIKP = ' ' "so3k128449 * IMPORTING "so3k128449 * E_VBUK_CHANGE = "so3k128449 TABLES "so3k128449 fxvbuk = xvbuk "so3k128449 fxvbup = xvbup "so3k128449 fxvbuv = xvbuv "so3k128449 fyvbuk = yvbuk "so3k128449 * FXVBFA = "so3k128449 * FXFPLT = "so3k128449 * FXVTTK = "so3k128449 * FXLIKP = "so3k128449 EXCEPTIONS "so3k128449 OTHERS = 1. "so3k128449



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