- Home
- SAP automation
- SAP inventory
SAP inventory management works one way in S/4HANA and another in Business One
Inventory management is built into SAP's ERPs, but each product does it its own way. In SAP S/4HANA you check stock with MMBE or the Display Stock Overview app, and you post stock moves with MIGO. In SAP Business One, the item record shows the stock in each warehouse, and outside software works through the Service Layer.
How to check stock in SAP S/4HANA
Start with MMBE, the stock overview, which shows one material’s stock across every level of your company. For many materials at once, use MB52. SAP’s training lists these classic reports, most with a matching SAP Fiori app:
Scroll the table sideways to see every column.
| Transaction | SAP Fiori app | What it shows |
|---|---|---|
| MMBE | Display Stock Overview | The stock of one material across all organizational levels |
| MB52 | Display Warehouse Stock | Total stock of several materials, with quantities and values by plant and storage location. A checkbox shows negative stock only |
| MB51 | Display Material Document List | The material documents posted for one or more materials |
| MD04 | Monitor Stock/Requirements List, named in SAP’s MRP Live lesson | The current stock and requirements of one material in one plant |
| MB5B | Stocks for Posting Date | The stock on a past date, worked back from today’s stock and the material documents |
| CO09 | Monitor Product Availability | Stock seen through a dynamic availability check |
Some reports run only as Fiori apps, SAP says. The rest run both as SAP GUI transactions and as apps in the launchpad.
Every stock change in S/4HANA is a goods movement
SAP’s training says inventory management maps the physical stock in real time. It does that by recording every transaction that changes stock. A goods receipt raises warehouse stock. A goods issue lowers it. Quantities are kept at the storage location level.
Each movement leaves a material document, with a header and at least one item. When the movement touches the general ledger, the system creates an accounting document beside it. MB51 lists those material documents, so it shows how a stock figure came about.
You post movements with the Post Goods Movement app, or with transaction MIGO in the SAP GUI. SAP says MIGO has the same functions and screen layout as the app. The app records all types of goods movements: receipts, issues and transfer postings. It comes with the Warehouse Clerk and Inventory Manager business roles.
How Business One tracks stock in each warehouse
Business One works from the item record. Its inventory data tab shows stock and demand for each warehouse, kept up to date. Four numbers matter. In stock is what sits on the shelf. Committed is reserved, such as stock ordered by customers or needed by a production order. Ordered is stock bought but not yet delivered, stock on production orders, or stock asked for from another warehouse. SAP’s formula for the fourth is simple: available equals in stock, minus committed, plus ordered.
Warehouses shape everything else:
- Every stock document names a warehouse. SAP says goods receipts, inventory transfers and goods issues always reference one.
- A drop ship warehouse holds no stock. It is a virtual warehouse for goods your vendor ships straight to your customer. It posts no goods movements and does not show on inventory reports.
- Each warehouse can be left out of MRP. Its settings decide whether material requirements planning counts it.
- Bin locations go down to the shelf. A bin code is the warehouse code plus each sublevel, as in SAP’s example 05-A1-S1-L3.
Stock counts have their own document. It can freeze the items being counted, so nothing moves during the count. Several people can each count the same item and place, so you can compare their results. Or a team can add up its counts into one total. Differences either go back for a recount or into an Inventory Posting document.
The availability check comes in two kinds. The standard check runs on both SAP HANA and Microsoft SQL Server databases. The advanced available-to-promise check needs SAP HANA.
The Service Layer records behind Business One stock
Outside software, including an AI agent, reaches Business One stock through the Service Layer. SAP’s API reference describes these records:
Scroll the table sideways to see every column.
| Service Layer record | What SAP says it is |
|---|---|
| InventoryGenEntries | Stock gains that do not come from vendors, such as a receipt from production |
| InventoryGenExits | Stock losses that do not come from customers, such as an issue for production |
| StockTransfers | Records of items moved from one warehouse to another |
| InventoryTransferRequests | A request to move stock between warehouses, closed once the stock arrives |
| InventoryCountings | A stock count, with a Close call when the count is done |
| InventoryCycles | Cycles of stock counts and order intervals |
| PickLists | Picking, only for items already approved in sales orders |
| MaterialRevaluation | A new average or standard price, a revalued stock and the journal entries that follow |
Approvals reach stock documents too. SAP says approval processes can be set up for almost all types of document, and the goods issue service has a GetApprovalTemplates call, so approval rules can apply to goods issues. When an approval starts, SAP saves the document as a draft and sends a request to the approvers.
One limit applies only to custom code. If your team writes a server-side JavaScript extension for the Service Layer, SAP says one transaction in it should hold no more than 10 operations.
What SAP’s own AI does for inventory today
- SAP Cloud ERP Private. SAP says Joule Assistants and Joule Agents help optimize inventory and anticipate disruptions. Among its latest innovations, SAP also lists a feature that predicts how long picking, packing and staging will take in the warehouse. SAP does not say that one uses AI.
- SAP Integrated Business Planning. SAP says it uses AI to balance demand and supply and to optimize inventory across the supply chain. Our page on SAP MRP and demand planning covers it.
- SAP Business One. The Web client’s AI cannot read or change Business One data, SAP says. It can draft a database query from plain words in the User-Defined Queries app. No SAP page in our sources names a stock agent for Business One.
Where a custom agent fits in SAP inventory
An agent earns its place when the stock job starts outside SAP. A count sheet comes back as a spreadsheet. A branch emails that it is running low. Two Business One jobs map onto Service Layer records, and one S/4HANA job still lacks a named API:
- Count sheets into a count document. The agent reads the sheet and fills the InventoryCountings lines. A person checks the differences and closes the count.
- Low stock into a transfer request. The agent drafts an InventoryTransferRequests record from the warehouse that has spare stock. The receiving warehouse closes it when the goods arrive.
- Negative stock into a short list. In S/4HANA, MB52 can show negative stock only, but that is a report screen. We found no S/4HANA stock API to name for an agent: SAP’s API catalog, api.sap.com, returned no readable text to us. The API comes from your own S/4HANA system on a project.
Give the agent its own SAP user. SAP lets you set each area to read-only, so an agent that only reads can change nothing. See SAP AI agents for how agents save drafts that a person approves.
SAP go-lives and ERP modules from our team
Our team has taken SAP Business One, SAP S/4HANA and SAP ECC live, and we can run an SAP implementation end to end. Our team has also delivered on-demand ERP modules, each made for a single business problem. The first call is free.
Questions
How to check inventory on SAP?
In SAP S/4HANA, open transaction MMBE or the Display Stock Overview app. It shows one material's stock across every level of the company. For many materials at once, use MB52 or the Display Warehouse Stock app. In SAP Business One, open the item record. Its inventory data tab shows stock and demand for each warehouse.
What is the T-code in SAP for inventory management?
There is no single one. In S/4HANA, MMBE shows the stock of one material, MB52 shows warehouse stock for many materials, and MB51 lists the material documents behind each change. MIGO posts goods movements, and SAP's Post Goods Movement app covers the same ground. SAP says some inventory reports run only as SAP Fiori apps.
What is the difference between MMBE and MB52?
MMBE looks at one material across all levels of your company. MB52 looks at many materials at once, with quantities and values by plant and storage location. MB52 also has a box that shows only materials with negative stock. Both have Fiori apps: Display Stock Overview and Display Warehouse Stock.
What is an ERP system for inventory?
It is one system that keeps stock in the same place as purchasing and accounting. SAP's Business One page says the product connects accounting, inventory management, purchasing, sales and customer records in a single system. Stock has been part of SAP from the start. Its history page says SAP had built inventory management by 1975.
Why is inventory management important for businesses?
Because sales and purchasing both act on the same stock figure. In S/4HANA, each stock change is recorded as it happens, and a change that hits the ledger also creates an accounting document. In Business One, the available quantity is what sales can promise: stock on hand, minus what is committed, plus what is on order.
Does SAP Business One have AI for inventory?
Not that acts on stock, in the SAP pages we read. The AI in the Business One Web client cannot read or change Business One data, SAP says. It can draft a database query from plain words in the User-Defined Queries app, which helps with stock reports. An agent that acts on stock works through the Service Layer instead.
Can an AI agent post stock movements in SAP Business One?
Yes, through the Service Layer, Business One's web API. SAP's reference has records for goods receipts and goods issues that do not come from buying or selling, stock transfers, transfer requests and stock counts. With approval procedures on, a document becomes a draft that waits for an approver. Give the agent its own user, with read-only rights where it only reads.
Sources
Every source behind a figure or a vendor fact on this page, with the day we read it.
- SAP Learning, Using Classic Stock Lists and Document Lists (S/4HANA)Read 18 Nov 2026
- SAP Learning, Moving Goods with the Post Goods Movement App (S/4HANA)Read 18 Nov 2026
- SAP Learning, Defining Inventory Management and Physical Inventory (S/4HANA)Read 18 Nov 2026
- SAP Learning, Managing Warehouses in SAP Business OneRead 18 Nov 2026
- SAP Learning, Conducting Inventory Counting and Inventory Posting (Business One Web client)Read 18 Nov 2026
- SAP Learning, Automating the Sales Process in SAP Business OneRead 18 Nov 2026
- SAP Help, Business One Service Layer API referenceRead 18 Nov 2026
- SAP Help, Working with the Business One Service Layer (PDF)Read 18 Nov 2026
- SAP Help, Business One approval processRead 18 Nov 2026
- SAP, How to Define Authorizations in SAP Business One 10.0 (PDF)Read 18 Nov 2026
- SAP Help, AI in the Business One Web clientRead 18 Nov 2026
- SAP Help, What's New in Business One 10.0 FP 2608, Web clientRead 18 Nov 2026
- SAP, SAP Cloud ERP PrivateRead 18 Nov 2026
- SAP, SAP Integrated Business PlanningRead 18 Nov 2026
- SAP, SAP Business OneRead 18 Nov 2026
- SAP, SAP historyRead 18 Nov 2026
- SAP News, press release on SAP Business Data Cloud (trademark notice)Read 18 Nov 2026
- SAP Learning, Planning Using MRP Live (SAP Cloud ERP)Read 18 Nov 2026
- CadenceWorks, ERP consultingRead 18 Nov 2026
- CadenceWorks, SAP AI agentsRead 18 Nov 2026
Talk to us about stock work in your SAP
Tell us which SAP product you run, how many warehouses you have, and which stock task eats your team's week. The first call is free.