In the last article I followed a production order from CRTD to REL and promised to come back to the moment the system says a component is available. This is that article. The question it answers is a narrow one that causes a lot of noise on the shop floor: when the component overview of a production order shows the full quantity as committed, why does the line still stop for a missing part?
The short answer is that the material availability check in a production order answers a planning question, not a logistics one. It tells you whether the quantity is covered on paper by the requirement date, using a set of rules someone chose years ago and nobody has looked at since. Once you know which three settings decide that answer, most of the arguments between production, planning and the warehouse become much shorter.
Where the check runs and what it writes
The check runs in a few places. It runs when the order is created or released, if the checking control for the plant and order type says so (the setting I covered last time). It runs when you trigger it by hand in the order (CO02, or the Manage Production Orders app), and it runs in bulk through the collective availability check (COMAC) or as a function in mass processing (COHV).
Whatever starts it, the result lands in the same places. Each component reservation gets a committed quantity and, if the committed quantity is short of the requirement, a missing part indicator. The order header gets the status MSPT (material shortage) when at least one component is not fully committed, and the missing parts show up in the missing parts information system (CO24). Nothing moves physically. No stock is set aside in a bin, nothing is staged, and no other document is blocked from using the same stock.
That last point is the one people miss, so I will repeat it in plainer words: a commitment is a calculation stored on the reservation, not a lock on the material.
The three settings that decide the answer
Three objects decide what "available" means for a given component in a given order.
- Checking group: a field on the material master, in the MRP 3 view (the
Availability checkfield). It says what kind of material this is from an availability point of view, for example a group for daily requirements or one for individual requirements. A component with no checking group, or with a group set up as "no check", is never checked and always looks fine. - Checking rule: chosen by the business transaction. For production orders it comes from the checking control per plant and order type, and the standard rule for production orders is
PP. The material decides the group; the order decides the rule. - Scope of check: the combination of checking group and checking rule. This is where the real decisions live: which stock types count, which receipts and issues count, whether replenishment lead time is considered, and whether the check also looks at the storage location or only at the plant.
When someone tells me "the ATP check is wrong", nine times out of ten the check did exactly what the scope of check told it to. The scope of check was simply written for a different question than the one the shop floor is asking.
What the scope of check lets in
Open the scope of check for the group and rule your components use and read it line by line, as if you were the person waiting for the parts. Three groups of settings matter most.
Stock. Unrestricted stock is always there. On top of it you can include safety stock, stock in transfer, stock in quality inspection, blocked stock and restricted batches. Every one of those you tick is stock the order can be committed against but the line cannot use today. Stock in quality inspection is the classic case: the material arrived, the inspection lot is open, the usage decision is two days away, and the order already shows the component as fully committed.
Receipts. Purchase orders, purchase requisitions, planned orders, production orders, shipping notifications and stock transfer documents can all count as future supply. If purchase requisitions are included, a requisition that nobody has converted yet makes a component look covered. If planned orders are included, the plan itself covers the plan. There is also a setting for how many days in the past a receipt may be and still count; a purchase order that was due last week and never arrived can keep covering your requirement until somebody cleans it up.
Issues. Reservations, dependent requirements, sales requirements and deliveries reduce the available quantity. If your scope of check ignores dependent reservations from other production orders, two orders can both be fully committed against the same pallet.
Replenishment lead time: the quiet yes
The setting that produces the most surprising results is the replenishment lead time. If the scope of check considers it, the system assumes that anything required later than the total replenishment lead time of the component (taken from the material master) can still be procured or produced in time, so it confirms it. No purchase order exists, no planned order exists, and the component is still committed.
For sales orders this is a sensible business promise. For a production order that you intend to release next week, it is a misleading answer whenever the requirement date sits beyond the lead time, because the order is checked against a theoretical supply rather than a real one. Most component scopes of check I trust for production are set to check without replenishment lead time, so that only real stock and real receipts count. If you change it, test it with a component whose lead time is short and one whose lead time is long; the difference is obvious within a few minutes.
Committed is not the same as on the line
Even with a strict scope of check, the committed quantity still does not tell you that the part is ready to use. Here are the gaps I see most often, each one invisible to the check by design.
- The check commits, the goods issue consumes. Commitments do not block stock. If another order is confirmed first and backflushes the same component, the stock is gone and your order still shows the old committed quantity until it is checked again.
- Batch fit. The check counts quantity, not whether the batch meets the characteristics the order needs. Batch determination at goods issue can still find nothing suitable.
- Location inside the plant. Depending on the scope of check, the check may only look at the plant total. The stock may sit in a remote warehouse or in an EWM storage type that needs a replenishment task to reach the production supply area.
- Timing within the day. The check works in days. A receipt planned for the afternoon covers a requirement planned for the morning shift of the same day.
- Stale results. The committed quantity is the answer at the moment of the last check. Nothing recalculates it when a delivery slips, unless you run the check again.
If you come from Dynamics 365
The closest equivalent is the on-hand and delivery date control logic, combined with what reservation does in D365. The important difference is that in Dynamics 365 a physical reservation actually holds the inventory against other demand, whereas the S/4HANA commitment on a production order component does not hold anything. If your team is used to reserved stock staying reserved, explain this early, before the first argument on the floor.
What goes wrong
The same few patterns repeat across implementations, and they are almost always settings rather than defects.
- Bulk materials and components without a checking group never appear as missing, so the people who need to know about them never hear about them.
- Production uses the same checking group as sales, so the scope of check was tuned for customer promises and counts requisitions and replenishment lead time.
- Stock in quality inspection is included, so orders are released against material that QM has not cleared yet.
- Nobody reruns the check. Orders checked once at creation keep old answers for weeks, and the missing parts list shows only part of the real picture.
- The check runs at release only, so planning sees no shortage on created orders and discovers it on release day.
A routine that keeps the answer honest
None of this needs development. It needs a scope of check written for production and a habit of asking the question again before it matters.
- Give production components their own checking group (or a rule and scope of check that is used only by production order types) and leave the sales setup alone.
- In that scope of check, count unrestricted stock and real receipts, leave out requisitions and stock in quality inspection unless you have a clear reason, and check without replenishment lead time.
- Run the collective availability check as a scheduled job every night for orders inside the release horizon, so committed quantities are never more than a day old.
- Review the missing parts list (
CO24) each morning with the person who can actually fix a shortage, and treatMSPTas a work list rather than a status. - Close the physical gap separately: staging, EWM replenishment to the production supply area and batch determination are their own checks, and the availability check will not do them for you.
Next time I will look at that physical gap: how components get from the warehouse to the production supply area in S/4HANA with EWM, and how the choice between pick parts, release order parts and crate parts decides when the material actually arrives at the line.
In this series: previous article Production Order Release in S/4HANA: What REL Unlocks and What Releasing at Creation Costs You