CREATE_FULL_LAYERS SAP Method Determine Layers for Items









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

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


Parameters of Method CREATE_FULL_LAYERS

.

NameTypeData TypeDescriptionDefault Value
ET_ITEM_HEIGHT_MULTIExportingTYPE
TY_T_HEIGHT
Height table
EV_CONSOLIDATION_ITEM_COUNTExportingTYPE
INT4
Natural number
EV_MAX_LAYER_IDExportingTYPE
/SCMB/IF_PB=>TY_LAYER_ID
Layer Identifier
EV_MIN_LAYER_HEIGHTExportingTYPE
/SCMB/IF_PB=>TY_DIMENSION
Dimension
EV_CONSOLIDATION_ITEM_COUNTExportingTYPE
INT4
Number of unlayered items
CRS_PKG_ATTRIBUTESChangingTYPE REF TO
/SCMB/IF_PB_DATA=>TY_S_PACKAGE_ATTRIBUTES
CT_ITEM_GROUPSChangingTYPE
TY_T_ITEM_GROUP
Item Groups
CT_LAYERSChangingTYPE
TY_T_LAYER_INTERNAL
Layers in internal format



Exceptions of Method CREATE_FULL_LAYERS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_PB.
DATA: lv_CRS_PKG_ATTRIBUTES TYPE /SCMB/IF_PB_DATA=>TY_S_PACKAGE_ATTRIBUTES,
lv_CT_ITEM_GROUPS TYPE TY_T_ITEM_GROUP,
lv_CT_LAYERS TYPE TY_T_LAYER_INTERNAL,
lv_ET_ITEM_HEIGHT_MULTI TYPE TY_T_HEIGHT,
lv_EV_CONSOLIDATION_ITEM_COUNT TYPE INT4,
lv_EV_MAX_LAYER_ID TYPE /SCMB/IF_PB=>TY_LAYER_ID,
lv_EV_MIN_LAYER_HEIGHT TYPE /SCMB/IF_PB=>TY_DIMENSION,
lv_EV_CONSOLIDATION_ITEM_COUNT TYPE INT4,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE_FULL_LAYERS(
IMPORTING
ET_ITEM_HEIGHT_MULTI = lv_ET_ITEM_HEIGHT_MULTI
EV_CONSOLIDATION_ITEM_COUNT = lv_EV_CONSOLIDATION_ITEM_COUNT
EV_MAX_LAYER_ID = lv_EV_MAX_LAYER_ID
EV_MIN_LAYER_HEIGHT = lv_EV_MIN_LAYER_HEIGHT
EV_CONSOLIDATION_ITEM_COUNT = lv_EV_CONSOLIDATION_ITEM_COUNT
CHANGING
CRS_PKG_ATTRIBUTES = lv_CRS_PKG_ATTRIBUTES
CT_ITEM_GROUPS = lv_CT_ITEM_GROUPS
CT_LAYERS = lv_CT_LAYERS ).

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!