Upload
suseev
View
219
Download
0
Embed Size (px)
Citation preview
8/10/2019 Route Scheduling - Techn...Gement (SCM) - SCN Wiki
1/2
12/25/2014 Route Scheduling - Technical Information - Supply Chain Management (SCM) - SCN Wiki
http://wiki.scn.sap.com/wiki/display/SCM/Route+Scheduling+-+Technical+Information 1/2
Getting Started Newsletters Store
Search the Community
Welcome, Guest Login Register
Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Added by Noel Connolly, last edited by Noel Connolly on Dec 30, 2013
Supply Chain Management (SCM) / / Shipping and transport scheduling
Route Scheduling - Technical Information
Purpose
The purpose of this page is to give a technical overview in relation to how route scheduling is performed in the ECC system. It is intended as a debugging aide for any route scheduling problems.
Overview
The route scheduling functionality allows you to plan accurate outbound deliveries to the ship-to parties on a route.
Route Schedule Tables
The bulk of the data related to route schedules is contained in the following 3 tables:
1. VALW - Delivery Plan: Definition of Route Schedule
2. VARK - Delivery Plan: Customer-Specific Itinerary
3. VAWK - Delivery Plan: Itinerary Determination, Customer-Specific
When a route schedule is created, one entry will be created in table VALW for this route schedule. During the save of the route schedule, SAPLV51B, FORM AULWE_INSERT (Include LV51BF0A)
passes the route schedule values to the internal structure XVALW_UPD. These values are later passed to the function SD_DELIVERY_SAVE_VALW.
The number of entries in table VAWK depends on the number of ship-to parties maintained in the route schedule; for example, if there are 5 ship-to parties maintained in the route schedule, there will be 5
entries for the route schedule in table VAWK. Function SD_DELIVERY_SAVE_VAWK is called during the save of the route schedule to create the VAWK entries.
If an itinerary is maintained for the route schedule, the data for this itinerary is stored in table VARK. Table VARK contains an entry for each individual line of the itinerary. For example, if the itinerary of the
route schedule contains 5 lines, there are 5 corresponding entries stored in database table VARK. Function SD_DELIVERY_SAVE_VARK is called during the save of the route schedule to create the
VARK entries.
Route Schedule Determination Function Modules
There are 3 principle function modules involved in the route schedule process:
1. SD_ROUTE_SCHEDULE_DETERMINE
2. SD_ROUTE_SCHEDULE_READ_DB
3. SD_ROUTE_SCHEDULE_PREPARE
1. Function SD_ROUTE_SCHEDULE_DETERMINE is called by the SD scheduling to determine a route schedule. SD passes over the relevant information for the sys tem to determine a route schedule.
This includes the shipping point, shipping conditions, route, transport group, ship-to party, Goods issue date/time & delivery date / t ime.
2. Function SD_ROUTE_SCHEDULE_READ_DB is called by function SD_ROUTE_SCHEDULE_DETERMINE. Function SD_ROUTE_SCHEDULE_DETERMINE selects all the entries from database
ables VALW, VARK & VAWK into the respective internal tables. Please note that the system does not impose restrictions on the selects in function SD_ROUTE_SCHEDULE_DETERMINE; for table
VARK, this is addressed in SAP note 1235113.
After function SD_ROUTE_SCHEDULE_READ_DB is executed, function SD_ROUTE_SCHEDULE_DETERMINE sorts the internal table lt_vawk. This sorting is important as function
SD_ROUTE_SCHEDULE_PREPARE will loop through this internal table in this order as it decides which route schedules are valid. For example, it ensures exception route schedules will be evaluated
before general route schedules in function SD_ROUTE_SCHEDULE_PREPARE.
3. Function SD_ROUTE_SCHEDULE_PREPARE checks each of the determined route schedules and adds any valid route schedules to the internal table ET_RSCHED. The valid route schedules in
ET_RSCHED are returned to function SD_ROUTE_SCHEDULE_DETERMINE. Function SD_ROUTE_SCHEDULE_DETERMINE will select the most appropriate route schedule by comparing delivery
date of route schedule with the SD delivery schedule.
This is a typical call stack of the route scheduling:
SAPLV03C FUNCTION SD_ROUTE_SCHEDULE_PREPARE
SAPLV03C FUNCTION SD_ROUTE_SCHEDULE_DETERMINE
8/10/2019 Route Scheduling - Techn...Gement (SCM) - SCN Wiki
2/2
12/25/2014 Route Scheduling - Technical Information - Supply Chain Management (SCM) - SCN Wiki
http://wiki.scn.sap.com/wiki/display/SCM/Route+Scheduling+-+Technical+Information 2/2
SAPLV03C FORM ROUTE_SCHEDULE_DETERMINE
SAPLV03C FUNCTION SD_SCHEDULING
The route scheduling functions are also called from SD_SCHEDULING_ATP_CALC.
Related Content
Related Documents
http://help.sap.com/saphelp_47x200/helpdata/EN/dd/560dee545a11d1a7020000e829fd11/frameset.htm
Related Notes
146829: Process flow of route schedule
route_schedule route_scheduling
Follow SCNContact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright