LTRT_ROUTE_REPRIORITIZATION is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name LTRT_ROUTE_REPRIORITIZATION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
LTRT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LTRT_ROUTE_REPRIORITIZATION' "Reprioritize task according to a specific resource
EXPORTING
i_locat = " lloct-locat Site
is_lrsrc = " lrsrc Resource
it_ltkpl = " ltskt_t_ltkpl Task pool
IMPORTING
et_children = " ltrm_it_field_internal_name
et_task_prio = " ltrm_it_task_priority Output list of tasks' updated priorities
et_route_prio_details = " ltrm_it_task_priot_comp
TABLES
it_lrsqa = " lrsqa Resource qualifications
. " LTRT_ROUTE_REPRIORITIZATION
The ABAP code below is a full code listing to execute function module LTRT_ROUTE_REPRIORITIZATION including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_et_children | TYPE LTRM_IT_FIELD_INTERNAL_NAME , |
| ld_et_task_prio | TYPE LTRM_IT_TASK_PRIORITY , |
| ld_et_route_prio_details | TYPE LTRM_IT_TASK_PRIOT_COMP , |
| it_it_lrsqa | TYPE STANDARD TABLE OF LRSQA,"TABLES PARAM |
| wa_it_lrsqa | LIKE LINE OF it_it_lrsqa . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_et_children | TYPE LTRM_IT_FIELD_INTERNAL_NAME , |
| ld_i_locat | TYPE LLOCT-LOCAT , |
| it_it_lrsqa | TYPE STANDARD TABLE OF LRSQA , |
| wa_it_lrsqa | LIKE LINE OF it_it_lrsqa, |
| ld_et_task_prio | TYPE LTRM_IT_TASK_PRIORITY , |
| ld_is_lrsrc | TYPE LRSRC , |
| ld_et_route_prio_details | TYPE LTRM_IT_TASK_PRIOT_COMP , |
| ld_it_ltkpl | TYPE LTSKT_T_LTKPL . |
This function reprioritizes tasks according to a specific resource.
Get the following priorities for each task :
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name LTRT_ROUTE_REPRIORITIZATION or its description.
LTRT_ROUTE_REPRIORITIZATION - Reprioritize task according to a specific resource LTRT_ROUTE_PURGE - Delete from route tables after TO confirmation LTRT_ROUTE_OPTIONS_GET - Get all the possible routes per task LTRT_ROUTE_CLUSTERING - Get intra- and inter-routing options LTRT_REQUEST_ROUTES_GROUP - Find optimal routes for a group of requests LTRT_RECORDS_COUNT - Count number of records from Route tables