You can also define the master data for optimization component under TP/VS using which you can assign orders to vehicles cost-effectively, considering different constraints for this component. You can execute the optimization in two ways, either interactively in the planning view or schedule an optimization run in the background.
To run optimization in the background, navigate to SAP Easy Access → Advanced Planning and Optimization → Transport Planning and Vehicle Scheduling → Planning → Planning in Background → Schedule Optimization Rule.
In the next window, mention the Job name and Optimization Profile. Click the Execute button.
Define the execution schedule for the job. You can select different schedules for the background job. Click the Save button to save the background job successfully.
To use optimization components in TP/VS, you should define the following profiles and transport lanes −
Optimization profile can be defined under TP/VS → Optimizer → Define Optimization Profile.
To define the cost profile, you have to navigate to master data under SAP Advanced Planning and Optimization. SAP APO → Master Data → Application Specific Master Data → Transport Planning and Vehicle Scheduling → Maintain Vehicle Scheduling Costs.
You can create a new cost profile or change an existing profile.
To define transport lanes and to make relevant settings, navigate to SAP APO → Master Data → Transportation Lane.
In the next window, define the model name, start, and destination location. This is used to create, change, or display the existing Transport Lanes.