CONFIG_CHECK_QUANTITY SAP Method Performs the quantity check









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

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


Parameters of Method CONFIG_CHECK_QUANTITY

.

NameTypeData TypeDescriptionDefault Value
IR_BADI_CCM_INTERNALImportingTYPE REF TO
IF_EX_BADI_CCM_INTERNAL
IT_ACTUAL_GROUPImportingTYPE
TT_CCM_ACTUAL_GROUP
Equis grouped by parent equi FID
IT_ALLOWED_GROUPImportingTYPE
TT_CCM_ALLOWED_GROUP
MPL nodes grouped by parent MPL node FID
IV_FUNCIDImportingTYPE
CCM_FUNCID
FID (Function Identifier)
IV_PART_VALIDITY_ERRORImportingTYPE
XFELD
Indicates if check on validity part failed or not
ET_MESSAGEExportingTYPE
BAL_T_MSG
Application Log: Table with Messages



Exceptions of Method CONFIG_CHECK_QUANTITY

ET_MESSAGEExportingTYPE
BAL_T_MSGApplication Log: Table with MessagesQTY_CHECK_NOT_PERFORMED - Quantity check has not been performed

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_CCM_QTY_CHECK.
DATA: lv_ET_MESSAGE TYPE BAL_T_MSG,
lv_IR_BADI_CCM_INTERNAL TYPE IF_EX_BADI_CCM_INTERNAL,
lv_IT_ACTUAL_GROUP TYPE TT_CCM_ACTUAL_GROUP,
lv_IT_ALLOWED_GROUP TYPE TT_CCM_ALLOWED_GROUP,
lv_IV_FUNCID TYPE CCM_FUNCID,
lv_IV_PART_VALIDITY_ERROR TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>CONFIG_CHECK_QUANTITY(
EXPORTING
IR_BADI_CCM_INTERNAL = lv_IR_BADI_CCM_INTERNAL
IT_ACTUAL_GROUP = lv_IT_ACTUAL_GROUP
IT_ALLOWED_GROUP = lv_IT_ALLOWED_GROUP
IV_FUNCID = lv_IV_FUNCID
IV_PART_VALIDITY_ERROR = lv_IV_PART_VALIDITY_ERROR
IMPORTING
ET_MESSAGE = lv_ET_MESSAGE ).

Links to Related Class(s)

IF_EX_BA...
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!