The integration of SAP Digital Manufacturing (SAP DM) and SAP Extended Warehouse Management (SAP EWM) connects manufacturing execution and warehouse operations to create a seamless, system-supported material flow. Both systems exchange requirements, postings, and status updates in real time, from component staging at the production line to putting finished goods away in the warehouse. The result is a production environment in which warehousing and manufacturing no longer operate as separate domains but function as one integrated process.
The integration of SAP DM and SAP EWM covers the entire material flow between warehouse and production: demand-driven component staging, consumption confirmations from manufacturing, and goods receipt of finished products back into the warehouse.
SAP Digital Manufacturing is SAP's cloud-based MES solution. It manages production orders on the shop floor, collects operational data, manages work instructions, and coordinates progress at individual workstations. SAP DM is designed as a SaaS solution and does not require a local server installation at the plant.
SAP Extended Warehouse Management is the warehouse management system within the SAP landscape. It manages storage bins, controls warehouse tasks, represents handling units, and posts all goods movements down to the storage bin level. SAP EWM knows the exact physical location of every inventory item in the warehouse at any given time.
The connection between SAP DM and SAP EWM is established through standardized integration scenarios and SOAP-based messages. SAP DM generates staging requests for components required by an active production order. SAP EWM receives these requests, derives internal warehouse requirements from them, and plans the corresponding warehouse tasks. Once production is completed, SAP DM reports production progress, after which EWM processes the goods receipt of finished products.
Basic ERP warehouse integration only provides inventory-level information: material is either available or unavailable. SAP DM/EWM integration goes considerably further. It supports staging methods, staging times, buffer areas, and handling unit structures. It distinguishes between single-order staging and cross-order staging. It also enables complete traceability, showing which material was staged from which storage bin for which production order.
The integration of SAP DM and SAP EWM is divided into six standard scenarios. These fall into two areas: Production Integration covers material flows between the warehouse and production line, while Work in Process (WIP) covers the handling of partially processed inventory between two production steps.
The three Production Integration scenarios represent the traditional material flow, from the storage bin to the production line and back to the warehouse as a finished product:
The three WIP scenarios apply when a product passes through multiple manufacturing steps and is physically stored between these steps:
For an integration project, this classification is more than just a framework. It defines the project scope. A plant with single-stage final assembly generally requires only the three Production Integration scenarios. As soon as products are stored between operations, for example in multistage preassembly, during drying or curing times, or on paced production lines with buffer storage, the WIP scenarios become relevant. They have a noticeable impact on warehouse structures, master data maintenance, and testing scope and should therefore be considered early in project planning.
Integrating warehouse and production operations is essential because production disruptions are often caused not by technical problems but by materials being unavailable at the right place and time.
When production and warehouse operations work without system integration, characteristic weaknesses emerge: production operators leave the line to retrieve materials themselves. Warehouse requests are communicated verbally or through separate lists. Buffer inventory is counted manually because the system cannot provide up-to-date information. These inefficiencies add up to measurable productivity losses and make capacity planning significantly more difficult.
Inventory accuracy cannot be taken for granted in integrated environments. Every unposted material withdrawal from production creates a discrepancy between system inventory and actual physical inventory. These discrepancies accumulate until material planners reorder incorrect quantities or production planners work with inaccurate availability figures. SAP DM/EWM integration closes this gap by posting consumption either directly through production confirmations in DM or automatically through backflush logic.
Another key benefit is lead time optimization. When SAP EWM stages components just in time based on actual production order starts and material requirements, waiting times at the production line are reduced. At the same time, inventory levels in the Production Supply Area (PSA) decrease because materials are delivered according to actual demand rather than stocked in advance. This frees up space on the shop floor and reduces working capital tied up in inventory.
Material staging from SAP EWM to production is managed through the central Production Material Request (PMR) object. EWM creates a PMR based on the released production order, plans the staging warehouse tasks, and carries out physical staging to the assigned Production Supply Area (PSA). Within the scenario classification, this is referred to as Material Staging to Production.
The Production Material Request is the central document object in Advanced Production Integration in SAP EWM. It contains all components of a production order, including the required quantities, assigned staging methods, and staging times. The PMR is created automatically when a production order is released in SAP S/4HANA and staging is triggered. It remains active throughout the manufacturing process and is automatically closed when the production order is completed.
Within the PMR, staging methods are assigned to each component. These define how the material is to be staged, for example through single-order staging directly for a specific order or cross-order staging, in which buffer inventory in the PSA is replenished based on minimum stock levels. Only components with staging methods relevant to warehouse requirements appear as active items in the PMR.
The Production Supply Area is the defined staging area between the warehouse and the production line. It is not a general warehouse buffer but a precisely configured area in EWM to which specific materials, order types, and warehouse tasks are assigned. The PSA can be a physical buffer location directly next to the production line or a virtual zone within a multizone production warehouse.
The staging process essentially consists of five steps: Release the production order in SAP S/4HANA → EWM creates the PMR and calculates warehouse requirements → EWM plans warehouse tasks and picking lists → Warehouse operators execute and confirm the tasks → Material is available in the PSA, and DM receives the confirmation.
Choosing the staging method is one of the most important design decisions during implementation. Single-order staging is suitable for high-value components or parts requiring serial numbers, where an exact assignment of materials to orders is essential. Cross-order staging, on the other hand, is suitable for bulk materials or standard components, where shared buffer inventory supplies multiple orders. In modern manufacturing environments, both methods are often used in parallel, depending on material classification.
Material flow does not end when components are staged in the PSA. Actual consumption must be posted. Otherwise, the inventory remains in the system even though the material has already been physically processed. The Material Consumption scenario manages this posting.
There are two approaches to determining when consumption is posted. With confirmations from SAP DM, the operator or machine reports consumption together with production progress, ensuring that the posting closely reflects actual operations. With backflush logic, the system automatically posts consumption based on the bill of materials as soon as an operation or order is confirmed. Backflushing reduces data entry effort but requires well-maintained bills of materials and realistic scrap factors. Otherwise, it creates precisely the inventory discrepancies that the integration is intended to prevent.
Consumption postings refer to the items in the Production Material Request. EWM knows which components were staged for which production order and assigns the reported consumption to these items. Unconsumed remaining quantities stay open and can be returned to the warehouse through a return delivery.
Work-in-process inventory is managed through three dedicated scenarios: WIP Storage stores partially processed material after a production step, WIP Staging makes it available again before the next step, and WIP Consumption posts the goods issue after the operation is completed.
Not every product moves through manufacturing in one continuous process. Assemblies wait for the next production line, parts need to cure, dry, or cool, and preassemblies are produced in batches. In all these cases, material is created that is neither raw material nor finished goods: work in process.
In the WIP Storage scenario, SAP DM reports the completion of a production step and transfers the partially processed material to SAP EWM. EWM records it as inventory, adopts or assigns the handling unit, and creates a putaway task for a designated storage area. Unique identification is essential: the MES assigns a WIP identifier that allows the inventory to be assigned to the correct order and production step later.
When the subsequent production step is due, the material moves back: SAP DM requests the temporarily stored material, EWM plans the warehouse task, and the material is staged at the relevant Production Supply Area. The process resembles component staging but differs in one essential respect: the request is not for inventory based on a bill of materials but for specific, partially processed inventory with its own history.
This is precisely why traceability is particularly valuable here. The WIP identifier and handling unit make it possible to trace which order and production step the material originated from, how long it was stored, and where it was subsequently transferred. For manufacturing processes involving batch management or limited shelf life, this is not simply a convenience but a prerequisite.
When the temporarily stored material is processed in the subsequent step, the WIP inventory must be posted as a goods issue. The WIP Consumption scenario completes this cycle: the inventory leaves the warehouse in the system, and its value is transferred to the next product. Without this posting, WIP material would remain in inventory indefinitely, distorting availability calculations and inventory results.
WIP scenarios increase transparency but also require additional configuration. They require defined storage areas for partially processed inventory, clearly separated production steps in SAP DM, and consistent tracking of WIP identifiers. In practice, the deciding factor is therefore often not technical feasibility but whether physical intermediate storage is actually necessary. Material flow analysis frequently reveals that some intermediate storage can be avoided by adjusting production takt times or buffer design. This simplifies the process before it is represented in the system.
Finished goods confirmations and goods receipt are handled through a direct interface between SAP DM and SAP EWM. DM reports production completion, including quantities and handling unit information. EWM then creates the goods receipt document and automatically generates putaway tasks. Within the scenario classification, this is referred to as Goods Receipt from Production.
When a production order is completed in SAP DM, the system triggers the production confirmation. This confirmation contains the completed quantities, any scrap data, and, if handling units were used during production, the corresponding HU information. The confirmation is transferred to EWM through the standardized interface.
SAP EWM receives this message and uses it to create the expected goods receipt for the finished products. EWM can either adopt existing handling units from production or automatically create new handling units if this is specified in the configuration. The actual goods receipt posting document is created in EWM and subsequently reported back to the ERP system, where the corresponding inventory management document and financial document are generated.
Handling units (HUs) play a central role in traceability and inventory management at the interface between production and warehouse operations. An HU combines physical quantities into a manageable unit, such as a pallet, pallet cage, or container. In SAP DM/EWM integration, HUs can already be created during production and automatically adopted by EWM during goods receipt.
This HU chain enables complete traceability. A subsequent audit can determine which batch was stored in which HU, in which production order it was consumed or produced, and in which storage bin it is located. For regulated industries such as pharmaceuticals, medical technology, and automotive manufacturing, this transparency is often a regulatory requirement.
After goods receipt, EWM automatically generates putaway tasks. Based on the configured storage bin search strategy, EWM's destination determination system calculates the optimal storage location and assigns the task to the responsible warehouse operator or, in automated warehouses, to the material handling system. Once putaway is confirmed, the inventory is available in the ERP system and can be used for material planning, sales, or additional production orders.
SAP S/4HANA serves as the central integration backbone. It provides production orders, material master data, bills of materials, and routings as a shared data foundation for SAP DM and SAP EWM and is the source of all postings relevant to material requirements planning.
All relevant master data, including material master records, bills of materials, routings, and storage bin configurations, is maintained in SAP S/4HANA. SAP DM and SAP EWM access this data without maintaining redundant copies. This prevents inconsistencies that arise in standalone system landscapes without a shared ERP system. When a bill of materials is changed in SAP S/4HANA, the change is immediately available for manufacturing and warehouse processes.
The production order is the order object connecting both systems. It is created in SAP S/4HANA, contains quantities, dates, components, and resources, and serves as the triggering document for the PMR in EWM and the work queue in SAP DM. All postings, including goods issues, production confirmations, and goods receipts, ultimately flow back to SAP S/4HANA as documents and update inventory accounting and financial accounting.
An important architectural decision concerns the deployment model of SAP EWM. Embedded EWM runs directly on the SAP S/4HANA system and does not require a separate system instance. It uses the shared SAP S/4HANA data model and is a streamlined option for medium-sized warehouses with standardized processes. Standalone EWM, on the other hand, runs as a separate system and offers extended functionality for complex warehouses with high levels of automation, material handling system integration, and multistage warehouse processes.
Both variants are generally suitable for SAP DM/EWM integration. The choice depends on warehouse complexity, automation requirements, and the existing system landscape. In modern greenfield projects based on SAP S/4HANA, embedded EWM is often preferred to reduce system complexity.
Different types of data are exchanged between the three systems: SAP S/4HANA, SAP DM, and SAP EWM. Master data primarily flows from SAP S/4HANA to DM and EWM. Transactional data, including order releases, staging requests, and quantity confirmations, flows bidirectionally between all three layers. Goods movement data, including postings and inventory changes, originates in EWM and flows back to SAP S/4HANA for persistent storage. This clearly defined data model forms the foundation for a stable, maintainable integration architecture.
The integration architecture between warehouse and production follows a clearly defined three-layer structure: SAP S/4HANA as the planning and posting layer, SAP EWM as the warehouse execution layer, and SAP DM as the manufacturing execution layer.
The first layer, SAP S/4HANA, handles planning, material requirements planning, and financial accounting. Production orders are created here, inventory values are maintained here, and all posting cycles are completed here. SAP S/4HANA knows quantities and values but not physical storage bins or shop floor details.
The second layer, SAP EWM, is the operational warehouse layer. EWM knows every square meter of the warehouse, every storage bin, every handling unit, and every active warehouse task. It plans warehouse resources, optimizes picking routes, and controls material handling equipment in automated warehouses. EWM uses its own inventory and task model, which is more granular than ERP inventory management.
The third layer, SAP DM, is the operational manufacturing layer. DM knows the shop floor: workstations, machines, operator qualifications, active orders, and their progress. It manages work instructions, records confirmations, and communicates material requirements to the warehouse.
Message exchange between SAP DM and SAP EWM takes place through SOAP-based web services. When SAP DM generates a staging request, it sends a structured SOAP message to EWM. EWM acknowledges receipt and creates the internal warehouse requirement. Status changes, such as warehouse task created, task completed, or material ready, are communicated back to DM as status messages.
This loose coupling through defined messages offers clear advantages. The systems can be developed independently. A failure or maintenance window on one side does not necessarily block the other. The interfaces are also standardized, significantly reducing implementation effort compared to proprietary solutions.
An often underestimated aspect of the architecture is the physical and system-based warehouse structure. For SAP DM/EWM integration to work properly, Production Supply Areas (PSAs) must be configured precisely: Which storage types and storage bins belong to the PSA? Which materials are staged there? Which order types and staging methods apply? This configuration forms the foundation for all subsequent staging processes.
The storage bin hierarchy also plays a role: Warehouse → Storage type → Storage section → Storage bin. EWM maintains this hierarchy and uses it for storage bin determination and route optimization. The PSA is typically a separate storage type or storage section that is clearly separated from the main warehouse, both physically and within the system.
Successful implementation of SAP DM/EWM integration follows a structured phase model that begins with process assessment and ends with a scalable rollout template.
The first step is a complete assessment of the existing manufacturing and warehouse processes. How are different materials staged? What staging times are required? How are confirmations currently recorded? Where do system discontinuities, manual buffers, or inventory discrepancies occur?
Based on this assessment, the target process design is defined:
At the same time, the existing system landscape is reviewed: Which SAP S/4HANA version is in use? Embedded or standalone EWM? Which SAP DM version is licensed? Are the relevant integration add-ons activated?
Phase 2 establishes the system foundations. This includes configuring warehouse structures in EWM (storage types, PSA definitions, staging storage bins), setting up the integration interfaces between DM and EWM, and configuring staging methods at the material level.
Important configuration aspects in this phase include:
Master data quality is a critical success factor. For integration to work, material master data must be available consistently in SAP S/4HANA, EWM, and DM. Storage bin data must be up to date. PSA assignments must be correct. Bills of materials must be complete and released.
A targeted master data analysis before go-live identifies gaps and inconsistencies that would otherwise cause errors during operations. Experience shows that this phase often requires more effort than technically anticipated, particularly when warehouse and manufacturing master data have previously been maintained in separate silos.
A structured testing phase takes place before production go-live. End-to-end integration tests cover the complete process, from order release in SAP S/4HANA through PMR creation in EWM and staging confirmation to production confirmation in DM and goods receipt in EWM.
Pilot operation begins with a limited number of production lines or material groups. This allows initial issues to be resolved in a controlled environment before the integration is extended to the entire production operation. Key users from warehouse and manufacturing are involved early, not just during training but already during testing.
Go-live takes place after successful completion of integration testing and with a clearly defined cutover plan. During the hypercare phase, typically four to eight weeks after go-live, the project team and system specialists are available to provide rapid support. Any process deviations or configuration gaps that emerge are resolved during this phase.
After hypercare has been successfully completed, the proven project approach is documented as a template. This template, including configuration parameters, test scenarios, and training materials, forms the foundation for rollout to additional sites or production lines.
Advanced Production Integration in SAP EWM goes far beyond basic ERP warehouse integration. While basic integration only posts inventory movements at the ERP level, Advanced Production Integration covers the entire operational material flow: PMR creation, staging planning using different methods, PSA management, warehouse task control, and bidirectional status communication with the MES. Basic integration shows that a goods issue has been posted. Advanced Production Integration shows which warehouse operator picked which material from which storage bin for which order and placed it at which PSA location.
Yes, SAP EWM also supports production supply without a full MES such as SAP DM. In this case, staging requests are generated directly from SAP S/4HANA or manually in EWM. The staging process is then controlled entirely from the warehouse, without bidirectional information exchange with an MES. This approach is sufficient for simpler manufacturing environments. However, when detailed shop floor control, machine data collection, or complex work instructions are required, adding SAP DM makes sense.
Material returns, meaning components that were not consumed during production and need to be returned to the warehouse, are processed in SAP EWM through internal stock transfer orders. SAP DM can trigger a corresponding return posting request, after which EWM creates a return putaway task. The material is physically returned to warehouse inventory and becomes available for other orders. Properly configured return processes are important to prevent inventory discrepancies for partially completed or canceled orders.
Material Staging to Production provides components from warehouse inventory that are required for a production order according to the bill of materials, such as raw materials, purchased parts, and standard components. WIP Staging provides material that has already passed through part of the manufacturing process and was stored between two production steps. The warehouse process is comparable, but the underlying data is different: In component staging, the Production Material Request controls staging based on order requirements, while WIP Staging requests specific, partially processed inventory using its WIP identifier. Manufacturers with single-stage production processes that do not require intermediate storage can operate without WIP Staging.
The following prerequisites must be met for successful SAP DM/EWM integration:
In the event of a temporary failure of one of the system components, such as a brief interruption of the web service connection between DM and EWM, staging requests can be buffered in a queue. Once the connection is restored, pending messages are processed. For longer outages, contingency processes must be defined: manual staging lists, manual postings in EWM, and subsequent posting of the movements. A robust integration monitoring solution, for example through SAP Integration Suite or SAP Alert Management, should detect connection errors early to minimize operational disruptions.
Yes, SAP DM/EWM integration is designed from the outset for multi-plant scenarios. As a cloud solution, SAP DM supports the parallel connection of multiple production sites. Each site can have its own EWM warehouse structures and PSA configurations, while master data and production order planning are managed centrally in SAP S/4HANA. A proven approach is to implement the solution at a pilot plant and then transfer the template to additional sites, reducing implementation effort and rollout risks.
The development of SAP DM and SAP EWM clearly points toward greater automation, real-time visibility, and autonomous systems. This trend further increases the importance of system integration between warehouse and manufacturing operations.
Connecting autonomous mobile robots (AMRs) and automated material handling systems to SAP EWM is already possible today and is increasingly being adopted in industrial environments. SAP EWM communicates through standardized interfaces, such as the Material Flow System (MFS), with control systems for automated storage and retrieval systems, automated guided vehicles (AGVs), or automated sorting systems. In these environments, EWM not only creates warehouse tasks for human operators but also sends transport orders directly to robots or AGV systems.
Connecting these automated systems with staging requests from SAP DM creates a fully autonomous production supply chain: DM reports the requirement, EWM plans and dispatches the order, and an AGV transports the material to the PSA without manual intervention. For manufacturers with high volumes and standardized material flow routes, this scenario is already economically viable today.
Another trend is the use of AI methods for demand planning and inventory optimization at the interface between warehouse and production. Traditional planning parameters, such as minimum stock levels, replenishment lead times, and safety stocks, are supplemented by learning models based on historical consumption data, production schedules, and external factors.
Within the SAP environment, these capabilities are provided through SAP Business Technology Platform (SAP BTP) and corresponding AI services. Integration with SAP DM and EWM makes it possible to translate planning recommendations directly into operational staging parameters without intermediate manual steps. The result is a more adaptive production supply process that responds to changes in production schedules faster than systems with static parameters.
The digital shop floor twin, a real-time digital representation of production and logistics, is a strategic goal that SAP DM and EWM are pursuing through their integration development. By connecting both systems with sensor data from production and the warehouse, a comprehensive operational picture is created that material planners, production managers, and logistics managers can use simultaneously.
SAP Consulting: Digital Transformation in Logistics, Transportation, and Manufacturing
The future of MES lies in the cloud—and on the shop floor. As the only SAP DM consulting firm that also specializes in production planning, we combine IT excellence with real-world manufacturing expertise to deliver a transformation that truly works.
io supported Ingersoll Rand as an implementation partner in implementing SAP Digital Manufacturing at its Bad Neustadt site.
SAP Consulting: Digital Transformation in Logistics, Transportation, and Manufacturing
The future of MES lies in the cloud—and on the shop floor. As the only SAP DM consulting firm that also specializes in production planning, we combine IT excellence with real-world manufacturing expertise to deliver a transformation that truly works.
io supported Ingersoll Rand as an implementation partner in implementing SAP Digital Manufacturing at its Bad Neustadt site.