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

FV45PFOI_320_PROCESS_TDP_MAT SAP ABAP INCLUDE - determine goods issue doc. no. of the delivery note item







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


INCLUDES used within this REPORT FV45PFOI_320_PROCESS_TDP_MAT

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:

OIH_CHECK_CC_SALES CALL FUNCTION 'OIH_CHECK_CC_SALES' EXPORTING I_VBAK = vbak I_VBAP = vbap CHANGING CC_SALES = lf_cc_sales CC_NOTIONAL_PLANT = vbap-oihnotwerks CC_NOTIONAL_lgort = vbap-oihnotlgort.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' "nv 1138974 EXPORTING "nv 1138974 MATNR = vbap-matnr "nv 1138974 WERKS = vbap-werks "nv 1138974 IMPORTING "nv 1138974 WMARC = oimarc "nv 1138974 EXCEPTIONS "nv 1138974 OTHERS = 5. "nv 1138974

OIH_DETERMINE_BOM_USAGE CALL FUNCTION 'OIH_DETERMINE_BOM_USAGE' EXPORTING i_stlan = vbap-stkey IMPORTING e_bom_type_is_sd = l_bom_type_is_sd.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-oihnotwerks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'OB' i_dtype = 'W' i_msgnr = '170' i_var01 = '' i_var02 = '' i_var03 = '' i_var04 = ''.

OIH_VAL_DEF_HANTYP CALL FUNCTION 'OIH_VAL_DEF_HANTYP' EXPORTING i_struct = in i_act_type = t180-trtyp " Optional parameter SO7K002718 M IMPORTING e_struct = out TABLES xvbpa = xvbpa EXCEPTIONS error = 1 import_incomplete = 2 OTHERS = 3.

T001K_SINGLE_READ CALL FUNCTION 'T001K_SINGLE_READ' EXPORTING BWKEY = vbap-oihnotwerks IMPORTING WT001K = oih_T001K EXCEPTIONS NOT_FOUND = 1.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' T001W_WERKS = VBAP-oihnotWERKS IMPORTING WT001W = OIH_T001w EXCEPTIONS NOT_FOUNd = 1.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-oihnotwerks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

OIH_DETERMINE_BOM_USAGE CALL FUNCTION 'OIH_DETERMINE_BOM_USAGE' EXPORTING i_stlan = vbap-stkey IMPORTING e_bom_type_is_sd = l_bom_type_is_sd.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-werks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' T001W_WERKS = VBAP-WERKS IMPORTING WT001W = OIH_T001w EXCEPTIONS NOT_FOUNd = 1.

OIH_VAL_DEF_HANTYP CALL FUNCTION 'OIH_VAL_DEF_HANTYP' EXPORTING I_STRUCT = IN i_act_type = t180-trtyp is_vbak = vbak is_vbap = vbap IMPORTING E_STRUCT = OUT TABLES XVBPA = XVBPA it_vbap = lt_vbap[] EXCEPTIONS ERROR = 1 IMPORT_INCOMPLETE = 2 OTHERS = 3.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'W' I_MSGNR = '170' I_VAR01 = '' I_VAR02 = '' I_VAR03 = '' I_VAR04 = ''.

T001K_SINGLE_READ CALL FUNCTION 'T001K_SINGLE_READ' EXPORTING BWKEY = vbap-oihnotwerks IMPORTING WT001K = oih_T001K EXCEPTIONS NOT_FOUND = 1.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-oihnotwerks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

OIH_DETERMINE_BOM_USAGE CALL FUNCTION 'OIH_DETERMINE_BOM_USAGE' EXPORTING i_stlan = vbap-stkey IMPORTING e_bom_type_is_sd = l_bom_type_is_sd.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-werks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

OIH_VAL_DEF_HANTYP





CALL FUNCTION 'OIH_VAL_DEF_HANTYP' EXPORTING I_STRUCT = IN i_act_type = t180-trtyp " Optional parameter SO7K002718 M is_vbak = vbak is_vbap = vbap IMPORTING E_STRUCT = OUT TABLES XVBPA = XVBPA it_vbap = lt_vbap[] EXCEPTIONS ERROR = 1 IMPORT_INCOMPLETE = 2 OTHERS = 3.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' "Delivery plant EXPORTING T001W_WERKS = P_VBAP_WERKS IMPORTING WT001W = P_OIH_T001w_dp EXCEPTIONS NOT_FOUNd = 1.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' "Notional plant EXPORTING T001W_WERKS = P_VBAP_OIHNOTWERKS IMPORTING WT001W = P_OIH_T001w EXCEPTIONS NOT_FOUNd = 1.

SD_KNVP_READ CALL FUNCTION 'SD_KNVP_READ' EXPORTING FIF_VKORG = P_OIH_T001w_dp-vkorg"P_OIH_T001w-vkorg FIF_VTWEG = P_OIH_T001w_dp-vtweg"P_OIH_T001w-vtweg FIF_SPART = P_OIH_T001w_dp-spart"P_OIH_T001w-spart FIF_KUNNR = P_VBAP_OIHTAXRCP "Entered taxrecp.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' "Delivery plant EXPORTING T001W_WERKS = P_VBAP_WERKS IMPORTING WT001W = P_OIH_T001w_dp EXCEPTIONS NOT_FOUNd = 1.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' "Notional plant EXPORTING * KZRFB = ' ' T001W_WERKS = P_VBAP_OIHNOTWERKS IMPORTING WT001W = P_OIH_T001w EXCEPTIONS NOT_FOUNd = 1.

SD_KNVP_READ CALL FUNCTION 'SD_KNVP_READ' EXPORTING FIF_VKORG = P_OIH_T001w_dp-vkorg"P_OIH_T001w-vkorg FIF_VTWEG = P_OIH_T001w_dp-vtweg"P_OIH_T001w-vtweg FIF_SPART = P_OIH_T001w_dp-spart"P_OIH_T001w-spart FIF_KUNNR = P_OIH_T001w-kunnr "Notional plant FIF_FILTER_PARVW = 'OI' IMPORTING FES_KNVP = oih_knvps TABLES FET_KNVP = oih_knvpt EXCEPTIONS PARAMETER_INCOMPLETE = 1 NO_RECORD_FOUND = 2 OTHERS = 3.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'OB' I_DTYPE = 'W' I_MSGNR = '170' I_VAR01 = '' I_VAR02 = '' I_VAR03 = '' I_VAR04 = ''.

T001K_SINGLE_READ CALL FUNCTION 'T001K_SINGLE_READ' EXPORTING BWKEY = vbap-werks IMPORTING WT001K = oih_T001K EXCEPTIONS NOT_FOUND = 1.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING MATNR = vbap-matnr WERKS = vbap-werks IMPORTING WMARC = oimarc EXCEPTIONS OTHERS = 5.

OIH_VAL_DEF_HANTYP CALL FUNCTION 'OIH_VAL_DEF_HANTYP' EXPORTING I_STRUCT = IN i_act_type = t180-trtyp is_vbak = vbak is_vbap = vbap IMPORTING E_STRUCT = OUT TABLES XVBPA = XVBPA it_vbap = lt_vbap[] EXCEPTIONS ERROR = 1 IMPORT_INCOMPLETE = 2 OTHERS = 3.

T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' T001W_WERKS = P_WERKS IMPORTING WT001W = P_OIH_T001w_DP EXCEPTIONS NOT_FOUNd = 1.



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