DETERMINE_FOOTPRINT SAP Method Determine Footprint









Below is documentation, parameters and attributes of ABAP Method DETERMINE_FOOTPRINT within SAP class /SCMB/IF_PB_FOOTPRINT_DET. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/IF_PB_FOOTPRINT_DET into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method DETERMINE_FOOTPRINT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method DETERMINE_FOOTPRINT

.

NameTypeData TypeDescriptionDefault Value
IS_ITEM_INPUTImportingTYPE
TY_S_ITEM_INPUT
Item per SPBU Input
IS_SPBU_INPUTImportingTYPE
TY_S_SPBU_INPUT
Seperate BP Units Input
IT_MATERIALS_EXCLUDEImportingTYPE
/SAPAPO/MATNR_TAB
Materials to be excluded from Input list
IT_MATERIALS_INPUTImportingTYPE
TY_T_MATERIAL_INPUT
Materials Distribution Input
IV_CALC_RUNSImportingTYPE
TY_CALC_RUNS
No of calculation runs
IV_DET_MAT_LEVELImportingTYPE
/SCMB/PB_FOOTPRINT_DET_MAT_LVL
Normalized Quantities Determination Level
IV_PB_PROFILEImportingTYPE
/SCMB/PB_PROFILE_ID
Package Building Profile
IV_TRGT_FOOTPRT_UOMImportingTYPE
/SCMB/PB_FOOTPRINT_UOM
Target UoM of Normalized Load Consumption Quantity
IV_UPDATE_MODEImportingTYPE
/SCMB/PB_FOOTPRINT_UPD_MODE
Update Mode
IV_CALC_RUNSImportingTYPE
TY_CALC_RUNS
IV_PB_PROFILEImportingTYPE
/SCMB/PB_PROFILE_ID
IV_UPDATE_MODEImportingTYPE
/SCMB/PB_FOOTPRINT_UPD_MODE
ET_FOOTPRINTSExportingTYPE
/SCMB/IF_PB_FOOTPRINT_DEF=>TY_T_FOOTPRINTS
Footprints
ET_MESSAGESExportingTYPE
BAPIRET2_TAB
Error Messages
ET_MESSAGESExportingTYPE
BAPIRET2_TAB



Exceptions of Method DETERMINE_FOOTPRINT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_PB_FOOTPRINT_DET.
DATA: lv_ET_FOOTPRINTS TYPE /SCMB/IF_PB_FOOTPRINT_DEF=>TY_T_FOOTPRINTS,
lv_ET_MESSAGES TYPE BAPIRET2_TAB,
lv_IS_ITEM_INPUT TYPE TY_S_ITEM_INPUT,
lv_IS_SPBU_INPUT TYPE TY_S_SPBU_INPUT,
lv_IT_MATERIALS_EXCLUDE TYPE /SAPAPO/MATNR_TAB,
lv_IT_MATERIALS_INPUT TYPE TY_T_MATERIAL_INPUT,
lv_IV_CALC_RUNS TYPE TY_CALC_RUNS,
lv_IV_DET_MAT_LEVEL TYPE /SCMB/PB_FOOTPRINT_DET_MAT_LVL,
lv_IV_PB_PROFILE TYPE /SCMB/PB_PROFILE_ID,
lv_IV_TRGT_FOOTPRT_UOM TYPE /SCMB/PB_FOOTPRINT_UOM,
lv_IV_UPDATE_MODE TYPE /SCMB/PB_FOOTPRINT_UPD_MODE,
lv_ET_MESSAGES TYPE BAPIRET2_TAB,
lv_IV_CALC_RUNS TYPE TY_CALC_RUNS,
lv_IV_PB_PROFILE TYPE /SCMB/PB_PROFILE_ID,
lv_IV_UPDATE_MODE TYPE /SCMB/PB_FOOTPRINT_UPD_MODE,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE_FOOTPRINT(
EXPORTING
IS_ITEM_INPUT = lv_IS_ITEM_INPUT
IS_SPBU_INPUT = lv_IS_SPBU_INPUT
IT_MATERIALS_EXCLUDE = lv_IT_MATERIALS_EXCLUDE
IT_MATERIALS_INPUT = lv_IT_MATERIALS_INPUT
IV_CALC_RUNS = lv_IV_CALC_RUNS
IV_DET_MAT_LEVEL = lv_IV_DET_MAT_LEVEL
IV_PB_PROFILE = lv_IV_PB_PROFILE
IV_TRGT_FOOTPRT_UOM = lv_IV_TRGT_FOOTPRT_UOM
IV_UPDATE_MODE = lv_IV_UPDATE_MODE
IV_CALC_RUNS = lv_IV_CALC_RUNS
IV_PB_PROFILE = lv_IV_PB_PROFILE
IV_UPDATE_MODE = lv_IV_UPDATE_MODE
IMPORTING
ET_FOOTPRINTS = lv_ET_FOOTPRINTS
ET_MESSAGES = lv_ET_MESSAGES
ET_MESSAGES = lv_ET_MESSAGES ).

Links to Related Class(s)

/SCMB/IF...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!