Integration of ERP Shipments in Shipping and Receiving 
Shipping and receiving offers features that integrate SAP Extended Warehouse Management with the transportation (LE-TRA) component of SAP ERP. Using this integration it is also possible to integrate EWM with SAP Transportation Management (SAP TM). With this integration, you can control and monitor the entire transportation process from the planning stage to the goods receipt at the customer location or your own plant.
You have set up the IDOC communication between SAP ERP and SAP EWM for sending and receiving SHPMNT05 and TPSSHT01 IDOC. For more information, see Define Default Values for IDOC Outbound in Customizing under .
You have created a link between the means of transport derived from the ERP means of transport type and the TU packaging material. On the SAP Easy Access screen, choose . This setting determines whether EWM creates a vehicle and/or a transportation unit.
The PPF action /SCWM/SR_SEND_SHPMNT and /SCWM/SR_SEND_SHIPPL are active in the action profile assigned to the transportation unit (TU), vehicle (VEH), or both in EWM.
You have defined default values for IDoc outbound in Customizing. See Define Default Values for IDOC Outbound in Customizing under
You have set up the mapping between the ERP shipment number and external TU/vehicle number. In Customizing, choose .
The Shipping and Receiving part of EWM offers you the following features:
Staging area and door determination contains the following transportation-relevant attributes:
For inbound processing: carrier, means of transport, and handling unit (HU) type of packaging material
For outbound processing: carrier, ship-to party, means of transport, and HU type of packaging material
The system displays the following data:
Transportation planning type, for example, for transportation units (TUs), vehicles, and deliveries, indicating which transportation planning process you use.
Transportation planning system in case of transportation planning in SAP TM
Corresponding ERP shipment number, for example, for TUs, vehicles, and deliveries
Origin of route for TUs
Based on the planning results of a shipment (assigned deliveries and HUs) received from SAP ERP through the SHPMNT05 IDoc, the system can automatically create TU activities and vehicle activities and assign deliveries to them. Based on the assigned HU data from SAP ERP, the system creates TU activities and vehicle activities in the following way:
If you have one HU assigned to the shipment and you have selected the Optional checkbox in Link Between Packaging Material (TU) and Means of Transport (transaction /SCWM/PM_MTR), the system creates only a TU activity.
If you have one HU assigned to the shipment and you have not selected the Optional checkbox in Link Between Packaging Material (TU) and Means of Transport (transaction /SCWM/PM_MTR), the system creates a TU activity and a vehicle activity.
If you have more than one HU on the same level, the system uses the first HU to create a vehicle activity and it uses the remaining HUs to create TU activities.
If you have nested HUs, the system uses the highest-level HU to create a vehicle activity, and it uses the lower-level HUs to create TU activities.
The system notifies SAP ERP about the execution of the plan in EWM by sending the SHPMNT05 IDoc to SAP ERP after the system has set the Goods Issue Posted status of the TU.
When you delete a TU in EWM that has been created as a replica of an ERP shipment, the system deletes the corresponding shipment in SAP ERP by sending the TPSSHT01 IDoc.
In warehouse outbound processing with transportation planning in EWM, the creation of the SHPMNT05 IDoc is automatically triggered by the Post Processing Framework (PPF) action /SCWM/SR_SEND_SHPMNT.
In processes with transportation planning in ERP, you can create a TU or a vehicle from an ERP shipment. You can use the ERP shipment number as external TU number or external vehicle number.
In processes with transportation planning in EWM and communication to ERP, you can create an ERP shipment from a TU or a vehicle. You can use the external TU number or external vehicle number as ERP shipment number.