Order-Based Transportation Planning (Inbound) 
In SAP Transportation Management (SAP TM), you can plan your transportation activities based on an order and send your freight orders to SAP Extended Warehouse Management (SAP EWM). In SAP EWM, you can then carry out the steps relating to the warehouse, for example, unloading. Because the two systems are directly integrated with one another, SAP TM informs you that the truck in SAP EWM has been unloaded and whether there are any discrepancies such as quantity deviations.
For more information, see Direct Integration with SAP Extended Warehouse Management.
A sample process for one transportation stop is described below. If your freight order comprises several transportation stops, the process is repeated for each stop if the stop contains unloading locations relevant to SAP EWM. Note, however, that multiple pickup and multiple delivery scenarios are not supported.
Create a purchase order in SAP ERP and send it to SAP TM. In SAP TM, an order-based transportation requirement is automatically created along with the associated freight units.
Plan your transportation activities by creating a freight order based on the freight units created in the previous step.
Generate delivery proposals and send these to SAP ERP. Inbound deliveries are created in SAP ERP based on these delivery proposals. They are then transferred to SAP TM and the delivery reference is added automatically to the freight order. The delivery reference is displayed in the document references for the item.
When you have finished planning your transportation activities, set the cargo execution status of the freight order to Cargo Ready for Unloading. The system automatically sends an unloading instruction to SAP EWM with the message LoadingAppointmentRequest.
Note
In this step, the system checks whether inbound deliveries have already been created. The system can change the status and send the message only if inbound deliveries have already been created.
When the LoadingAppointmentRequest message is received from SAP TM, SAP EWM automatically creates a transportation unit.
When the truck arrives at the yard, the warehouse workers post its arrival.
The warehouse workers unload the truck.
The warehouse workers post the goods receipt (optional). The inbound delivery is automatically updated in SAP ERP.
The warehouse workers carry out any additional steps in SAP EWM, such as putaway.
When the data is updated in SAP ERP, the order-based transportation requirement is automatically updated in SAP TM.