CHECK_VALID_MOT SAP Method Check Validity of TrM
Below is documentation, parameters and attributes of ABAP Method CHECK_VALID_MOT 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 directlyThe following technical details of method CHECK_VALID_MOT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_VALID_MOT
.| Name | Type | Data Type | Description | Default Value |
| IT_STGMOT | Importing | TYPE /SCMTMS/T_STGMOT | Table type for allowed transportation mode of stage type | |
| IV_MOT | Importing | TYPE /SCMTMS/TRMODCODE | Transportation Mode | |
| IV_STAGE_TYPE | Importing | TYPE /SCMTMS/STAGE_TYPE | Stage Type | |
| RV_CHECK_VALID_MOT | Returning | TYPE ABAP_BOOL |
Exceptions of Method CHECK_VALID_MOT
This method does not have any exceptionsExample ABAP coding
DATA: lv_IT_STGMOT TYPE /SCMTMS/T_STGMOT,
lv_IV_MOT TYPE /SCMTMS/TRMODCODE,
lv_IV_STAGE_TYPE TYPE /SCMTMS/STAGE_TYPE,
lv_RV_CHECK_VALID_MOT TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COMMON_BO_HELPER=>CHECK_VALID_MOT(
EXPORTING
IT_STGMOT = lv_IT_STGMOT
IV_MOT = lv_IV_MOT
IV_STAGE_TYPE = lv_IV_STAGE_TYPE
RECEIVING
RV_CHECK_VALID_MOT = lv_RV_CHECK_VALID_MOT )
"Alternate coding for Method Call with returning parameter
lv_RV_CHECK_VALID_MOT = /SCMTMS/CL_COMMON_BO_HELPER=>CHECK_VALID_MOT(
EXPORTING
IT_STGMOT = lv_IT_STGMOT
IV_MOT = lv_IV_MOT
IV_STAGE_TYPE = lv_IV_STAGE_TYPE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects