GET_STK_GRP_AND_INC_FOR_PRD SAP Method Get Stacking Groups and Incompatibility for product









Below is documentation, parameters and attributes of ABAP Method GET_STK_GRP_AND_INC_FOR_PRD within SAP class /SCMB/CL_PB_PBO. 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_PBO 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 GET_STK_GRP_AND_INC_FOR_PRD can also be found below:

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


Parameters of Method GET_STK_GRP_AND_INC_FOR_PRD

.

NameTypeData TypeDescriptionDefault Value
IS_MATERIAL_HIERARCHYImportingTYPE
/SCMB/IF_PB_DATA=>TY_S_MATERIAL_HIERARCHY
IT_MATERIAL_HIERARCHYImportingTYPE
/SCMB/IF_PB_DATA=>TY_T_MATERIAL_HIERARCHY
IV_PRODUCT_IDImportingTYPE
/SCMB/MDL_MATNR
EV_INC_OBJCHAR_IDExportingTYPE
INT4
EV_STACKING_MATRIX_GROUPExportingTYPE
INT4
CT_INCChangingTYPE
/SCMB/IF_PB_PBO=>TY_T_INC
CT_PRP_ASSIGNMENTChangingTYPE
TY_T_PRP_ASSIGNMENT
CT_STACKING_MATRIX_GROUPChangingTYPE
/SCMB/IF_PB_PBO=>TY_T_STACKING_MATRIX_GROUP



Exceptions of Method GET_STK_GRP_AND_INC_FOR_PRD

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_PB_PBO.
DATA: lv_CT_INC TYPE /SCMB/IF_PB_PBO=>TY_T_INC,
lv_CT_PRP_ASSIGNMENT TYPE TY_T_PRP_ASSIGNMENT,
lv_CT_STACKING_MATRIX_GROUP TYPE /SCMB/IF_PB_PBO=>TY_T_STACKING_MATRIX_GROUP,
lv_EV_INC_OBJCHAR_ID TYPE INT4,
lv_EV_STACKING_MATRIX_GROUP TYPE INT4,
lv_IS_MATERIAL_HIERARCHY TYPE /SCMB/IF_PB_DATA=>TY_S_MATERIAL_HIERARCHY,
lv_IT_MATERIAL_HIERARCHY TYPE /SCMB/IF_PB_DATA=>TY_T_MATERIAL_HIERARCHY,
lv_IV_PRODUCT_ID TYPE /SCMB/MDL_MATNR,
lv_other TYPE c.

CALL METHOD lo_class=>GET_STK_GRP_AND_INC_FOR_PRD(
EXPORTING
IS_MATERIAL_HIERARCHY = lv_IS_MATERIAL_HIERARCHY
IT_MATERIAL_HIERARCHY = lv_IT_MATERIAL_HIERARCHY
IV_PRODUCT_ID = lv_IV_PRODUCT_ID
IMPORTING
EV_INC_OBJCHAR_ID = lv_EV_INC_OBJCHAR_ID
EV_STACKING_MATRIX_GROUP = lv_EV_STACKING_MATRIX_GROUP
CHANGING
CT_INC = lv_CT_INC
CT_PRP_ASSIGNMENT = lv_CT_PRP_ASSIGNMENT
CT_STACKING_MATRIX_GROUP = lv_CT_STACKING_MATRIX_GROUP ).

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



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!