ADJUST_QUANTITY SAP Method Adjust Qunatities (Requirements)









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

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


Parameters of Method ADJUST_QUANTITY

.

NameTypeData TypeDescriptionDefault Value
IS_ITEMImportingTYPE
/SCMTMS/S_TOR_ITEM_TR_K
Transient node for items
IT_CMP_TYPE_CAPSTEPImportingTYPE
/SAPAPO/T_CTSTEP
Compartment Item Capacity Level
ET_PAYLOAD_CORRExportingTYPE
/SCMTMS/T_PLN_DIMENSION
Payload corretion for parent item
CT_ITEMChangingTYPE
/SCMTMS/T_TOR_ITEM_TR_K
Items -> required to adapt parent quantity of comp
CT_QUANTITYChangingTYPE
/SCMTMS/T_PLN_DIMENSION
Dimensions for Capa Check



Exceptions of Method ADJUST_QUANTITY

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_ITEM TYPE /SCMTMS/T_TOR_ITEM_TR_K,
lv_CT_QUANTITY TYPE /SCMTMS/T_PLN_DIMENSION,
lv_ET_PAYLOAD_CORR TYPE /SCMTMS/T_PLN_DIMENSION,
lv_IS_ITEM TYPE /SCMTMS/S_TOR_ITEM_TR_K,
lv_IT_CMP_TYPE_CAPSTEP TYPE /SAPAPO/T_CTSTEP,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_CAPA_CHECK_TOOLS=>ADJUST_QUANTITY(
EXPORTING
IS_ITEM = lv_IS_ITEM
IT_CMP_TYPE_CAPSTEP = lv_IT_CMP_TYPE_CAPSTEP
IMPORTING
ET_PAYLOAD_CORR = lv_ET_PAYLOAD_CORR
CHANGING
CT_ITEM = lv_CT_ITEM
CT_QUANTITY = lv_CT_QUANTITY ).

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!