CHECK_ASSIGNMENTS SAP Method Check Assignment









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

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


Parameters of Method CHECK_ASSIGNMENTS

.

NameTypeData TypeDescriptionDefault Value
IT_BPL_PKG_ASImportingTYPE
TY_T_BPL_PKG_AS
Package Builder: Package Type Assignment on BP/Loc Level
IT_BP_PKG_ASImportingTYPE
TY_T_BP_PKG_AS
IT_BUPA_KEYS_EXISTImportingTYPE
TY_T_BUPA_KEYS
IT_EQUI_EXISTImportingTYPE
TY_T_EQUI
IT_EQUI_GROUPS_EXISTImportingTYPE
TY_T_EQUI_GROUPS
IT_LOC_EXISTSImportingTYPE
/SAPAPO/LOC_TAB
Table of Locations
IT_MAT_MISSINGImportingTYPE
/SCMB/MDL_PRODID_KEY_TAB
Table with keys for which no objects exist
IT_PKG_HEIGHT_UOM_VALIDImportingTYPE
TY_T_UOM
IT_PKG_WEIGHT_UOM_VALIDImportingTYPE
TY_T_UOM
IT_PRD_PKG_ASImportingTYPE
/SCMB/T_PRD_PKG_AS
Package Builder: Product - Package Type Assignment
IT_UOM_VALIDImportingTYPE
TY_T_UOM
ET_BPL_PKG_AS_VALIDExportingTYPE
TY_T_BPL_PKG_AS
ET_BP_PKG_AS_VALIDExportingTYPE
TY_T_BP_PKG_AS
ET_PRD_PKG_AS_VALIDExportingTYPE
/SCMB/T_PRD_PKG_AS
Package Builder: Table Type for Package Type Assignment
CT_MESSAGESChangingTYPE
BAPIRET2_TAB
Error Messages



Exceptions of Method CHECK_ASSIGNMENTS

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_BPL_PKG_AS_VALID TYPE TY_T_BPL_PKG_AS,
lv_ET_BP_PKG_AS_VALID TYPE TY_T_BP_PKG_AS,
lv_ET_PRD_PKG_AS_VALID TYPE /SCMB/T_PRD_PKG_AS,
lv_IT_BPL_PKG_AS TYPE TY_T_BPL_PKG_AS,
lv_IT_BP_PKG_AS TYPE TY_T_BP_PKG_AS,
lv_IT_BUPA_KEYS_EXIST TYPE TY_T_BUPA_KEYS,
lv_IT_EQUI_EXIST TYPE TY_T_EQUI,
lv_IT_EQUI_GROUPS_EXIST TYPE TY_T_EQUI_GROUPS,
lv_IT_LOC_EXISTS TYPE /SAPAPO/LOC_TAB,
lv_IT_MAT_MISSING TYPE /SCMB/MDL_PRODID_KEY_TAB,
lv_IT_PKG_HEIGHT_UOM_VALID TYPE TY_T_UOM,
lv_IT_PKG_WEIGHT_UOM_VALID TYPE TY_T_UOM,
lv_IT_PRD_PKG_AS TYPE /SCMB/T_PRD_PKG_AS,
lv_IT_UOM_VALID TYPE TY_T_UOM,
lv_other TYPE c.

CALL METHOD /SCMB/CL_PB_DEFINITION_HELPER=>CHECK_ASSIGNMENTS(
EXPORTING
IT_BPL_PKG_AS = lv_IT_BPL_PKG_AS
IT_BP_PKG_AS = lv_IT_BP_PKG_AS
IT_BUPA_KEYS_EXIST = lv_IT_BUPA_KEYS_EXIST
IT_EQUI_EXIST = lv_IT_EQUI_EXIST
IT_EQUI_GROUPS_EXIST = lv_IT_EQUI_GROUPS_EXIST
IT_LOC_EXISTS = lv_IT_LOC_EXISTS
IT_MAT_MISSING = lv_IT_MAT_MISSING
IT_PKG_HEIGHT_UOM_VALID = lv_IT_PKG_HEIGHT_UOM_VALID
IT_PKG_WEIGHT_UOM_VALID = lv_IT_PKG_WEIGHT_UOM_VALID
IT_PRD_PKG_AS = lv_IT_PRD_PKG_AS
IT_UOM_VALID = lv_IT_UOM_VALID
IMPORTING
ET_BPL_PKG_AS_VALID = lv_ET_BPL_PKG_AS_VALID
ET_BP_PKG_AS_VALID = lv_ET_BP_PKG_AS_VALID
ET_PRD_PKG_AS_VALID = lv_ET_PRD_PKG_AS_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!