IS_CHILD_MTR_OF SAP Method Check Means of Transport Child relation
Below is documentation, parameters and attributes of ABAP Method IS_CHILD_MTR_OF within SAP class /SCTM/CL_SP. 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 /SCTM/CL_SP 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 IS_CHILD_MTR_OF can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method IS_CHILD_MTR_OF
.| Name | Type | Data Type | Description | Default Value |
| IV_MTR_UID | Importing | TYPE /SCMB/DE_MTR_UID | Means of Transport in Question | |
| IV_PARENT_MTR_UID | Importing | TYPE /SCMB/DE_MTR_UID | Means of Transport to Be Checked | |
| RV_IS | Returning | TYPE BOOLE_D | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') |
Exceptions of Method IS_CHILD_MTR_OF
/SCTM/CX_UI_RG_CODE - Routing Guide UI: Program ErrorExample ABAP coding
DATA: lv_IV_MTR_UID TYPE /SCMB/DE_MTR_UID,
lv_IV_PARENT_MTR_UID TYPE /SCMB/DE_MTR_UID,
lv_RV_IS TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD /SCTM/CL_SP=>IS_CHILD_MTR_OF(
EXPORTING
IV_MTR_UID = lv_IV_MTR_UID
IV_PARENT_MTR_UID = lv_IV_PARENT_MTR_UID
RECEIVING
RV_IS = lv_RV_IS )
"Alternate coding for Method Call with returning parameter
lv_RV_IS = /SCTM/CL_SP=>IS_CHILD_MTR_OF(
EXPORTING
IV_MTR_UID = lv_IV_MTR_UID
IV_PARENT_MTR_UID = lv_IV_PARENT_MTR_UID ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects