COMPARE_LAYERS SAP Method Compare Layers









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

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


Parameters of Method COMPARE_LAYERS

.

NameTypeData TypeDescriptionDefault Value
IT_LAYERS_NEWImportingTYPE
/SCMB/IF_PB=>TY_T_ITEM_LAYERS
CT_ITEM_GROUPSChangingTYPE
/SCMB/CL_PB=>TY_T_ITEM_GROUP
CT_LAYERSChangingTYPE
/SCMB/CL_PB=>TY_T_LAYER_INTERNAL
CV_MAX_LAYER_IDChangingTYPE
/SCMB/IF_PB=>TY_LAYER_ID
CV_MIN_LAYER_HEIGHTChangingTYPE
/SCMB/IF_PB=>TY_DIMENSION



Exceptions of Method COMPARE_LAYERS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_PB_ENHANCE.
DATA: lv_CT_ITEM_GROUPS TYPE /SCMB/CL_PB=>TY_T_ITEM_GROUP,
lv_CT_LAYERS TYPE /SCMB/CL_PB=>TY_T_LAYER_INTERNAL,
lv_CV_MAX_LAYER_ID TYPE /SCMB/IF_PB=>TY_LAYER_ID,
lv_CV_MIN_LAYER_HEIGHT TYPE /SCMB/IF_PB=>TY_DIMENSION,
lv_IT_LAYERS_NEW TYPE /SCMB/IF_PB=>TY_T_ITEM_LAYERS,
lv_other TYPE c.

CALL METHOD lo_class=>COMPARE_LAYERS(
EXPORTING
IT_LAYERS_NEW = lv_IT_LAYERS_NEW
CHANGING
CT_ITEM_GROUPS = lv_CT_ITEM_GROUPS
CT_LAYERS = lv_CT_LAYERS
CV_MAX_LAYER_ID = lv_CV_MAX_LAYER_ID
CV_MIN_LAYER_HEIGHT = lv_CV_MIN_LAYER_HEIGHT ).

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!