GET_EHS_RG SAP Method Dangerous Goods Checks as Routing Guide Result
Below is documentation, parameters and attributes of ABAP Method GET_EHS_RG 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_EHS_RG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_EHS_RG
.| Name | Type | Data Type | Description | Default Value |
| IO_TRIP | Importing | TYPE REF TO /SCTM/CL_TRIP | Trip: Geographical Way of a Shipment | |
| IV_TRIP_ID | Importing | TYPE /SCMB/DE_TRIP_ID | Trip Number (Identification) | |
| CT_EHS_RESULTS | Changing | TYPE /SCMB/TT_RG_TRIP_EHS | Routing Guide Result: Dangerous Goods Checks |
Exceptions of Method GET_EHS_RG
/SCTM/CX_TM_RG_CODE - Internal Programming Error in Routing GuideExample ABAP coding
DATA: lv_CT_EHS_RESULTS TYPE /SCMB/TT_RG_TRIP_EHS,
lv_IO_TRIP TYPE /SCTM/CL_TRIP,
lv_IV_TRIP_ID TYPE /SCMB/DE_TRIP_ID,
lv_other TYPE c.
CALL METHOD /SCTM/CL_TRIP_BETA=>GET_EHS_RG(
EXPORTING
IO_TRIP = lv_IO_TRIP
IV_TRIP_ID = lv_IV_TRIP_ID
CHANGING
CT_EHS_RESULTS = lv_CT_EHS_RESULTS ).
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