CALCULATE_DECR_CAPA SAP Method Calculate decreasing capa. for resources based on mater data
Below is documentation, parameters and attributes of ABAP Method CALCULATE_DECR_CAPA 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 CALCULATE_DECR_CAPA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CALCULATE_DECR_CAPA
.| Name | Type | Data Type | Description | Default Value |
| IT_MTR_DECR_CAPA | Importing | TYPE /SCMTMS/T_VSR_DECCA_MTR | MTr Specific Settings for Decreasing Capacities | |
| IV_INTERMEDIATE_STOPS | Importing | TYPE /SCMTMS/VSR_DECCAP_STOP_FR | Whole Number with +/- Sign (-2.147.483.648 .. 2.147.483.647) | |
| IV_MTR | Importing | TYPE /SCMTMS/TRANSMEANSTYPECODE | Means of Transport Type Code | |
| CT_CAPA | Changing | TYPE /SCMTMS/T_PLN_DIMENSION | Dimensions for Capa Check |
Exceptions of Method CALCULATE_DECR_CAPA
This method does not have any exceptionsExample ABAP coding
DATA: lv_CT_CAPA TYPE /SCMTMS/T_PLN_DIMENSION,
lv_IT_MTR_DECR_CAPA TYPE /SCMTMS/T_VSR_DECCA_MTR,
lv_IV_INTERMEDIATE_STOPS TYPE /SCMTMS/VSR_DECCAP_STOP_FR,
lv_IV_MTR TYPE /SCMTMS/TRANSMEANSTYPECODE,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_CAPA_CHECK_TOOLS=>CALCULATE_DECR_CAPA(
EXPORTING
IT_MTR_DECR_CAPA = lv_IT_MTR_DECR_CAPA
IV_INTERMEDIATE_STOPS = lv_IV_INTERMEDIATE_STOPS
IV_MTR = lv_IV_MTR
CHANGING
CT_CAPA = lv_CT_CAPA ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects