FIND_ROUTE_PATHS SAP Method All Route Paths in Cross-Docking Network









Below is documentation, parameters and attributes of ABAP Method FIND_ROUTE_PATHS 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_ROUTE_PATHS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method FIND_ROUTE_PATHS

.

NameTypeData TypeDescriptionDefault Value
IO_LOC_CUSTImportingTYPE REF TO
/SCTM/CL_LOCATION
Customer Location
IO_REQUESTImportingTYPE REF TO
/SCTM/CL_RG_REQUEST
SCTM: Transportation Request
IV_MAX_PATH_LENGTHImportingTYPE
I
Termination Criterion
IV_MIN_PATH_LENGTHImportingTYPE
I
Start Criterion
ET_ROUTE_PATHSExportingTYPE
/SCTM/TT_ROUTE_PATH
Number of Route Sequences in Route Hierarchy
CT_ROUTES_FRChangingTYPE
/SCTM/TT_ROUTE
Quantity of Routes
CT_ROUTES_TOChangingTYPE
/SCTM/TT_ROUTE
Quantity of Routes



Exceptions of Method FIND_ROUTE_PATHS

/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing Guide

Example ABAP coding


DATA: lo_class TYPE REF TO /SCTM/CL_ROUTE_MANAGER.
DATA: lv_CT_ROUTES_FR TYPE /SCTM/TT_ROUTE,
lv_CT_ROUTES_TO TYPE /SCTM/TT_ROUTE,
lv_ET_ROUTE_PATHS TYPE /SCTM/TT_ROUTE_PATH,
lv_IO_LOC_CUST TYPE /SCTM/CL_LOCATION,
lv_IO_REQUEST TYPE /SCTM/CL_RG_REQUEST,
lv_IV_MAX_PATH_LENGTH TYPE I,
lv_IV_MIN_PATH_LENGTH TYPE I,
lv_other TYPE c.

CALL METHOD lo_class=>FIND_ROUTE_PATHS(
EXPORTING
IO_LOC_CUST = lv_IO_LOC_CUST
IO_REQUEST = lv_IO_REQUEST
IV_MAX_PATH_LENGTH = lv_IV_MAX_PATH_LENGTH
IV_MIN_PATH_LENGTH = lv_IV_MIN_PATH_LENGTH
IMPORTING
ET_ROUTE_PATHS = lv_ET_ROUTE_PATHS
CHANGING
CT_ROUTES_FR = lv_CT_ROUTES_FR
CT_ROUTES_TO = lv_CT_ROUTES_TO ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!