Inbound-Delivery-Based Transportation Planning 
In SAP Transportation Management (SAP TM), you can plan your transportation activities based on an inbound delivery and send your freight orders to SAP Extended Warehouse Management (SAP EWM). In SAP EWM, you can carry out the steps relating to the warehouse, for example, unloading.
For more information, 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.
You create a purchase order in SAP ERP.
You create inbound deliveries in SAP ERP and send them to SAP TM and SAP EWM. In SAP TM, a delivery-based transportation requirement is automatically created along with the associated freight units. In SAP EWM, an outbound delivery notification and an inbound delivery are created automatically.
You plan your transportation activities. When you do so, you create a freight order manually or the system creates one automatically.
You 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.
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. 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 delivery-based transportation requirement is automatically updated in SAP TM.