SAP Integration with EWM Tutorial (Part 1)
Introduces the business rationale for integrating TM with EWM and walks through the basic document flow connecting transportation planning to warehouse execution.
What this complete series covers
Learn Integration with EWM in a clear, practical sequence — from the basic idea to real project use, troubleshooting, and interview-ready understanding.
- Who it is for
- Best for SAP consultants, developers, and learners who want a practical understanding of Integration with EWM.
- Prerequisites
- Basic SAP S/4HANA navigation and an understanding of the business process are helpful. Configuration or transaction steps require suitable access to a practice or project system.
- Final outcome
- By the end, you should be able to explain Integration with EWM clearly, follow the main end-to-end flow, apply it in a project scenario, and troubleshoot the most common issues.
- Part 1: SAP Integration with EWM Tutorial (Part 1)
Introduces the business rationale for integrating TM with EWM and walks through the basic document flow connecting transportation planning to warehouse execution.
- Part 2: Configuring the TM-EWM Integration: Master Data, Delivery-Based Documents, and Load Sequencing (Part 2)
Explains the configuration steps and technical mechanisms that connect TM planning documents to EWM warehouse execution, including master data alignment, delivery-based transportat
- Part 3: Configuring Delivery-Based Integration Between TM and EWM (Part 3)
Learn how outbound and inbound deliveries become the handshake point between TM and EWM, including transportation relevance settings, freight unit generation, and the technical cha
- Part 4: Designing a Resilient TM-EWM Integration Architecture for Enterprise Landscapes (Part 4)
Architect-level guidance on choosing and governing a TM-EWM integration topology that balances performance, consistency, operational resilience, and long-term maintainability acros
- Part 5: Troubleshooting and Monitoring TM-EWM Integration in Production (Part 5)
Build the diagnostic skills needed to identify and resolve breakdowns in TM-EWM data flow, covering queue monitoring, confirmation feedback loops, performance bottlenecks, and depl
System and release assumptions: Examples focus on SAP S/4HANA. Exact apps, transaction codes, configuration paths, and field names can vary by release and deployment model.
Explanation
Transportation Management and Extended Warehouse Management solve two related but distinct problems. TM answers the question of how goods should physically move between locations - which carrier, which route, which vehicle, and at what cost. EWM answers the question of how goods are physically handled inside a warehouse - which storage bin, which resource, which pick path, and in what sequence. Without integration, a company would plan a shipment in TM and then manually re-enter loading and staging instructions into EWM, which is slow and error-prone, especially at high volumes.
The integration exists so that the outbound delivery process and the warehouse execution process are synchronized with the transportation plan. In a typical outbound scenario, a sales order or stock transport requirement generates a delivery. That delivery (or a transportation-relevant document derived from it) becomes the basis for a freight unit in TM, which planners consolidate into a freight order and assign to a carrier and a vehicle or transportation unit. Once the freight order is confirmed and sequenced, information about load sequence, door assignment, and shipping deadlines needs to reach the warehouse so that EWM can generate warehouse tasks in the right order and stage goods at the correct door in time for loading.
At a conceptual level there are three data flows to understand. First, master data flow: locations, means of transport, and organizational assignments must be consistent between TM and EWM so that a warehouse number in EWM is correctly linked to a location in TM. Second, document flow: deliveries created in SD (or generated from stock transport orders) trigger freight unit creation in TM, and conversely, once TM finalizes loading sequence and vehicle assignment, that information flows back to the delivery and into EWM as load sequence data that influences wave building, pick sequence, and staging. Third, status and event flow: confirmations of loading, goods issue, and vehicle departure need to be visible in TM tracking, and warehouse execution progress needs to be visible to transportation planners so they can react to delays.
This integration is especially valuable in outbound shipping scenarios where multiple deliveries are consolidated onto one truck, where dock and door scheduling matters, or where load sequencing must respect unloading order at the customer end (for example, last-loaded-first-unloaded for multi-drop routes). Without TM driving the sequence, EWM would have no way to know the physical loading order required by the transportation plan.
It is important early on to understand that 'integration with EWM' does not mean TM and EWM are the same system. They can be deployed as separate systems (Decentralized TM with a separate decentralized EWM), or TM functionality can run embedded within an S/4HANA system that also embeds EWM, in which case the same database supports both, but the two capabilities remain logically distinct application areas with their own configuration, master data, and document types. Understanding this separation is fundamental before diving into configuration details, which are covered in later lessons of this topic.
Real project scenario
A distribution company running S/4HANA with embedded TM and embedded EWM consolidates multiple customer deliveries from one warehouse onto a single truck each morning. Transportation planners build freight orders in TM specifying which deliveries go on which truck and in what loading order based on the delivery route's drop sequence. The warehouse team needs that loading sequence to appear in EWM so that goods for the last stop are loaded first. Understanding this basic document flow was the starting point for the functional team before any configuration work began, because business stakeholders needed to agree on who owns the loading sequence decision - transportation planning, not the warehouse.
Common mistakes
- Assuming EWM and TM are simply modules of the same application with no distinct configuration or master data.
- Treating the integration as a one-way data push from TM to EWM without recognizing that warehouse execution status also needs to flow back into TM.
- Ignoring that master data such as locations and means of transport must be aligned before any document flow will work correctly.
- Underestimating how much business process design (who decides loading sequence, who owns door scheduling) must be settled before configuration begins.
Best practices
- Start any integration project by mapping the end-to-end document flow (sales order/STO to delivery to freight unit to freight order to warehouse request) before configuring anything.
- Confirm early which deployment model applies (embedded, decentralized, or separate systems) since this affects how integration is technically realized.
- Align business stakeholders on ownership of loading sequence and door/dock scheduling decisions before implementation.
- Use a simple end-to-end test scenario early to validate that master data alignment between TM and EWM is correct before building complex planning logic.
Interview angle
Interviewers commonly ask candidates to explain, in plain business terms, why TM and EWM need to talk to each other and what would break if they did not. A strong answer distinguishes planning decisions (carrier, route, vehicle) from execution decisions (bin, resource, pick sequence) and explains that the two systems must stay synchronized so that load sequence and timing constraints set in planning are actually respected during physical loading.
Practice this lesson
Quick check
1. In the lesson "Why TM and EWM Must Work Together: Business Purpose and Document Flow", consider this project situation: A distribution company running S/4HANA with embedded TM and embedded EWM consolidates multiple customer deliveries from one warehouse onto a single truck each morning. Which statement is correct?
2. When a freight order in TM references multiple stages, and one stage involves warehouse handling, what EWM object is typically used to represent the physical execution of that handling stage at the warehouse?
3. If a TM planner needs visibility into the progress of warehouse tasks associated with a freight order without switching to the EWM system, what is required for this monitoring to work correctly?
Interview questions
1. Using this SAP project situation — A distribution company running S/4HANA with embedded TM and embedded EWM consolidates multiple customer deliveries from one warehouse onto a single truck each morning — explain Why TM and EWM Must Work Together: Business Purpose and Document Flow. What should happen, which concepts or process steps matter, and what common mistake would you avoid?
Answer it in your own words first, then compare.
2. A shipper subcontracts long-haul transportation to an external carrier while the origin warehouse is managed in EWM, and the freight order type must support both subcontracting settlement and synchronized transportation unit status with the warehouse. What design decisions must be made for the freight document type and EWM integration?
Answer it in your own words first, then compare.
Reference-verified: the steps are checked against official SAP documentation and tutorials, and object and field names in the sample code are checked for consistency. The code has not been compiled or run on an SAP system by ERPClimb. Syntax marked release-dependent varies by SAP release, so check it in your own system.
More lessons in this topic
- Configuring Delivery-Based Integration Between TM and EWM (Part 3)
- Configuring the TM-EWM Integration: Master Data, Delivery-Based Documents, and Load Sequencing (Part 2)
- Designing a Resilient TM-EWM Integration Architecture for Enterprise Landscapes (Part 4)
- Troubleshooting and Monitoring TM-EWM Integration in Production (Part 5)
Interview questions on this topic
Related SAP topics
- Embedded TM, EWM Integration, Migration and Support
- Embedded/Decentralized TM, EWM Integration, Migration and Architecture
- Freight Orders, Carrier Selection, Tendering and Execution
- Transportation Management Foundation, Organization and Master Data
- Transportation Demand, Freight Units and Planning
- Charge Calculation, Freight Settlement and Financial Integration