CHECK_MAT_REL_SETTINGS SAP Method Check Product Relationship Settings









Below is documentation, parameters and attributes of ABAP Method CHECK_MAT_REL_SETTINGS within SAP class /SCMB/CL_PB_DEFINITION_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_DEFINITION_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method CHECK_MAT_REL_SETTINGS can also be found below:

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


Parameters of Method CHECK_MAT_REL_SETTINGS

.

NameTypeData TypeDescriptionDefault Value
IT_MAT_MISSINGImportingTYPE
/SCMB/MDL_PRODID_KEY_TAB
Table with keys for which no objects exist
IT_MAT_REL_CONSImportingTYPE
/SCMB/T_MAT_PKG_RC
Product Relationship Profile for Stacking
IT_MAT_REL_STACKImportingTYPE
/SCMB/T_MAT_PKG_RS
Product Relationship Profile for Stacking
ET_MAT_REL_CONS_VALIDExportingTYPE
/SCMB/T_MAT_PKG_RC
Product Relationship Profile for Consolidation
ET_MAT_REL_STACK_VALIDExportingTYPE
/SCMB/T_MAT_PKG_RS
Table with keys for which no objects exist
CT_MESSAGESChangingTYPE
BAPIRET2_TAB
Error Messages



Exceptions of Method CHECK_MAT_REL_SETTINGS

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_CT_MESSAGES TYPE BAPIRET2_TAB,
lv_ET_MAT_REL_CONS_VALID TYPE /SCMB/T_MAT_PKG_RC,
lv_ET_MAT_REL_STACK_VALID TYPE /SCMB/T_MAT_PKG_RS,
lv_IT_MAT_MISSING TYPE /SCMB/MDL_PRODID_KEY_TAB,
lv_IT_MAT_REL_CONS TYPE /SCMB/T_MAT_PKG_RC,
lv_IT_MAT_REL_STACK TYPE /SCMB/T_MAT_PKG_RS,
lv_other TYPE c.

CALL METHOD /SCMB/CL_PB_DEFINITION_HELPER=>CHECK_MAT_REL_SETTINGS(
EXPORTING
IT_MAT_MISSING = lv_IT_MAT_MISSING
IT_MAT_REL_CONS = lv_IT_MAT_REL_CONS
IT_MAT_REL_STACK = lv_IT_MAT_REL_STACK
IMPORTING
ET_MAT_REL_CONS_VALID = lv_ET_MAT_REL_CONS_VALID
ET_MAT_REL_STACK_VALID = lv_ET_MAT_REL_STACK_VALID
CHANGING
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



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!