PLN_CAPACITY_ADD SAP Method Add dimensionless capacity if necessary
Below is documentation, parameters and attributes of ABAP Method PLN_CAPACITY_ADD 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 directlyThe following technical details of method PLN_CAPACITY_ADD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PLN_CAPACITY_ADD
.| Name | Type | Data Type | Description | Default Value |
| IS_ITEM | Importing | TYPE /SCMTMS/S_TOR_ITEM_TR_K | Transient node for items | |
| IT_CMP_TYPE_CAP | Importing | TYPE /SAPAPO/T_CTCAP | Compartment Item Capacity | |
| IT_ITEM | Importing | TYPE /SCMTMS/T_TOR_ITEM_TR_K | Transient node for items | |
| IT_MTR_COMB | Importing | TYPE /SAPAPO/T_MTRCOMB | Means of Transport | |
| IT_MTR_COMB_CAPA | Importing | TYPE /SCMTMS/CL_PLN_DATA_RESOURCE=>TY_MTRCOMP_CAP | Means of Transport Combination Capacity | |
| IT_MTR_DECR_CAPA | Importing | TYPE /SCMTMS/T_VSR_DECCA_MTR | MTr Specific Settings for Decreasing Capacities | |
| IT_TRCAPOFFER | Importing | TYPE /SCMTMS/T_RES_QUANTITY_K | Transportation Capacity Offering | |
| IV_INTERMEDIATE_STOPS | Importing | TYPE /SCMTMS/VSR_DECCAP_STOP_FR | Stop Range: Start | |
| CT_CAPACITY | Changing | TYPE /SCMTMS/T_PLN_DIMENSION | Dimensions for Capa Check |
Exceptions of Method PLN_CAPACITY_ADD
This method does not have any exceptionsExample ABAP coding
DATA: lv_CT_CAPACITY TYPE /SCMTMS/T_PLN_DIMENSION,
lv_IS_ITEM TYPE /SCMTMS/S_TOR_ITEM_TR_K,
lv_IT_CMP_TYPE_CAP TYPE /SAPAPO/T_CTCAP,
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_IT_TRCAPOFFER TYPE /SCMTMS/T_RES_QUANTITY_K,
lv_IV_INTERMEDIATE_STOPS TYPE /SCMTMS/VSR_DECCAP_STOP_FR,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_CAPA_CHECK_TOOLS=>PLN_CAPACITY_ADD(
EXPORTING
IS_ITEM = lv_IS_ITEM
IT_CMP_TYPE_CAP = lv_IT_CMP_TYPE_CAP
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
IT_TRCAPOFFER = lv_IT_TRCAPOFFER
IV_INTERMEDIATE_STOPS = lv_IV_INTERMEDIATE_STOPS
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