TRANSFORM SAP Method Result
Below is documentation, parameters and attributes of ABAP Method TRANSFORM within SAP class /SCTM/CL_LEG_TRIP. 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_LEG_TRIP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method TRANSFORM can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TRANSFORM
.| Name | Type | Data Type | Description | Default Value |
| IO_REQUEST | Importing | TYPE REF TO /SCTM/CL_RG_REQUEST | SCTM: Transportation Request | |
| IO_ROUTE_MGR | Importing | TYPE REF TO /SCTM/CL_ROUTE_MANAGER | Administration of Routes | |
| IV_SEQ_NUM_BASE | Importing | TYPE /SCMB/DE_SEQ_NUM | Sequence Number | |
| EV_GTS_MOT_OUT | Exporting | TYPE /SCMB/DE_GTS_MOT_OUT | Mode of Transport for Foreign Trade (Outbound) | |
| CS_RESULT_POS | Changing | TYPE /SCMB/S_RG_TRIP_POS | SCTM: RG Result Detailed Information |
Exceptions of Method TRANSFORM
/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing GuideExample ABAP coding
DATA: lo_class TYPE REF TO /SCTM/CL_LEG_TRIP.
DATA: lv_CS_RESULT_POS TYPE /SCMB/S_RG_TRIP_POS,
lv_EV_GTS_MOT_OUT TYPE /SCMB/DE_GTS_MOT_OUT,
lv_IO_REQUEST TYPE /SCTM/CL_RG_REQUEST,
lv_IO_ROUTE_MGR TYPE /SCTM/CL_ROUTE_MANAGER,
lv_IV_SEQ_NUM_BASE TYPE /SCMB/DE_SEQ_NUM,
lv_other TYPE c.
CALL METHOD lo_class=>TRANSFORM(
EXPORTING
IO_REQUEST = lv_IO_REQUEST
IO_ROUTE_MGR = lv_IO_ROUTE_MGR
IV_SEQ_NUM_BASE = lv_IV_SEQ_NUM_BASE
IMPORTING
EV_GTS_MOT_OUT = lv_EV_GTS_MOT_OUT
CHANGING
CS_RESULT_POS = lv_CS_RESULT_POS ).
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