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

MV45A310 SAP ABAP INCLUDE - Oil Include: MCOE FORM Routine







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

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:

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' ">46B KH exporting I_KUNNR = VBAK-OIPARTNR ">46B KH I_VKORG = VBAK-VKORG ">46B KH I_VTWEG = TVTA-VTWKU ">46B KH I_SPART = TVTA-SPAKU ">46B KH IMPORTING O_KNVV = KNVV ">46B KH EXCEPTIONS others = 0. "RC not used ">46B KH

RV_HELP CALL FUNCTION 'RV_HELP' "SO3K012030 AC EXPORTING "SO3K012030 AC KEY = SPACE "SO3K012030 AC KEY2 = SPACE "SO3K012030 AC KEY3 = SPACE "SO3K012030 AC KEY4 = VBAK-OIPTRFNC "SO3K012030 AC KEY5 = VBAK-OIPARTNR "SO3K012030 AC NUMBER = 'OI2' "SO3K012030 AC TRTYP = T185F-TRTYP "SO3K012030 AC FIELD_IN = VBAK-OIPARTNR "SO3K012030 AC DESCRIPTION_IN = OI_TESTC "SO3K012030 AC IMPORTING "SO3K012030 AC FIELD = KNVP-KUNNR "SO3K012030 AC DESCRIPTION = OI_TESTC "SO3K012030 AC OI_VKORG = VBAK-VKORG "SO3K012030 AC OI_VTWEG = VBAK-VTWEG "SO3K012030 AC OI_SPART = VBAK-SPART. "SO3K012030 AC

RV_HELP CALL FUNCTION 'RV_HELP' EXPORTING KEY = VBAK-VKORG KEY2 = TVTA-VTWKU KEY3 = TVTA-SPAKU KEY4 = VBAK-OIPTRFNC KEY5 = VBAK-OIPARTNR NUMBER = 'OI1' TRTYP = T185F-TRTYP FIELD_IN = VBAK-OIPARTNR DESCRIPTION_IN = OI_TESTC IMPORTING FIELD = KNVP-KUNNR DESCRIPTION = OI_TESTC.

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' ">46B KH exporting I_KUNNR = KUAGV-KUNNR ">46B KH I_VKORG = VBAK-VKORG ">46B KH I_VTWEG = TVTA-VTWKU ">46B KH I_SPART = TVTA-SPAKU ">46B KH IMPORTING O_KNVV = xKNVV ">46B KH EXCEPTIONS others = 4. ">46B KH

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' ">46B KH exporting I_KUNNR = VBAK-OIPARTNR ">46B KH I_VKORG = VBAK-VKORG ">46B KH I_VTWEG = TVTA-VTWKU ">46B KH I_SPART = TVTA-SPAKU ">46B KH IMPORTING O_KNVV = xKNVV ">46B KH EXCEPTIONS others = 4. ">46B KH

KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' ">46B KH exporting I_KUNNR = VBAK-OIPARTNR ">46B KH I_VKORG = VBAK-VKORG ">46B KH I_VTWEG = VBAK-VTWEG ">46B KH I_SPART = VBAK-SPART ">46B KH IMPORTING O_KNVV = xKNVV ">46B KH EXCEPTIONS others = 4. ">46B KH

SD_ORGDATA_CHECK CALL FUNCTION 'SD_ORGDATA_CHECK' EXPORTING FI_VKORG = P_OIDKNVV-VKORG FI_VTWEG = P_OIDKNVV-VTWEG FI_SPART = P_OIDKNVV-SPART FI_VKBUR = VBAK-VKBUR FI_VKGRP = VBAK-VKGRP FI_TEXT_GET = 'X' FI_TEXT_SPRAS = SY-LANGU IMPORTING FE_TVKO = TVKO FE_TVTW = TVTW FE_TSPA = TSPA FE_TVTA = TVTA FE_TVBUR = TVBUR FE_TVKGR = TVKGR FE_TVKBZ = TVKBZ FE_TVBVK = TVBVK FE_TVKOT = TVKOT FE_TVTWT = TVTWT FE_TSPAT = TSPAT EXCEPTIONS "TODO SO6K012306 MMU VKORG_DOES_NOT_EXIST "SO6K012306 MMU VTWEG_DOES_NOT_EXIST "SO6K012306 MMU SPART_DOES_NOT_EXIST "SO6K012306 MMU VKORG_VTWEG_DOES_NOT_EXIST "SO6K012306 MMU VKORG_SPART_DOES_NOT_EXIST "SO6K012306 MMU VTBER_DOES_NOT_EXIST "SO6K012306 MMU VKBUR_DOES_NOT_EXIST "SO6K012306 MMU VKGRP_DOES_NOT_EXIST "SO6K012306 MMU VTBER_VKBUR_DOES_NOT_EXIST "SO6K012306 MMU VKBUR_VKGRP_DOES_NOT_EXIST "SO6K012306 MMU VKBUR_VKORG_DOES_NOT_EXIST "SO6K012306 MMU NO_AUTHORITY "SO6K012306 MMU . "SO6K012306 MMU

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = kuagv-kunnr IMPORTING OUTPUT = kuagv-kunnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = kuwev-kunnr IMPORTING OUTPUT = kuwev-kunnr.

OID_GET_HANDLE_OID_SD_SSCFLOW CALL FUNCTION 'OID_GET_HANDLE_OID_SD_SSCFLOW' IMPORTING HANDLE = L_OID_SD_SSCFLOW ACTIVE = L_ACTIVE.

OID_GET_HANDLE_OID_SD_SSCFLOW CALL FUNCTION 'OID_GET_HANDLE_OID_SD_SSCFLOW' IMPORTING HANDLE = L_OID_SD_SALES_SSCFLOW ACTIVE = L_ACTIVE.



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