CALC_FOOTPRINT_ON_REF_PROD_LVL SAP Method Calculate Footprint on Reference Product (First Level Only)
Below is documentation, parameters and attributes of ABAP Method CALC_FOOTPRINT_ON_REF_PROD_LVL within SAP class /SCMB/CL_PB_FOOTPRINT_CALC. 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/CL_PB_FOOTPRINT_CALC 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 CALC_FOOTPRINT_ON_REF_PROD_LVL can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CALC_FOOTPRINT_ON_REF_PROD_LVL
.| Name | Type | Data Type | Description | Default Value |
| IT_LINK_MAT_REFMAT | Importing | TYPE TY_T_MAT_RMAT | Material and Ref.Material Link | |
| IT_MAT_NOREFMAT | Importing | TYPE /SAPAPO/MATNR_TAB | List of material numbers | |
| CT_FOOTPRINTS_QUA | Changing | TYPE /SCMB/IF_PB_FOOTPRINT_CALC=>TY_T_FOOTPRINT_QUA | Footprints per Quantity | |
| CT_MESSAGES | Changing | TYPE BAPIRET2_TAB | Error Messages |
Exceptions of Method CALC_FOOTPRINT_ON_REF_PROD_LVL
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_PB_FOOTPRINT_CALC.
DATA: lv_CT_FOOTPRINTS_QUA TYPE /SCMB/IF_PB_FOOTPRINT_CALC=>TY_T_FOOTPRINT_QUA,
lv_CT_MESSAGES TYPE BAPIRET2_TAB,
lv_IT_LINK_MAT_REFMAT TYPE TY_T_MAT_RMAT,
lv_IT_MAT_NOREFMAT TYPE /SAPAPO/MATNR_TAB,
lv_other TYPE c.
CALL METHOD lo_class=>CALC_FOOTPRINT_ON_REF_PROD_LVL(
EXPORTING
IT_LINK_MAT_REFMAT = lv_IT_LINK_MAT_REFMAT
IT_MAT_NOREFMAT = lv_IT_MAT_NOREFMAT
CHANGING
CT_FOOTPRINTS_QUA = lv_CT_FOOTPRINTS_QUA
CT_MESSAGES = lv_CT_MESSAGES ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects