CHECK_ITEM_QTY_CONSISTENCY SAP Method Check consistency of item quantities









Below is documentation, parameters and attributes of ABAP Method CHECK_ITEM_QTY_CONSISTENCY within SAP class /SCMTMS/CL_COMMON_BO_HELPER. 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 /SCMTMS/CL_COMMON_BO_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_ITEM_QTY_CONSISTENCY can also be found below:

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


Parameters of Method CHECK_ITEM_QTY_CONSISTENCY

.

NameTypeData TypeDescriptionDefault Value
IV_BOPF_LOCATION_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_ITEM_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_ITEM_QTY_DIMImportingTYPE
/SCMTMS/DIMID
Dimension
IV_ITEM_QTY_UOMImportingTYPE
/SCMTMS/MEASUREUNIT
Unit of Measure
IV_ITEM_QTY_VALUEImportingTYPE
/SCMTMS/QUANTITY
Quantity
IV_MSG_ATTR_QTY_UOMImportingTYPE
STRING
IV_MSG_ATTR_QTY_VALUEImportingTYPE
STRING
IV_MSG_TYPEImportingTYPE
SYMSGTY
Message Type
IV_MSG_VAR_QTYImportingTYPE
SYMSGV
Message Variable
IV_MSG_VAR_TRQ_ITEM_IDImportingTYPE
SYMSGV
Message Variable
IV_NEGATIVE_VALUE_ALLOWEDImportingTYPE
ABAP_BOOL
Negative Value Allowed
IV_NO_FAILKEYImportingTYPE
ABAP_BOOL
IV_ZERO_QUANTITY_ALLOWEDImportingTYPE
ABAP_BOOL
Zero Quantity Allowed
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
CV_FAILED_KEYChangingTYPE
/BOBF/CONF_KEY
NodeID



Exceptions of Method CHECK_ITEM_QTY_CONSISTENCY

This method does not have any exceptions

Example ABAP coding


DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CV_FAILED_KEY TYPE /BOBF/CONF_KEY,
lv_IV_BOPF_LOCATION_KEY TYPE /BOBF/CONF_KEY,
lv_IV_ITEM_KEY TYPE /BOBF/CONF_KEY,
lv_IV_ITEM_QTY_DIM TYPE /SCMTMS/DIMID,
lv_IV_ITEM_QTY_UOM TYPE /SCMTMS/MEASUREUNIT,
lv_IV_ITEM_QTY_VALUE TYPE /SCMTMS/QUANTITY,
lv_IV_MSG_ATTR_QTY_UOM TYPE STRING,
lv_IV_MSG_ATTR_QTY_VALUE TYPE STRING,
lv_IV_MSG_TYPE TYPE SYMSGTY,
lv_IV_MSG_VAR_QTY TYPE SYMSGV,
lv_IV_MSG_VAR_TRQ_ITEM_ID TYPE SYMSGV,
lv_IV_NEGATIVE_VALUE_ALLOWED TYPE ABAP_BOOL,
lv_IV_NO_FAILKEY TYPE ABAP_BOOL,
lv_IV_ZERO_QUANTITY_ALLOWED TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_BO_HELPER=>CHECK_ITEM_QTY_CONSISTENCY(
EXPORTING
IV_BOPF_LOCATION_KEY = lv_IV_BOPF_LOCATION_KEY
IV_ITEM_KEY = lv_IV_ITEM_KEY
IV_ITEM_QTY_DIM = lv_IV_ITEM_QTY_DIM
IV_ITEM_QTY_UOM = lv_IV_ITEM_QTY_UOM
IV_ITEM_QTY_VALUE = lv_IV_ITEM_QTY_VALUE
IV_MSG_ATTR_QTY_UOM = lv_IV_MSG_ATTR_QTY_UOM
IV_MSG_ATTR_QTY_VALUE = lv_IV_MSG_ATTR_QTY_VALUE
IV_MSG_TYPE = lv_IV_MSG_TYPE
IV_MSG_VAR_QTY = lv_IV_MSG_VAR_QTY
IV_MSG_VAR_TRQ_ITEM_ID = lv_IV_MSG_VAR_TRQ_ITEM_ID
IV_NEGATIVE_VALUE_ALLOWED = lv_IV_NEGATIVE_VALUE_ALLOWED
IV_NO_FAILKEY = lv_IV_NO_FAILKEY
IV_ZERO_QUANTITY_ALLOWED = lv_IV_ZERO_QUANTITY_ALLOWED
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CV_FAILED_KEY = lv_CV_FAILED_KEY ).

Links to Related Class(s)

/SCMTMS/...
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!