ADJUST_CAPACITY SAP Method Adjust Capacity









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

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


Parameters of Method ADJUST_CAPACITY

.

NameTypeData TypeDescriptionDefault Value
IS_ITEMImportingTYPE
/SCMTMS/S_TOR_ITEM_TR_K
Transient node for items
IT_ITEMImportingTYPE
/SCMTMS/T_TOR_ITEM_TR_K
Transient node for items
IT_MTR_COMBImportingTYPE
/SAPAPO/T_MTRCOMB
Means-of-Transport Combination
IT_MTR_COMB_CAPAImportingTYPE
/SCMTMS/CL_PLN_DATA_RESOURCE=>TY_MTRCOMP_CAP
Means of Transport Combination Capacity
IT_MTR_DECR_CAPAImportingTYPE
/SCMTMS/T_VSR_DECCA_MTR
MTr Specific Settings for Decreasing Capacities
IV_INTERMEDIATE_STOPSImportingTYPE
/SCMTMS/VSR_DECCAP_STOP_FR
Stop Range: Start
EV_MTRCOMBExportingTYPE
/SCMTMS/RES_MTR_COMB
Means-of-Transport Combination
CT_CAPACITYChangingTYPE
/SCMTMS/T_PLN_DIMENSION
Dimensions for Capa Check



Exceptions of Method ADJUST_CAPACITY

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_CAPACITY TYPE /SCMTMS/T_PLN_DIMENSION,
lv_EV_MTRCOMB TYPE /SCMTMS/RES_MTR_COMB,
lv_IS_ITEM TYPE /SCMTMS/S_TOR_ITEM_TR_K,
lv_IT_ITEM TYPE /SCMTMS/T_TOR_ITEM_TR_K,
lv_IT_MTR_COMB TYPE /SAPAPO/T_MTRCOMB,
lv_IT_MTR_COMB_CAPA TYPE /SCMTMS/CL_PLN_DATA_RESOURCE=>TY_MTRCOMP_CAP,
lv_IT_MTR_DECR_CAPA TYPE /SCMTMS/T_VSR_DECCA_MTR,
lv_IV_INTERMEDIATE_STOPS TYPE /SCMTMS/VSR_DECCAP_STOP_FR,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_CAPA_CHECK_TOOLS=>ADJUST_CAPACITY(
EXPORTING
IS_ITEM = lv_IS_ITEM
IT_ITEM = lv_IT_ITEM
IT_MTR_COMB = lv_IT_MTR_COMB
IT_MTR_COMB_CAPA = lv_IT_MTR_COMB_CAPA
IT_MTR_DECR_CAPA = lv_IT_MTR_DECR_CAPA
IV_INTERMEDIATE_STOPS = lv_IV_INTERMEDIATE_STOPS
IMPORTING
EV_MTRCOMB = lv_EV_MTRCOMB
CHANGING
CT_CAPACITY = lv_CT_CAPACITY ).

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!