GET_TRANSITS_EHS SAP Method Transit Stages for Dangerous Goods Check
Below is documentation, parameters and attributes of ABAP Method GET_TRANSITS_EHS within SAP class /SCTM/CL_TRIP_BETA. 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_TRIP_BETA 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 GET_TRANSITS_EHS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_TRANSITS_EHS
.| Name | Type | Data Type | Description | Default Value |
| IO_TRIP | Importing | TYPE REF TO /SCTM/CL_TRIP | Trip: Geographical Way of a Shipment | |
| CT_STAGES | Changing | TYPE /SCTM/DGY_RGESTAGE | EHS: Table with Route Stages for Dangerous Goods Checks |
Exceptions of Method GET_TRANSITS_EHS
/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing GuideExample ABAP coding
DATA: lv_CT_STAGES TYPE /SCTM/DGY_RGESTAGE,
lv_IO_TRIP TYPE /SCTM/CL_TRIP,
lv_other TYPE c.
CALL METHOD /SCTM/CL_TRIP_BETA=>GET_TRANSITS_EHS(
EXPORTING
IO_TRIP = lv_IO_TRIP
CHANGING
CT_STAGES = lv_CT_STAGES ).
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