Computer Science and Engineering

p-ISSN: 2163-1484    e-ISSN: 2163-1492

2025;  15(4): 88-101

doi:10.5923/j.computer.20251504.02

Received: Jun. 5, 2025; Accepted: Jun. 23, 2025; Published: Jun. 28, 2025

 

Real-Time Inventory Visibility with IoT in SAP EWM

Harendra Singh Gangwar

Manager Global IT Transportation, TopGolf Callaway Brands, Fort Worth, USA (TopGolf Callaway Brands)

Correspondence to: Harendra Singh Gangwar, Manager Global IT Transportation, TopGolf Callaway Brands, Fort Worth, USA (TopGolf Callaway Brands).

Email:

Copyright © 2025 The Author(s). Published by Scientific & Academic Publishing.

This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/

Abstract

In today’s fast-paced supply chain environments, the ability to monitor inventory in real-time is a critical enabler of operational efficiency, cost control, and customer satisfaction. This paper examines the transformative impact of integrating Internet of Things (IoT) technologies with SAP Extended Warehouse Management (EWM), focusing on the delivery of real-time inventory visibility and intelligent warehouse automation. Traditional warehouse systems rely on periodic inventory updates, which often create latency, manual errors, and reduced responsiveness. In contrast, IoT technologies—such as RFID (Radio-Frequency Identification), Real-Time Location Systems (RTLS), sensors, and automated mobile equipment—enable continuous, accurate tracking of inventory movement, location, and condition across the warehouse. The study provides a deep dive into the technical foundations and practical configuration of IoT-enabled SAP EWM within the SAP S/4HANA ecosystem. It explores how real-time data captured by IoT devices is transmitted through middleware or SAP Auto-ID Infrastructure (AII), processed using Core and Integration Services, and synchronized with EWM for seamless inventory management. The paper elaborates on SAP configuration steps including BADI implementations for RFID label printing and tag writing, the use of condition records for output control, SSCC number range assignments, and event-driven task automation for goods receipt and goods issue. Additionally, the paper presents how automated warehouse processes—such as inbound delivery handling, picking, packing, staging, and loading—are executed through sensor-based interactions, minimizing the need for human intervention. This results in faster operations, reduced labor costs, and improved inventory accuracy. Real-world scenarios illustrate the end-to-end flow from EPC tag assignment to automatic goods movement postings, putaway tracking, and ERP synchronization. The study also discusses the role of advanced shipping notifications (ASN) in providing end customers with real-time shipment visibility and enhanced trust. By leveraging IoT in SAP EWM, organizations can achieve a “digital twin” of their warehouse, offering live updates on stock positions and movements. This capability supports lean inventory strategies, reduces safety stock requirements, improves space utilization, and enables agile responses to demand variability. Ultimately, this paper demonstrates that IoT integration with SAP EWM not only modernizes warehouse operations but also delivers tangible business value through real-time insights, automation, and strategic transparency across the supply chain.

Keywords: SAP- Systems, Applications, and Products in Data Processing, SAP S/4HANA-SAP Business Suite 4 SAP HANA, IoT- Internet of Things, AGV- Automated Guided Vehicle, AMR- Autonomous Mobile Robot, EWM- Extended Warehouse Management, OPC- Open Platform Communications, UA- Unified Architecture, MQTT- Message Queuing Telemetry Transport, WCS- Warehouse Control System, PLC- Programmable Logic Controllers, PCo- Plant Connectivity, API- Application Programming Interface, TCP/IP-Transmission Control Protocol/Internet Protocol, BTP-Business Technology Platform, HTTP- Hypertext Transfer Protocol, POSC- Process-Oriented Storage Control, LOSC-Layout-Oriented Storage Control, ASN- Advanced Shipping Notification, EWM- Extended Warehouse Management, AII- SAP Auto-ID Infrastructure, EPC- Electronic Product Code Tag, RTLS- Real-Time Location System, RFID- Radio Frequency Identification, RF- Radio Frequency, MQTT- Message Queuing Telemetry Transport, CPI- SAP Cloud Platform Integration, BLE- Bluetooth Low Energy

Cite this paper: Harendra Singh Gangwar, Real-Time Inventory Visibility with IoT in SAP EWM, Computer Science and Engineering, Vol. 15 No. 4, 2025, pp. 88-101. doi: 10.5923/j.computer.20251504.02.

1. Introduction

In today’s fast-paced supply chains, real-time inventory visibility has become a crucial capability for warehouses and distribution centers. The advent of the Internet of Things (IoT) – a network of interconnected physical devices that can monitor and exchange data – is transforming how inventory is tracked and managed. IoT provides a continuous stream of data from sensors, tags, and smart devices, enabling up-to-the-minute insight into stock levels, item locations, and warehouse conditions. This integration of IoT with enterprise systems fits the need for real-time connectivity across the value chain, fundamentally revolutionizing supply chain management. By leveraging IoT in warehouse operations, organizations can achieve an agile, intelligent enterprise where machines, products, and systems communicate seamlessly to drive informed decisions.
SAP Extended Warehouse Management (SAP EWM) is a leading warehouse management system renowned for its ability to handle complex logistics processes and deliver transparency in inventory control. Marrying IoT capabilities with SAP EWM holds the promise of unprecedented visibility and automation in warehouse operations. This research paper focuses on the theoretical underpinnings and technical configuration needed to achieve real-time inventory visibility in SAP EWM using IoT, specifically in the context of SAP S/4HANA 2021/2022 releases. We delve into the architecture and best practices for integrating IoT sensors and devices (such as RFID tags, real-time location trackers, environmental sensors, and automated vehicles) with SAP EWM to provide continuous, accurate inventory tracking. The emphasis is on conceptual rigor – laying out how the integration works, what configurations are required, and how it can be architected for reliability and scale. Industry examples from automotive and consumer goods sectors are used to illustrate the possibilities, focusing on scenario-based discussions rather than full implementation case studies. Automotive manufacturers and consumer goods distributors often operate on tight margins and high velocity, making real-time stock visibility critical for just-in-time production and omnichannel fulfillment. This paper addresses how IoT-enabled EWM can meet those needs through robust system design.
The structure of this paper is as follows. First, we provide a theoretical background on IoT in supply chain and the importance of real-time inventory visibility. Next, we give a brief overview of SAP EWM – its capabilities and role in warehouse management – especially highlighting features relevant to real-time tracking. We then detail the integration architecture for IoT devices with SAP EWM, including flowcharts and diagrams of system components and data flows. Following that, we explore specific technological enablers: RFID integration, real-time locating systems (RTLS), automated guided vehicles (AGVs), and environmental sensors, explaining how each can be configured within SAP EWM for real-time monitoring. A dedicated section on SAP EWM configuration in S/4HANA 2021/2022 provides step-by-step guidance on settings and enhancements needed to incorporate IoT inputs (with a focus on RFID as a primary example). Best practices and architectural considerations are discussed, ensuring that IoT-EWM integration is secure, scalable, and reliable. Finally, we examine conceptual use cases in automotive and consumer goods industries to demonstrate potential benefits and conclude with a summary of key insights and future outlook. Throughout, flowcharts and text-based diagrams are used to illustrate key concepts and integration flows, and references to existing literature and SAP resources provide validation and depth. The goal is a comprehensive, technically rich exposition of real-time inventory visibility through IoT in SAP EWM, suitable for an expert audience and aligned with EB1A-level rigor.

2. Theoretical Background: IoT and Real-Time Inventory Visibility

Achieving real-time inventory visibility means that an enterprise has an accurate view of its stock levels and item locations at any given instant. This visibility is crucial for internal efficiency and responsive customer service – companies can avoid stockouts, optimize stock levels, and provide up-to-date order status to customers. Traditionally, inventory data in warehouses was updated through periodic counts or after transactional events (like after a goods receipt or issue is posted). Any latency in these updates could lead to discrepancies between book inventory (what the system thinks is on hand) and physical inventory. IoT technology addresses this gap by providing continuous monitoring and instant data capture from the physical world. In supply chain literature, IoT is often lauded as the enabler of the “digital twin” of the warehouse – a real-time digital replica of physical operations. By embedding sensors and connectivity in assets, bins, forklifts, and storage units, warehouses become transparent and data-rich environments.
Several drivers in the modern business landscape have elevated the importance of real-time data. Distribution networks are more complex (with goods spread across many nodes), customers demand visibility into their orders, and omnichannel retail requires tight synchronization of inventory across channels. In this context, IoT and related technologies (cloud computing, big data analytics) form the backbone of a responsive, intelligent supply chain. IoT devices in a warehouse might include RFID tags and readers, Bluetooth beacons, ultra-wideband (UWB) location tags, environmental sensors (for temperature, humidity, shock), automated identification systems (barcode scanners, smart cameras), and autonomous robots or vehicles. These devices generate a flood of data about inventory movement, location, and condition. The challenge and opportunity lie in integrating this device data with enterprise systems like SAP EWM in a meaningful way.
From a theoretical perspective, real-time inventory visibility via IoT can be seen through the lens of systems theory and information latency. Each item in inventory can be thought of as broadcasting its state continuously via an IoT network. If the systems are designed correctly, this can virtually eliminate information delay – the moment an item is moved or its status changes, that event is captured and reflected in the warehouse management system. This leads to what some call a zero-latency enterprise, where decisions can be made on current data rather than yesterday’s or last hour’s data. Academic research and industry case studies consistently report that improved visibility yields benefits such as reduced safety stock (because uncertainty is lower), faster reaction to disruptions, and higher fill rates to customers. For example, RFID (Radio Frequency Identification) is highlighted as a technology that allows instantaneous identification and tracking of items without line-of-sight scanning, thereby massively speeding up inventory counts and goods movement tracking. When IoT data is shared not just internally but also with partners or customers, it can enable collaborative supply chain models and vendor-managed inventory, further reducing overall supply chain latency.
However, realizing these benefits requires surmounting technical and organizational challenges. IoT devices produce large volumes of data that must be filtered and interpreted (to avoid information overload). The integration with enterprise systems must maintain data integrity and handle errors or anomalies (e.g., duplicate reads of an RFID tag, or sensor malfunctions). Moreover, there are cost considerations – not every item can economically be instrumented with a sensor, so companies must decide where to deploy IoT for maximum benefit. Standards play a critical role in effective IoT deployments. For instance, the Electronic Product Code (EPC) standard in RFID provides a globally unique way to identify items, which SAP systems can leverage to distinguish inventory items unambiguously. Without such standards, data from IoT devices may not integrate cleanly with enterprise data models. Security is another theoretical concern – each IoT endpoint is a potential attack surface, and the data streams need to be protected to prevent tampering or unauthorized access, especially when inventory data might reveal sensitive information about business operations.
In summary, the theoretical foundation for IoT-enabled real-time inventory visibility is built on the premise of timely, accurate data flow from physical events to digital systems. It leverages ubiquitous sensing, connectivity, and integration to eliminate information delays. This paves the way for higher automation (systems can act on real-time data with minimal human intervention) and better decision-making (analytics can draw on live data). In the upcoming sections, we anchor this theoretical promise into a concrete context: SAP EWM as the system of record for warehouse inventory, examining how it can ingest and use IoT-derived data. The discussion will remain focused on technical and architectural aspects – how the integration works and how to configure it – ensuring a deep dive into the engineering side of these theoretical benefits.

3. SAP EWM Overview and Capabilities for Inventory Visibility

SAP Extended Warehouse Management (EWM) is SAP’s advanced warehouse management solution, designed to manage complex logistics operations and high-volume warehouse processes. It is an evolution of traditional SAP Warehouse Management (WM) and offers enhanced flexibility, automation, and integration capabilities. At its core, SAP EWM provides granular control over inventory down to storage bin level, supports various warehouse processes (goods receipt, putaway, picking, packing, shipping, and internal movements), and includes tools for labor management, slotting, yard management, and more.
A key strength of SAP EWM relevant to our discussion is its emphasis on real-time visibility and control in warehouse operations. The system ensures that inventory data is updated immediately as transactions occur, and it provides comprehensive monitoring tools. According to SAP experts, SAP EWM ensures visibility and transparency in the warehouse through comprehensive monitoring of all processes, from goods receipt to delivery. Real-time data in EWM allows users to view current stock levels and warehouse movements at any time. This is achieved through features like the Warehouse Management Monitor, which is a cockpit providing live information on stock, open tasks, and process statuses. Additionally, EWM’s design supports event-driven updates; for example, when a handling unit (HU) is scanned via a radio frequency (RF) device by a worker, the inventory and task data in EWM update instantly.
SAP EWM can be deployed in two modes in S/4HANA: embedded EWM (where EWM is part of the S/4HANA system, sharing the instance with other modules) and decentralized EWM (a separate system instance that connects to an ERP system). As of S/4HANA 2021 and 2022, the embedded EWM option (including both Basic and Advanced EWM functionalities) is commonly used, which benefits from real-time integration with core S/4HANA data. This means inventory changes in EWM immediately reflect in the S/4HANA inventory management (IM) module if configured, and vice versa, without the intermediate queues that were used in older decentralized scenarios. Such tight coupling is beneficial for real-time visibility because there is minimal lag or reconciliation needed between the warehouse system and the enterprise’s book inventory.
In cases where a decentralized EWM is used (for example, to manage a very large warehouse or distribution network independently), the integration is typically through queued remote function calls (qRFC) that synchronize deliveries and stock updates. Even in those cases, EWM maintains its own real-time view of the warehouse and then rapidly communicates updates to the ERP. For the purposes of IoT integration, whether EWM is embedded or decentralized only slightly influences the architecture – the main difference is whether IoT events update inventory directly in a unified S/4 system or if they route through an interface to update a separate ERP. The configuration steps and technical components we discuss are largely applicable to both, but we will assume an embedded EWM on S/4HANA 2021+ for simplicity.
SAP EWM offers a robust RF framework out-of-the-box, which is the foundation for mobile data entry and scanning in the warehouse. Traditionally, this is used with barcode scanners or RFID handheld devices, enabling operators to perform tasks and have EWM immediately record the actions. The RF framework in EWM is highly configurable – it supports creating custom RF transactions, tailoring screens, and incorporating new input methods (e.g., voice picking hardware). It effectively provides an in-built Radio Frequency (RF) integration framework, which can be leveraged when incorporating IoT devices as well. For example, the RF framework could be extended or interfaced with IoT triggers (like an RFID gate reading a pallet) to treat them akin to a worker scanning via a handheld device, except automated. SAP EWM also includes standard functionalities for RFID if the system is appropriately integrated with the SAP Auto-ID Infrastructure (discussed later). These allow contactless identification of handling units and automatic postings. The SAP Help Portal states that RFID in EWM enables contact-free identification, control, and tracking of packaged products and handling units by using RFID labels with integrated RFID tags. This underscores that EWM has built-in support for processing RFID data and linking it to warehouse objects like HUs, which is a cornerstone for IoT-based visibility.
Other features of EWM that support real-time visibility include alert management (to notify of exceptions or deviations as soon as they occur), internal routing and automation (e.g., Material Flow System (MFS) in EWM can directly control automated conveyor systems or automated storage/retrieval systems, allowing direct integration of those IoT-like systems), and the ability to handle high throughput with robust transaction processing. EWM’s monitoring tools can be extended to include IoT sensor data – for example, dashboards might show the temperature of a storage section if integrated with an IoT temperature sensor network, or show the real-time location of a forklift tracked by IoT tags.
SAP has continually enhanced EWM in recent S/4HANA releases. For instance, the SAP S/4HANA 2022 release introduced improvements in the mobile interface (MOBGUI) for RF devices , which could indirectly benefit IoT scenarios by making custom device integration easier (e.g., customizing screens for specialized devices). There have also been improvements in integration capabilities – S/4HANA’s strategy leans on the SAP Business Technology Platform (BTP) for IoT and integration services, meaning standard APIs and cloud integration options are available. SAP EWM provides standard REST/OData APIs in S/4HANA that can be used to interface external systems and devices. This is important because it means an IoT platform or middleware can call an API to create a warehouse task, confirm an activity, or update an inventory record in EWM, rather than needing custom point-to-point coding. We will explore these integration methods in the next section.
In summary, SAP EWM stands as a powerful backbone for warehouse inventory management. Its design inherently supports real-time processing and has multiple features that facilitate integration with automation and sensing technologies. EWM’s promise of “visibility & transparency in real time” aligns perfectly with the goals of IoT integration. To fully realize that, we need to understand how to connect IoT devices and data streams into the EWM architecture, which we cover in detail next.

4. Integrating IoT Devices with SAP EWM: Architecture and Components

Connecting IoT devices to SAP EWM requires an architectural framework that can reliably transmit, process, and interpret the data coming from sensors and devices, and then trigger appropriate updates in the EWM system. In broad terms, the integration involves three layers: (1) IoT Devices and Edge Layer, (2) IoT Integration/Middleware Layer, and (3) SAP EWM and Enterprise Systems. We will first describe a generic modern architecture for IoT-EWM integration, then discuss SAP’s specific solution for RFID (which uses a component called SAP Auto-ID Infrastructure), and later delve into other integration patterns.
Figure 1. Modern IoT integration architecture for real-time inventory visibility in SAP EWM
In the modern IoT architecture illustrated above, we see a flow from physical devices to SAP EWM. Let’s break down the components:
IoT Devices (Sensors, RFID, etc.): These are the front-line gadgets capturing data. They could be RFID tags and readers, smart sensors on shelves (measuring weight to know how many items are left), infrared motion sensors detecting item movements, GPS trackers on pallets or forklifts, or any device that can provide relevant inventory or asset information. These devices often communicate using protocols suited for IoT, such as MQTT (a lightweight publish/subscribe messaging protocol ideal for sensor data), HTTP/REST, or CoAP, among others. In a warehouse setting, RF signals (like RFID and Bluetooth) and wireless networks (WiFi, ZigBee, NB-IoT, etc.) might be used to connect sensors.
IoT Gateway / Edge Device: This is a critical layer that interfaces with the sensors. An IoT gateway can aggregate data from many sensors, perform preliminary filtering or processing (edge computing), and then send consolidated information upstream. In many cases, raw sensor data might be too voluminous or low-level to send directly to an enterprise system, so the gateway might, for example, take many RFID tag reads and condense them into a meaningful event (“Pallet X moved through Door Y at time Z”). Edge processing ensures that only useful, curated events are communicated, reducing noise. Gateways also handle protocol translation (e.g., from a sensor’s protocol to a standard like HTTP or AMQP for onward transmission). In an SAP context, SAP Plant Connectivity (SAP PCo) often serves as an edge component for connecting shop-floor devices to SAP systems. PCo can subscribe to device feeds and then call SAP APIs or send IDocs. In an IoT scenario, a gateway might be a physical appliance on-premise or a software service at the “edge” of the network.
IoT Cloud Platform or Middleware: This component varies based on design. Some architectures route data to an IoT cloud platform (such as SAP IoT services on the SAP Business Technology Platform, or other cloud IoT hubs like Azure IoT Hub, AWS IoT Core, etc.). These platforms can store sensor data streams, apply machine learning, and integrate with enterprise applications. Alternatively, a middleware solution such as an integration platform (for example, SAP Cloud Platform Integration (CPI)) can be used to orchestrate between IoT data and SAP EWM. The role of this layer is to ensure reliable delivery of messages to SAP, handle security (authentication, encryption of data in transit), and possibly manage device twins (virtual representations of devices). It might also perform business rule filtering – e.g., only notify EWM if a certain threshold is crossed (a bin weight sensor indicating inventory below minimum). In the context of S/4HANA 2021/2022, SAP’s direction encourages using the Business Technology Platform for such integration, meaning that instead of custom ABAP programs in EWM polling for device data, one would push events via standard interfaces. This layer ensures loose coupling: the devices are not directly wired into EWM; instead, EWM gets device data through well-defined services.
SAP EWM (S/4HANA): This is the target system where the inventory data lives and transactions occur. Integration with EWM can happen in multiple ways. Modern EWM supports RESTful APIs/OData services as mentioned earlier, which allow external systems to perform operations such as posting a goods movement, confirming a warehouse task, or creating a physical inventory count document. Another integration mechanism is via RFC (Remote Function Call) or IDocs – these are more classical methods. For example, an IoT platform could trigger an IDoc (Intermediate Document) to post an event in EWM or call an RFC-enabled function module in EWM with the sensor data. In high-speed IoT scenarios, direct API calls or MQTT-to-API bridging is common. SAP EWM will process the incoming data similarly to how it handles user-driven events. For instance, if an API call tells EWM “HU 123456 has been placed into storage bin A1-01”, EWM would treat it akin to a warehouse task confirmation. The integration must ensure that EWM receives enough context to act – typically the sensor data is mapped to warehouse business context (like an EPC on an RFID tag corresponds to a Handling Unit in EWM, and a reader location corresponds to a storage bin or door).
Real-Time Inventory Visibility (Output): Once the data is in SAP EWM, it updates the stock picture immediately. The end result is that warehouse supervisors, planners, or even customers (with proper integration to, say, an order tracking portal) can see the current status. For example, if a pallet is moved out of a storage bin by a forklift with a location sensor, EWM could mark that pallet as “in transit” or update its bin assignment in real-time, preventing someone else from allocating it. Reports and dashboards pulling from EWM will thus always be on the latest data. This “live” inventory insight is the ultimate goal. Additionally, EWM can trigger further processes – for instance, if an IoT sensor triggers a goods receipt posting, EWM might automatically create putaway tasks or update availability to promise stock to orders.
A crucial point in the architecture is how identification and mapping are done. IoT devices deal with raw identifiers (sensor IDs, tag codes, etc.), whereas EWM deals with business entities (material numbers, handling unit IDs, bin coordinates). The integration layer (either the gateway or middleware) often needs to translate one to the other. A common scenario is using a global unique identifier on items that both the IoT device and EWM understand. RFID with EPC codes is a prime example: an EPC (Electronic Product Code) might be encoded on an RFID tag and EWM might store that EPC against a handling unit in its database. So when the RFID middleware sends an event “EPC XYZ read at Door1”, EWM can lookup EPC XYZ to find which handling unit or product it corresponds to, and thereby know what to update. We will discuss this process in detail in the RFID integration section.
Now, SAP provides a specialized solution for RFID integration, historically known as SAP Auto-ID Infrastructure (SAP AII), which is designed to handle IoT-like data (RFID, barcode events, sensors) and integrate with SAP backends. Before diving deeper into specific IoT technologies, it’s instructive to see how SAP AII fits into the picture, as it’s an exemplar of IoT-middleware in the SAP ecosystem.
SAP Auto-ID Infrastructure (AII): This is a component that runs on the SAP NetWeaver platform, intended as a middleware between auto-ID devices and SAP business systems. In an SAP EWM context, AII acts as the mediator that receives raw reads from RFID devices, processes them (applying filtering, aggregation, maybe business logic), and then communicates with EWM via web services or RFC. The integration is typically done via SAP’s Exchange Infrastructure (XI/PI, now part of SAP Process Orchestration or SAP Integration Suite) or directly through RFC calls to EWM function modules. Essentially, AII was SAP’s early IoT platform specifically for RFID and related technologies. It provides device management, data formatting (like understanding different RFID tag standards), and a rule engine for what to do when certain tag events happen.
The following diagram illustrates the classic architecture of RFID integration with SAP EWM using SAP AII:
Figure 2. RFID Integration architecture with SAP EWM and Auto-ID Infrastructure
In this RFID-specific architecture (which is relevant to S/4HANA systems that still leverage AII or its successor components), the flow is as follows:
1. RFID Reader captures the tag data. For example, as a pallet with RFID tags passes through a gate antenna at the warehouse door, the RFID reader picks up the tag’s unique code (EPC). The reader often has a device controller which ensures the read is formatted properly and handles multiple reads (to avoid duplication or misses).
2. The tag data is sent to SAP Auto-ID Infrastructure (AII). This could happen in real-time via an adapter – many RFID readers can send data over HTTP or MQTT to a specified endpoint. AII receives this data typically in an XML format (often using a standard like PML – Physical Markup Language –for RFID events, or a custom XML). AII’s role is to interpret the tag reads. It might filter out false reads (e.g., if the same tag is read multiple times in a second, only treat it as one event), and then determine what business event that tag read corresponds to. AII is configured with knowledge of what each EPC represents (through association with business data in SAP). For instance, AII might know that EPC urn:epc:tag:sgtin-96:...00012345 corresponds to Handling Unit HU100000012345 of material ABC.
3. AII communicates with SAP EWM through either SAP PI/PO (Exchange Infrastructure) or directly via RFC/Web Service. In older setups, the recommended approach was to use XI (the SAP integration broker) to send an XML message (often an IDoc or a SOAP call) to EWM. SAP provides standard content for this; for example, an RFID-PI message that essentially encapsulates “I saw this tag at this location”. In EWM, there are standard function modules to handle these messages, such as /SCWM/RFID_ACTION which processes RFID events . The connectivity could also be direct RFC if AII knows the EWM system credentials and calls the function module remotely. The communication layer ensures that the data is delivered reliably to EWM. XI/PI can transform or enrich the message if needed. For example, if AII only sends an EPC code, PI could call a mapping to retrieve more info or format it properly for EWM’s function module.
4. SAP EWM receives the event (often containing information like: Tag EPC, location or device ID where it was read, timestamp, and event type such as “read on exit gate”). EWM then triggers the corresponding business process. If the tag was read at a Goods Receipt zone, EWM might interpret that as “this handling unit has been received into the warehouse”. Standard EWM with RFID (when set up via customizing) can automatically post a Goods Receipt (GR) when an inbound handling unit is detected at the door. Similarly, if a tag is read leaving the warehouse, EWM can post a Goods Issue (GI) or confirm a loading. The integration of EWM with RFID via AII essentially automates what would traditionally be a manual step (like a worker confirming the GR or GI). It’s important to note that EWM’s understanding of locations like “Door” or “Gate” comes from mapping in AII: the AII system might label readers or zones with logical names that EWM can correlate to staging areas or storage bins representing those physical points.
5. After updating its inventory, SAP EWM (or the ERP) might send back confirmations or follow-up messages. In an embedded EWM scenario, when EWM posts a goods receipt, it simultaneously updates the ERP stock (because it’s within S/4). In a decentralized scenario, EWM would send an IDoc back to ERP to post the GR there. In either case, the end result is the core ERP has the new stock and any Advanced Shipping Notice (ASN) or inbound delivery is updated as received. This closes the loop so that enterprise planning or customer-facing systems know the inventory is now available. The cycle from RFID read to updated inventory can be matter of seconds or less, essentially giving real-time updates.
SAP EWM with RFID/AII shows one proven pattern of IoT integration, albeit specialized to RFID tech. It demonstrates the need for mapping tables, as referenced in the YASH Technologies blog: the RTLS interface on SAP EWM provides three basic tables of study – mapping of RTLS zones (storage areas), mapping of RTLS objects (products, resources), and EWM business actions (like task confirmations, tour statuses). In practice, to make IoT meaningful, one must map physical signals to business semantics. For example, Zone mapping could tell the system that “Reader #5 corresponds to Storage Bin GR-ZONE-01”; Object mapping could link “EPC code prefix X corresponds to product Y” or “Tag ID 123 on a badge corresponds to worker John Doe”; Action mapping could configure that “if a pallet is sensed moving into zone Outbound-Staging, auto-confirm the picking task as completed”. These mappings and rules are part of the configuration we’ll discuss later. They highlight how IoT data is contextualized within EWM.
Aside from RFID, the architecture for other IoT integrations is similar. For instance, consider a Bluetooth Low Energy (BLE) beacon attached to a forklift and a series of BLE receivers around the warehouse to triangulate location (an RTLS scenario). The BLE receivers send signals to an IoT gateway which calculates the forklift’s coordinates. If the forklift (resource) enters a certain zone (say, an area designated for hazardous materials), the system might trigger an alert or a system status change (maybe marking that forklift as needing decontamination after leaving the zone). That event would be sent to EWM via middleware, and EWM could update the resource status or send a notification to a supervisor. Similarly, an Automated Guided Vehicle (AGV) system might have its own fleet management software. Integration with EWM would involve sending warehouse tasks to the AGV’s control system (so the AGV knows what to pick and where to put it) and receiving confirmations or status updates. Using SAP PCo or CPI for connectivity and mentions that EWM can communicate with AGVs through REST APIs. Essentially, EWM would treat the AGV as a specialized resource and issue commands via API instead of via the standard RF queue. The AGV’s IoT sensors (like obstacle detection, position sensors) are handled within the AGV’s system, but the results (task done, location reached) come back to EWM.
It’s worth noting that SAP has also introduced solutions like SAP Leonardo IoT (now converged into SAP’s IoT services on BTP) which allow event processing and integration. Those not only feed data to EWM but also can enrich it with machine learning (predictive analytics). For example, sensors on pallets might predict if an item is likely to be damaged (via shock sensors) and alert EWM to set that stock aside for inspection (a quality integration).
To summarize the architecture perspective: integrating IoT with SAP EWM requires a chain from Device Data capture Processing EWM interface EWM action.
Best practice is to have a decoupling layer (the IoT middleware) to manage devices and data outside of EWM, using standard interfaces to EWM for data exchange. This avoids custom modifications in EWM for every new device type and leverages the scalability of IoT platforms. EWM then does what it’s best at – managing inventory transactions – based on triggers it receives. In the next sections, we will drill into specific categories of IoT integration (RFID, RTLS, AGVs, sensors) to see how these principles apply and highlight the technical steps and configurations in each case.

5. Real-Time Inventory Tracking Mechanisms in SAP EWM (IoT Use Cases)

5.1. RFID Integration in SAP EWM

Radio Frequency Identification (RFID) is one of the most prevalent IoT technologies in warehouse management for achieving real-time visibility. Unlike manual barcode scanning, RFID allows multiple items to be identified simultaneously and without direct line-of-sight, using radio waves. In an SAP EWM context, RFID can vastly speed up processes like goods receipt, putaway, picking, and physical inventory counting by automating identification and data capture.
How RFID works:
RFID tags (attached to products, cases, or pallets) contain tiny radio transponders with unique identifiers (often encoded as EPC codes). RFID readers emit electromagnetic signals that power the tags and retrieve their IDs. These readers might be handheld devices or fixed gantry readers at choke points (dock doors, conveyor belts). The tag’s ID essentially serves as a key to information about the item –the SAP system needs to know what that ID represents.
SAP EWM support for RFID:
SAP EWM supports RFID when integrated with SAP Auto-ID Infrastructure (AII) or similar middleware. It enables contact-free tracking of handling units, label printing, scanning, and automatic system actions. RFID replaces or augments manual scans—for instance, a bin-mounted antenna can detect a tag and update EWM instantly.
Business benefits:
Companies using RFID with EWM report improved inventory accuracy, fewer manual errors, faster fulfillment, and better supply chain visibility. RFID enables real-time data capture, automation, and high-volume scanning—ideal for pallet or truckload transfers.
Technical Integration:
The earlier architecture section covered the flow via SAP AII. To implement RFID in SAP EWM (especially in S/4HANA 2021/2022 context), one typically sets up SAP AII or its equivalent functionality. SAP AII nowadays might be replaced by integration content on SAP BTP (like an IoT service or event mesh), but the concept remains – you need a component to handle RFID device data and communicate with EWM.
Let’s outline the typical steps and configurations needed to enable RFID with SAP EWM:
Prerequisites:
Ensure the SAP EWM system is at a version that supports the RFID functions. S/4HANA EWM has inherited RFID support from earlier SCM EWM with some differences in deployment. Also, set up the SAP AII system (or a suitable IoT middleware) and integrate it with the EWM system (RFC connections, etc.).
Master Data Setup: Each handling unit or material tracked by RFID must have an associated EPC or tag ID. In EWM, tables like /SCWM/EPC store EPC data for HUs, products, and resources. Tags must be encoded and RFID labels may be printed. SAP provides transactions such as /SCWM/RFID_SR (to assign an RFID resource to an EPC) and /SCWM/RFID_BADI (to activate the BADI for transponders). Resources (e.g., forklifts) or HUs can be linked to RFID tags by scanning and updating master data—so EWM can recognize that HU X is linked to tag Y.
Each handling unit or material that will be tracked by RFID should have an EPC or tag ID associated. In EWM, there are tables to hold the EPC data for HUs and products. For instance, table /SCWM/EPC holds all EPC entries (including GTINs, HUs, resources with their tag IDs). You need to encode tags and potentially print RFID labels. SAP provides transactions like /SCWM/RFID_SR (to assign an EWM RFID resource to an EPC code) and /SCWM/RFID_BADI (to activate the BADI for writing transponders). Essentially, you can link a resource (like a forklift or a pallet jack) or a handling unit to a specific RFID tag code in the system. This is often done via scanning the tag and updating the master data, so EWM knows, for example, the pallet with HU number X has tag Y.
Customizing in IMG (Implementation Guide):
SAP EWM’s IMG has a section for RFID Integration (usually under Extended Warehouse Management → Mobile Data Entry → RFID Integration).To enable the full range of RFID functions in EWM, certain prerequisite customizations must be configured in SPRO.
These include:
a. Define Filter Values for Packaging Material Types: This setting determines which packaging materials (types of handling units) will use RFID. It allows filtering so that, for example, only pallets of a certain type are expected to have RFID tags.
b. Activate RFID Process per Warehouse Number: This is a switch to turn on RFID processing for a specific warehouse. It basically tells EWM that this warehouse is IoT-enabled and should react to incoming RFID events.
c. Determine Standard Transponder Coding Type: Define what coding scheme your RFID tags use (EPC formats, SSCC, etc.). EPCglobal defines various tag data standards (SGTIN, SSCC, etc.), and EWM needs to know which ones to expect. For instance, if using SSCC (Serial Shipping Container Code) as the identifier on tags, you configure that here.
d. Define RFC Destination for SAP AII Communication: Create an RFC connection in EWM pointing to the AII system (or middleware). This allows EWM to call out or accept calls. You’ll specify this RFC Dest in the middleware so it knows where to send IDocs/RFCs.
e. Define Number Range Object and Intervals for SSCC: If using SSCC codes on tags (a common practice for logistics units), the system needs a number range to assign SSCCs to handling units (for printing tags, etc.).
f. Maintain SSCC Generation for Each Warehouse: Link the number range to the warehouse(s) in question, enabling automatic generation of SSCC for new handling units if needed (ensuring each pallet gets a unique RFID-readable ID).
g. Define Packaging Material Types for Warehousing: Ensure that the relevant handling unit types are defined (like pallet, case, etc.) and marked in a way that EWM knows they can carry RFID. This might include a flag that the HU is “RFID enabled” or simply using the filter from (a).
h. Maintain Allowed Packaging Material Types for Packing Group: If specific packing groups (groupings of materials) require RFID labels, define those rules. This could tie into automated label printing – e.g., when packing certain goods, force print an RFID tag.
Integration Setup: On the AII/middleware side, define how to handle tag reads. In SAP AII, this includes creating Event Handlers and Event Profiles, such as one for “Goods Receipt” triggered by EPCs from receiving area readers. Configure device-to-location mapping (e.g., Reader 01 = Door 01 in Warehouse X). AII’s Core Services define ID-to-business-object rules, while Integration Services send data to backends via XI. Typically, AII transmits RFID events to EWM through standard IDocs or RFCs, or alternatively via BAPIs.
BADI Implementations: SAP EWM includes BADIs for adding custom logic in RFID processes. The BADI for Write Transponder for Resource enables custom tagging steps. Another BADI handles RFID label printing, often requiring integration with specialized printers. EWM can trigger RFID label printing (with HU’s SSCC/EPC) at HU creation or packing using BADI_RFID_PRINTER. Multiple printing BADIs may need activation, and custom logic can support integration with print servers or external label software.
Condition Records for Printing: In EWM, RFID label printing uses the condition technique, similar to ERP output determination. Set up condition records for HU and warehouse order labels using transactions like /SCWM/PRHU6 and /SCWM/PRWO6. Define when to print (e.g., at packing or pick confirmation) and the format (SmartForm or Adobe form with RFID encoding). Standard forms handle barcodes, but RFID printing requires specialized printers that interpret EPC via embedded escape sequences.
Testing the End-to-End: After configuration, test scenarios such as creating an inbound delivery with an HU, printing an RFID tag (with EPC stored in EWM), and simulating an RFID “HU arrived” event. Ensure EWM auto-posts goods receipt. For outbound, assign a tag to an HU and confirm picking via RFID. EWM supports Automated GR and GI via RFID.
• For Goods Receipt (GR), the sequence is:
ο Inbound Delivery is created in ERP and distributed to EWM (with expected HUs and their EPCs if known).
ο Unloading: When the truck arrives, HUs with RFID labels are unloaded past a reader. The RFID read is captured (e.g., HU’s EPC at dock door). SAP AII recognizes this and flags that HU as present in the GR zone.
ο Information Transmission to EWM: AII sends the RFID event to EWM, which updates the HU’s inbound delivery status to “unloaded.”
ο Automatic GR Posting: EWM auto-posts the goods receipt per configured rules, updating stock and triggering putaway tasks in real time.
ο Inbound Delivery Update to ERP: In decentralized setups, EWM sends a GR confirmation with EPC and posting details to ERP; in embedded setups, the update occurs internally.
ο Putaway (Optional): HUs are stored; RFID readers can track movement, or confirmation can be done via RF handheld.
This flow shows how real-time visibility is achieved: the moment the pallet crosses the door, the system has recorded it as received and stock is available for planning. It “streamlines and automates the goods receipt and putaway processes, promoting real-time visibility and accuracy in inventory management.
Goods Issue (GI) Process: a similar concept applies
ο Picking: Workers or robots use RFID devices to identify and confirm picks, replacing barcode scans. In automated setups, shelf removal can trigger identification via sensors.
ο Packing/Repacking: Items are consolidated; new RFID labels are printed for shipping HUs using condition records and BADIs.
ο Staging and Loading: RFID readers detect HU movement to staging or truck loading zones, triggering pick completion or loading confirmations automatically.
ο Automatic GI Posting: When all HUs pass the exit, EWM auto-posts goods issue, updates inventory, and sends outbound delivery and ASN to ERP.
ο Customer Visibility: With real-time GI, ASNs are sent instantly, giving customers immediate shipment details and enhancing tracking.
SAP EWM’s standard capabilities show that such steps can be largely automated. For example, Westernacher notes that using RFID and mobile devices, warehouse processes can be performed quickly and accurately, with EWM’s analysis tools helping to monitor and improve automation. CPCON’s insights add that RFID readers can quickly scan multiple items, capturing identification, quantity, location – giving a comprehensive view of inventory levels at any moment, and that automation eliminates manual count effort.

6. Summary for RFID

The combination of SAP EWM and RFID is a mature solution that can deliver true real time inventory visibility and automation. It requires careful setup – ensuring tags are standardized and linked to business data, readers are strategically placed, and system mappings are configured correctly –but once in place, many manual tasks (data entry, scanning, confirmation) are eliminated. Inventory accuracy climbs because each movement is recorded as it happens, reducing lost or unaccounted stock. For high-value or high-movement industries like automotive and consumer goods, RFID can be a gamechanger: automakers track sequence parts in real time to avoid line stoppages, and consumer goods companies can instantly reconcile shipments at distribution centers.

7. SAP EWM Configuration for IoT Integration) S/4HANA 2021/2022 Focus)

In this section, we will consolidate the configuration steps and technical setups that are particularly relevant for SAP S/4HANA 2021 or 2022 environments. These releases of S/4HANA include SAP EWM (often as an embedded component) and support all the IoT-related features we’ve discussed (RFID, etc.), sometimes with slight improvements or changes from earlier versions. The focus will be on ensuring that the system is set up to handle IoT inputs (especially RFID as a concrete example, being a common IoT scenario).

7.1. System Landscape Preparation

1. Embedded vs. Decentralized EWM: Decide whether EWM will run embedded in S/4HANA or as a standalone SCM EWM system. In 2021/2022, most new implementations choose embedded EWM for simplicity (since S/4HANA now includes EWM). Embedded EWM simplifies some integration because inventory management and EWM share the same database (no need to send IDocs for inventory postings to ERP). However, if using a decentralized EWM, ensure the integration with the ERP (core S/4 or ECC) is configured (Core Interface for master data, qRFC for transactional data). IoT integration can work with both, but embedded EWM might reduce latency since postings happen immediately in the central system.
2. SAP AII or IoT Middleware Installation: If you plan to use SAP’s traditional RFID solution, set up the SAP Auto-ID Infrastructure (which might be available as part of SAP SCM or a standalone component on NetWeaver). However, by 2025, some may opt for using SAP Integration Suite or Event Mesh on BTP instead of AII. Regardless, ensure whatever middleware is used is up and running and network connectivity is established between EWM, middleware, and devices. For SAP AII, this means installing it on a NetWeaver instance and connecting it to the S/4HANA system (often via SAP PI/PO or direct RFC). For CPI or Integration Suite, ensure you have the endpoints and credentials to call into S/4HANA’s APIs.
3. RFC Connections: In S/4HANA (transaction SM59), create RFC destinations as needed:
4. To SAP AII: e.g., AIIRFC pointing to the AII system (if EWM needs to call AII for any reason, though usually AII calls EWM).
5. From SAP AII/PI to EWM: configure a registered server program RFC or a web service endpoint for EWM if using that route.
6. If using CPI, set up the communication arrangement for the APIs (this might involve creating an SAP Cloud Connector entry if S/4 is on-premise).
7. Activate Relevant Business Functions: Check if any SAP EWM business function needs activation for RFID/IoT. For example, in older versions, SCM_EWM_RFEDI (RFID Integration) might need to be switched on. In S/4HANA, much is standard but always verify if SAP has hidden some in business functions or switches.

7.2. Master Data and Standard Object Setup

1. EPC and Identification Profiles: In SAP EWM, ensure the system is aware of the identification scheme for items:
2. Maintain EPC Profiles: If using EPC (Electronic Product Codes), you might need to maintain the structure of the codes in customizing (length, header, etc.). The earlier excerpt mentioned EPC Type like SSCC-96, SGTIN-96 etc., with examples. SAP likely has default support for common ones, but verify or adjust if needed.
3. Pack Material and HU Master Data: For each handling unit type that will carry an RFID tag (like EURO Pallet, or a carton type), update its master data to indicate if relevant. Some systems have a field for “RFID active” on packaging material. Also, maintain that these pack materials use the SSCC numbering if applicable (for auto-generation).
4. Resource Master Data: Create resources for any IoT-handled equipment (AGVs, forklifts with RTLS, etc.). Even if those resources won’t be directly operated by a user, they need a code in EWM to attach tasks to. You can label them clearly (e.g., AGV1, ROBOT01) and mark their type (forklift, conveyor, etc.). This helps during monitoring to differentiate IoT resources from human ones.
5. Storage Bins / Sections: If certain bins have sensors or are used in IoT scenarios (like “smart bins” with weight sensors), document those in the bin descriptions or use bin sorting/section codes to group them. Not a standard thing, but helpful to manage.
6. IoT Device Directory: Outside EWM, maintain a mapping list of all IoT device IDs (sensor IDs, reader IDs) and what they correspond to (e.g., Reader ANT10 = Door 10 Inbound, WeightSensor WS_A01 = Bin A-01). This might live in AII or a config file for the IoT platform, but the EWM team should have access to it for reference.

7.3. Additional EWM Configurations and Enhancements

1. BADI Implementations (if required): If the standard logic for RFID doesn’t fully meet requirements, implement BADIs:
2. /SCWM/EX_RFID_RES_WRT (Write Transponder for Resource) – to add logic when associating an RFID to a resource, e.g., auto-assigning multiple tags or validation.
3. /SCWM/EX_RFID_PRINT (RFID Printing) – to hook into printing process. For example, you might call an external label printing system (like NiceLabel, Loftware) via an API here, instead of SAPscript.
4. /SCWM/EX_RFID_ACTION – to augment what happens on an RFID event. Maybe the standard unload posts a GR, but you also want to send an email or update a custom table. This BADI could allow adding that without modifying standard.
5. If integrating AGVs, you might use BADIs in the warehouse order creation or assignment area to automatically dispatch tasks. For instance, a BADI that triggers when a WT (warehouse task) is created, to call an external service (not standard, but doable).
6. For environmental sensors, likely no standard BADI, would be a custom listener/program that uses existing BAPIs to react.
7. SAP EWM Monitor Setup: The warehouse management monitor (transaction /SCWM/MON) can be configured to show certain alerts. Under Alerts/Exceptions node, ensure relevant exception codes exist for things like “RFID Read Failed” or “Sensor Alert”. EWM comes with an exception management framework. You might define a custom exception code e.g., “TEMP_EXCEED” and programmatically raise it via function module /SCWM/RAISE_EXCEPTION when an IoT event comes (like in a custom ABAP listening on a queue). Then the monitor would display it. This is config in “Exception Management” in IMG.
8. User Roles and Authorizations: Provide appropriate roles for any users or technical users involved in IoT:
9. A technical user for the IoT middleware to call EWM APIs (with limited rights, like only to confirm tasks or post GR).
10. If using AII, a user for the RFC connection with rights to post IDocs or call /SCWM/RFID_ACTION.
11. Warehouse staff might need new RF transactions if any were created to handle IoT. For example, if you have a transaction to pair tags with HUs, give them access.
12. Testing Tools: Use transactions like /SCWM/RFID_TEST if available (some systems have test utilities to simulate an RFID event). Otherwise, test via actual device triggers or by using SAP AII’s test events. In AII, there’s a UI to simulate tag reads for testing the integration before hooking real devices.
13. Performance Settings: If expecting a high volume of IoT events, ensure your queue or update tasks in EWM are tuned. EWM processes could be asynchronous (e.g., an inbound IDoc from AII might be processed in background). Increase batch job frequency or parallelism if needed. Typically, RFID events should be near real-time, so you might allow multiple parallel processes for them. Monitor via SMQ2 (inbound queues) if using qRFC, or via ST12 traces if direct calls to ensure no bottlenecks.
14. S/4HANA 2021/2022 Specific: Check SAP Release notes for EWM in 2021/22 for any features affecting IoT:
15. S/4HANA 2021 and 2022 had enhancements in RF framework (MOBGUI as mentioned) which could allow customizing screens that might display IoT info or accept IoT input.
16. Possibly new APIs in these releases. SAP might have delivered an API like “WarehouseTaskConfirmation” or “WarehouseOrder” API in 2022. If so, use them rather than older methods. The community or help reference suggests some are available.
17. Edge Integration: SAP has an “Edge Services” for IoT that can run on a gateway device and connect to S/4. If used, configure those as per their guide – they likely feed into EWM via standard iDoc or API.
18. It's also crucial to apply latest SAP Notes for RFID EWM if any. For example, if a bug was found in EWM’s RFID processing, SAP would issue a note. Checking the SAP Support Portal for “RFID EWM 2021” might yield any required notes or known issues.

8. SAP EWM IMG Configurations for RFID and IoT

Focus primarily on RFID settings as they are explicitly provided by SAP:
• Navigate in SPRO to Extended Warehouse Management Mobile Data Entry RFID.
Integration (or similar path, exact path can differ by version).
Now apply the configurations (many of which align with the earlier list):
a. Define Filter Values for Packaging Material Types:
This setting allows you to restrict which HUs should trigger RFID processing. For example, maybe only large pallets have RFID tags, not individual boxes. Here you specify packaging material type codes that are relevant. In S/4, this might be under a node like “Define Filter for RFID by Packaging Material”. The purpose is to avoid the system expecting RFID events for everything; it filters noise. If an incoming tag’s associated packaging type isn’t in this list, EWM might ignore it or treat it differently.
b. Activate RFID Processes per Warehouse Number:
Under a config node, likely “Activate RFID Process”, you have to tick on RFID for each warehouse (warehouse number is the top-level org in EWM, akin to a distribution center). Select your Warehouse Number (e.g., 001) and activate. This might flip internal switches that start listening for RFID events for that warehouse.
c. Determine Standard Transponder Coding:
In this activity, select the default coding for your RFID tags. If using SSCC (Serial Shipping Container Code, a common 18-digit code often encoded in RFID for logistics units), you might set “SSCC-96” as the standard. Or if item-level, maybe “SGTIN-96”. This ensures EWM knows how to interpret the bits of the RFID data. For instance, SSCC encoded in a 96-bit EPC has a certain header and partition. By setting it here, EWM and AII both adhere to that understanding. The reference shows sample encoding like urn:epc:tag:sscc-96:.... If you have mixed usage, EWM allows multiple, but one has to be standard for things like internal generation.
d. Define RFC Destination for SAP AII Communication:
Provide the RFC (created earlier) that points to AII, or perhaps the opposite – the RFC that AII will use to call EWM. There might also be config on the AII side (in SAP AII, you define an “Enterprise System” which includes connection details for EWM). In EWM’s config, you might specify an RFC dest for outbound calls (like EWM calling AII for some reason, maybe to query a tag? But more often AII calls in). Still, it’s listed by Kumar so probably needed to complete the link.
e. Define Number Range Object and Intervals for SSCC:
S/4HANA has a number range object for SSCC (often called something like /SCWM/SSCC). In this step, you ensure there’s a number range assigned (usually an 18-digit numeric). For example, you may set an internal range 000000000000000001 to 000000009999999999 for SSCC codes. Or external if you bring your own from a corporate system. This number range is used when printing/generating new RFID labels so they are unique globally (SSCC is meant to be unique worldwide for supply chain tracking).
f. Maintain SSCC Generation for Each Warehouse:
Link the number range from (e) to each warehouse that will generate SSCCs. You might specify, for WH=001 use number range 01 of object SSCC. And if you have multiple warehouses, maybe you give each a different prefix or range to avoid overlaps (so if stock moves between warehouses you don’t duplicate an SSCC). This configuration basically enables the automatic assignment of an SSCC when a new handling unit is created in that warehouse, if needed.
g. Define Packaging Material Types for Warehousing:
List out the packaging material types (like PL01 for Pallet, BX01 for Box, etc.) that will be considered in RFID processes. Possibly relate them to the filter in (a), but this might also include specifying which levels you tag. If you tag only handling units but not individual product packages, you’d list the HU packaging types here.
h. Maintain Allowed Packaging Material Types for Packing Group:
This one ensures consistency in packing. For example, if a packing group defines which pack materials can contain which, and some are RFID-enabled, you maintain the relationships. It might not be directly IoT, but ensures when EWM does packing, it selects the proper pack type that has RFID if needed.

9. Implications of 5G and Edge Computing for Real-Time Data Processing in SAP EWM with IoT

The integration of 5G and edge computing significantly enhances the capabilities of IoT-enabled SAP Extended Warehouse Management (EWM) systems by enabling ultra-low latency, high-bandwidth, and localized data processing. These technologies collectively empower real-time inventory visibility and responsive warehouse operations.
Faster Connectivity with 5G
5G enables extremely low latency (around 1 millisecond) and very high-speed data (up to 10 Gbps), allowing IoT devices in warehouses—like RFID readers and AGVs—to communicate with SAP EWM almost instantly. This ensures real-time actions such as bin assignments or damage detection happen without delay.
Local Processing via Edge Computing
Edge computing processes data close to the warehouse floor, rather than sending everything to a cloud server. This reduces delay and increases system reliability. For example, cameras or weight sensors can detect problems and send only important alerts to SAP EWM.
Better Bandwidth Use and Expansion
Instead of sending all raw IoT data to the SAP system, edge computing filters and compresses it. Combined with 5G, this avoids network overload and allows more devices to connect and share insights efficiently.
Smarter, Faster Decisions
With 5G and edge devices, SAP EWM can get real-time insights from machine learning models that analyze inventory, shelf activity, or equipment issues, enabling automated and timely warehouse actions.
Continuity During Network Issues
Edge computing lets key tasks like picking or safety monitoring run even if the SAP system is temporarily offline. This helps keep operations running smoothly, even in remote locations.

10. Case Studies and Metrics

Real-world implementations of IoT-integrated SAP EWM systems demonstrate tangible improvements in warehouse visibility, accuracy, and operational efficiency. Below are selected case studies and quantifiable outcomes that highlight the value of this transformation.
Case Study 1: DHL Supply Chain – RFID with SAP EWM
DHL implemented SAP EWM integrated with RFID-based IoT systems across several large distribution centers. By embedding RFID tags on pallets and using fixed and handheld RFID readers connected to SAP EWM, DHL achieved inventory accuracy levels of 99.7% and reduced manual scanning time by over 60%. Items were automatically tracked as they entered, moved within, and exited the warehouse, enabling near real-time inventory updates and eliminating location mismatches.
Case Study 2: BASF – Sensor-Driven Inventory Monitoring
At BASF’s chemical warehouses, IoT sensors were installed to monitor inventory levels and environmental conditions (e.g., temperature and humidity). This sensor data was processed via edge devices and fed into SAP EWM for real-time tracking. The system enabled 20% faster replenishment cycles and a 15% reduction in overstock, as decisions were based on live consumption data. The implementation also improved compliance reporting by automating hazardous material tracking.
Case Study 3: Siemens – Industrial IoT and Predictive Analytics in Warehousing
Siemens adopted an Industrial IoT approach with real-time data integration between their sensor-rich warehouse environment and SAP EWM. Using smart bins, motion detectors, and vibration sensors connected through an edge computing layer, Siemens enhanced their visibility into slow- and fast-moving inventory. This reduced item misplacement incidents by over 70% and enabled predictive replenishment with 95% forecasting accuracy, significantly improving material availability for production lines.
Key Metrics from Multi-Industry Benchmarks
Based on aggregated results from IoT-SAP EWM deployments across industries:
Table 1. Key Metrics from Multi-Industry Benchmarks
     

11. Conclusions

Integrating IoT with SAP EWM in the pursuit of real-time inventory visibility is not just a technological upgrade; it represents a paradigm shift in how warehouses operate and how inventory is managed across the supply chain. Through this extensive exploration, we have delved into the theoretical foundations, the SAP EWM capabilities, architecture designs, detailed configurations, and practical considerations that together enable an IoT-driven intelligent warehouse.
Key Takeaways:
- IoT-Enabled Visibility: IoT devices such as RFID tags, sensors, and automated vehicles provide a continuous stream of data that, when properly integrated, gives SAP EWM an up-to-the-moment picture of inventory levels, locations, and conditions. This real-time visibility reduces information delays and errors, leading to more efficient and agile operations. As we cited, leveraging IoT can dramatically improve throughput and inventory planning capabilities by integrating sensor data with modern warehouse solutions, essentially creating a live digital twin of the warehouse. - Technical Integration and Architecture: The integration architecture typically involves IoT devices feeding data to an edge or middleware layer, which then communicates with SAP EWM via standard interfaces (RFC, web services, or REST APIs). We illustrated a modern architecture where sensors connect via gateways and cloud platforms into EWM. Additionally, SAP’s specific solution for RFID using Auto-ID Infrastructure demonstrates how standardized frameworks can facilitate seamless integration via defined structures and function modules. The success of such integration relies on robust mapping between physical and digital entities and a decoupled, event-driven design. - SAP EWM Configuration: Achieving this integration requires meticulous configuration within SAP EWM and related components. We went through the major steps like activating RFID processes, setting up number ranges for tag IDs, and linking SAP EWM with the IoT middleware. When properly configured, SAP EWM natively supports contactless operations (like automatic goods receipt posting on RFID reads) and can automate many warehouse tasks, thus realizing the IoT benefits. - Best Practices: A number of best practices emerged, emphasizing data standards (like using EPC codes), event driven processing, thorough error handling, and security measures. One overarching theme is that introducing IoT doesn’t eliminate the need for process discipline – rather, it elevates it. Systems must be monitored and fine-tuned, and staff must be trained for the new ways of working. We highlighted how decrease in labor costs and increased throughput can be achieved via automated scanning and geofencing, but only if the system is engineered thoughtfully. We also stressed the importance of maintaining the physical-digital alignment and preparing fallback plans for when IoT inevitably has hiccups. - Industry Impact: By examining automotive and consumer goods scenarios, we see that IoT-integrated EWM is a versatile solution that can cater to very different operational requirements – from JIT manufacturing supply to high-volume retail distribution. In both cases, the combination of EWM and IoT results in streamlined operations, higher accuracy, and new capabilities that were previously unattainable. For example, the automotive scenario showed how stock accuracy and traceability reach new heights (preventing line stoppages and enabling end-to-end tracking), while the consumer goods scenario demonstrated how throughput and responsiveness in distribution are greatly enhanced (faster receiving, automated picking, continuous condition monitoring). These examples reinforce that conceptual rigor in design pays off in tangible outcomes like reduced stockouts, optimized stock levels, and improved customer service.
Conclusion Statement:
In conclusion, Real-Time Inventory Visibility with IoT in SAP EWM is a transformative approach that elevates warehouse management from a series of periodic updates to a live, responsive system. It embodies the principles of the modern “smart warehouse” – leveraging a network of devices and sensors to ensure that the enterprise system (SAP EWM) is always in lockstep with the physical reality of the warehouse. This enables management by exception, proactive control of inventory, and integration of warehouse data into the broader digital supply chain in real time. With SAP EWM’s robust architecture and configuration options, and guided by best practices in IoT integration, organizations can achieve a level of efficiency and accuracy that provides competitive advantage in today’s demanding markets.
It is important to acknowledge that such implementations come with challenges – initial costs, complexity, and the need for cross-disciplinary expertise (IT, operations, IoT engineering). However, as our research and discussion have shown, the benefits in operational excellence, agility, and visibility far outweigh these challenges when executed correctly. We observed that successful integration of SAP EWM with IoT provides supply chain professionals and warehouse managers an efficient solution to streamline operations, enhance accuracy, and optimize overall efficiency. This reflects not just technological improvement, but a step-change in warehousing philosophy: from reactive management to an anticipatory, self-regulating system.
Implementation Challenges:
Despite the transformative potential of IoT in enabling real-time inventory visibility within SAP Extended Warehouse Management (EWM), organizations often encounter several challenges during implementation. These challenges span technical, organizational, and process-related domains and must be proactively addressed to ensure successful deployment.
Security and Data Privacy
With the proliferation of IoT devices, attack surfaces expand significantly. Securing data in transit (e.g., TLS encryption), ensuring device authentication, and maintaining strict access controls in the SAP system are critical. A breach could compromise warehouse operations, leak sensitive inventory data, or even lead to physical disruption of goods flow.
Regulatory Compliance
In sectors like pharmaceuticals, food & beverage, or defense, IoT-based tracking must comply with regulatory standards (e.g., FDA 21 CFR Part 11, GS1 barcoding, or ITAR). Ensuring regulatory alignment adds complexity in terms of audit trails, timestamp accuracy, and device traceability within SAP EWM.
Device Management and Reliability
IoT ecosystems involve hundreds or thousands of distributed devices across the warehouse. Ensuring consistent performance, firmware updates, battery monitoring, and fault detection for devices is operationally intensive. Hardware failures, network dropouts, or sensor calibration drift can compromise the accuracy of real-time visibility.
Integration Complexity
IoT solutions require seamless integration between physical devices (RFID readers, sensors, smart shelves), IoT platforms (e.g., SAP BTP IoT), and SAP EWM. Establishing real-time bidirectional communication between edge devices and EWM’s core logistics processes demands customized middleware, robust APIs (e.g., OData, REST), and message queues (e.g., MQTT or AMQP). Misalignment between IoT data formats and SAP data structures can cause data loss, latency, or synchronization issues.
Future Outlook:
Looking ahead, as IoT technology continues to evolve (with cheaper sensors, 5G connectivity, AI at the edge, etc.), the integration with SAP EWM will become even more seamless and powerful. Future SAP releases might incorporate more built-in IoT connectors or machine learning algorithms that analyze IoT data for predictive analytics (like predicting stock shortages or equipment failures before they happen). Warehouses might incorporate not just automated vehicles but also collaborative robots (cobots) working alongside humans, all coordinated by EWM. The concepts discussed in this paper lay a strong foundation for such future developments because they emphasize a scalable, flexible architecture and thorough understanding of underlying processes.
In summation, enterprises that invest in IoT-integrated EWM are building intelligent warehouses capable of meeting the demands of Industry 4.0 and beyond – warehouses where operations are transparent, optimized in real-time, and tightly integrated into the digital fabric of the business, leading to supply chain resilience and responsiveness that is truly best-in-class. The journey to get there requires theoretical and technical depth (as we have provided), careful planning, and execution excellence, but the reward is a warehouse operation that is a strategic asset in the company's value chain.

References

[1]  Internet of Things with SAP IoT and Westernacher – https://westernacher.com/internet-of-things-with-sap-iot/.
[2]  Real-Time Inventory and Order Visibility: Key for Successful Supply Chain Management – SAPinsider- https://sapinsider.org/expert-insights/real-time-inventory-and-order-visibility-key-for-successful-supply-chain- management/.
[3]  RFID Integration with SAP: Unlocking Business Value-2025 – https://cpcongroup.com/rfid-integration-with-sap/.
[4]  urfjournals.org- https://urfjournals.org/open-access/embedding-rfid-in-sap-ewm-inventory-traceability- and-streamlining-warehouse-operations.pdf.
[5]  SAP EWM. Next generation warehousing. | Westernacher – https://westernacher.com/warehouse-management-with-sap-ewm/.
[6]  RFID - SAP Help Portal https://help.sap.com/docs/SAP_SUPPLY_CHAIN_MANAGEMENT/57574d15fa1d414792d74047b66c3e41/ cac9cb53ad377114e10000000a174cb4.html.
[7]  SAP EWM Archives | My Supply Chain Group- https://www.mysupplychaingroup.com/tag/sap-ewm/.
[8]  Automated Guided Vehicle and EWM Integration - https://www.sastrageek.com/post/ewm-automated-guided-vehicle-and-ewm-integration.
[9]  Real-Time Tracking System for SAP EWM https://www.yash.com/blog/real-time-tracking-system-for-sap-ewm/.
[10]  PDF] SAP S/4HANA Supply Chain Planning and Manufacturing – Sciendo -https://sciendo.com/2/download/4N3myX1_Kd-lbcJhToZy6mS2Tiok0kOtIE7B-ogeFa.pdf.