DET_GROUPS_AND_INCOMP SAP Method Determine Groups and Incompatibility









Below is documentation, parameters and attributes of ABAP Method DET_GROUPS_AND_INCOMP 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 DET_GROUPS_AND_INCOMP can also be found below:

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


Parameters of Method DET_GROUPS_AND_INCOMP

.

NameTypeData TypeDescriptionDefault Value
IT_ITEM_DEMAND_MAPImportingTYPE
TY_T_ITEM_DEMAND_MAP
IT_MAT_IDSImportingTYPE
/SCMB/IF_PB_DATA=>TY_T_MAT_IDS
IT_MAT_RELATIONSHIP_CONS_SEQImportingTYPE
/SCMB/IF_PB_DATA=>TY_T_MAT_RELATIONSHIP_CONS_SEQ
Material Consolidation Sequence
IT_MAT_RELATIONSHIP_PROFILEImportingTYPE
/SCMB/IF_PB_DATA=>TY_T_MAT_RELATIONSHIP_PROFILE
Material Relationship Profiles
IV_TOP_REF_PRODUCT_IDImportingTYPE
/SCMB/MDL_MATNR
Material/Product Indicator (External/Readable Key)
ET_DEMAND_GROUPINGExportingTYPE
/SCMB/T_PBO_ET_DEMAND_GROUPING
Package Builder Optimizer Demand Grouping
ET_DEM_STKFACT_GRPExportingTYPE
/SCMB/T_PBO_ET_DEM_STKFACT_GRP
Package Builder Optimizer Demand Stacking Factor Groups
ET_GROUPExportingTYPE
/SCMB/T_PBO_ET_GROUP
Package Builder Optimizer Group
ET_GROUP_CONS_SEQExportingTYPE
/SCMB/T_PBO_ET_GROUP_CONS_SEQ
Package Builder Optimizer Grouping Sequence
ET_GROUP_HIERARCHYExportingTYPE
/SCMB/T_PBO_ET_GROUP_HIERARCHY
Package Builder Optimizer Group Hierarchy
ET_INCExportingTYPE
/SCMB/T_PBO_ET_INC
ET_INC_SIGExportingTYPE
/SCMB/T_PBO_ET_INC_SIG
ET_OBJ_CHARExportingTYPE
/SCMB/T_PBO_ET_OBJ_CHAR
ET_STACKING_FACTOR_GROUPExportingTYPE
/SCMB/T_PBO_ET_STACKING_FACTOR
ET_STACKING_MATRIX_GROUPExportingTYPE
/SCMB/IF_PB_PBO=>TY_T_STACKING_MATRIX_GROUP
ET_INCExportingTYPE
/SCMB/T_PBO_ET_INC
Package Builder Optimizer Incompatibility Table
ET_OBJ_CHARExportingTYPE
/SCMB/T_PBO_ET_OBJ_CHAR
Package Builder Optimizer Object Characteristics Table
CO_PB_DATAChangingTYPE REF TO
/SCMB/IF_PB_DATA



Exceptions of Method DET_GROUPS_AND_INCOMP

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_PB_PBO.
DATA: lv_CO_PB_DATA TYPE /SCMB/IF_PB_DATA,
lv_ET_DEMAND_GROUPING TYPE /SCMB/T_PBO_ET_DEMAND_GROUPING,
lv_ET_DEM_STKFACT_GRP TYPE /SCMB/T_PBO_ET_DEM_STKFACT_GRP,
lv_ET_GROUP TYPE /SCMB/T_PBO_ET_GROUP,
lv_ET_GROUP_CONS_SEQ TYPE /SCMB/T_PBO_ET_GROUP_CONS_SEQ,
lv_ET_GROUP_HIERARCHY TYPE /SCMB/T_PBO_ET_GROUP_HIERARCHY,
lv_ET_INC TYPE /SCMB/T_PBO_ET_INC,
lv_ET_INC_SIG TYPE /SCMB/T_PBO_ET_INC_SIG,
lv_ET_OBJ_CHAR TYPE /SCMB/T_PBO_ET_OBJ_CHAR,
lv_ET_STACKING_FACTOR_GROUP TYPE /SCMB/T_PBO_ET_STACKING_FACTOR,
lv_ET_STACKING_MATRIX_GROUP TYPE /SCMB/IF_PB_PBO=>TY_T_STACKING_MATRIX_GROUP,
lv_IT_ITEM_DEMAND_MAP TYPE TY_T_ITEM_DEMAND_MAP,
lv_IT_MAT_IDS TYPE /SCMB/IF_PB_DATA=>TY_T_MAT_IDS,
lv_IT_MAT_RELATIONSHIP_CONS_SEQ TYPE /SCMB/IF_PB_DATA=>TY_T_MAT_RELATIONSHIP_CONS_SEQ,
lv_IT_MAT_RELATIONSHIP_PROFILE TYPE /SCMB/IF_PB_DATA=>TY_T_MAT_RELATIONSHIP_PROFILE,
lv_IV_TOP_REF_PRODUCT_ID TYPE /SCMB/MDL_MATNR,
lv_ET_INC TYPE /SCMB/T_PBO_ET_INC,
lv_ET_OBJ_CHAR TYPE /SCMB/T_PBO_ET_OBJ_CHAR,
lv_other TYPE c.

CALL METHOD lo_class=>DET_GROUPS_AND_INCOMP(
EXPORTING
IT_ITEM_DEMAND_MAP = lv_IT_ITEM_DEMAND_MAP
IT_MAT_IDS = lv_IT_MAT_IDS
IT_MAT_RELATIONSHIP_CONS_SEQ = lv_IT_MAT_RELATIONSHIP_CONS_SEQ
IT_MAT_RELATIONSHIP_PROFILE = lv_IT_MAT_RELATIONSHIP_PROFILE
IV_TOP_REF_PRODUCT_ID = lv_IV_TOP_REF_PRODUCT_ID
IMPORTING
ET_DEMAND_GROUPING = lv_ET_DEMAND_GROUPING
ET_DEM_STKFACT_GRP = lv_ET_DEM_STKFACT_GRP
ET_GROUP = lv_ET_GROUP
ET_GROUP_CONS_SEQ = lv_ET_GROUP_CONS_SEQ
ET_GROUP_HIERARCHY = lv_ET_GROUP_HIERARCHY
ET_INC = lv_ET_INC
ET_INC_SIG = lv_ET_INC_SIG
ET_OBJ_CHAR = lv_ET_OBJ_CHAR
ET_STACKING_FACTOR_GROUP = lv_ET_STACKING_FACTOR_GROUP
ET_STACKING_MATRIX_GROUP = lv_ET_STACKING_MATRIX_GROUP
ET_INC = lv_ET_INC
ET_OBJ_CHAR = lv_ET_OBJ_CHAR
CHANGING
CO_PB_DATA = lv_CO_PB_DATA ).

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!