FIND_LEG_PATH SAP Method All Leg Paths in Cross-Docking Network
Below is documentation, parameters and attributes of ABAP Method FIND_LEG_PATH within SAP class /SCTM/CL_ROUTE_MANAGER. 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_ROUTE_MANAGER 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 FIND_LEG_PATH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FIND_LEG_PATH
.| Name | Type | Data Type | Description | Default Value |
| IO_ROUTE_PATH | Importing | TYPE REF TO /SCTM/CL_ROUTE_PATH | Route Sequence in a Route Hierarchy | |
| IT_LEGS_FR | Importing | TYPE /SCTM/TT_LEG | Quantity of Legs | |
| IT_LEGS_TO | Importing | TYPE /SCTM/TT_LEG | Quantity of Legs | |
| ET_LEG_PATH | Exporting | TYPE /SCTM/TT_LEG | Number of Lists of Legs |
Exceptions of Method FIND_LEG_PATH
/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing GuideExample ABAP coding
DATA: lo_class TYPE REF TO /SCTM/CL_ROUTE_MANAGER.
DATA: lv_ET_LEG_PATH TYPE /SCTM/TT_LEG,
lv_IO_ROUTE_PATH TYPE /SCTM/CL_ROUTE_PATH,
lv_IT_LEGS_FR TYPE /SCTM/TT_LEG,
lv_IT_LEGS_TO TYPE /SCTM/TT_LEG,
lv_other TYPE c.
CALL METHOD lo_class=>FIND_LEG_PATH(
EXPORTING
IO_ROUTE_PATH = lv_IO_ROUTE_PATH
IT_LEGS_FR = lv_IT_LEGS_FR
IT_LEGS_TO = lv_IT_LEGS_TO
IMPORTING
ET_LEG_PATH = lv_ET_LEG_PATH ).
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