At 3:05 on a Tuesday afternoon, the quality manager at a seasoning and snack coating maker in Wisconsin takes a call from one of the company's spice suppliers. Lot P-24117 of ground paprika, 1,800 kilograms delivered five weeks earlier, may contain undeclared peanut. The supplier is recalling it. Anything made with it could put a customer with a peanut allergy in hospital.
The quality manager needs three answers, and needs them before the end of the day. Which finished batches contain that paprika? Where did each one go? And which ones are still in the company's own warehouses, where they can be stopped before they ship?
SAP holds most of the answer. The paprika went into nine finished batches of barbecue rub, taco seasoning and snack coating at two plants, and through rework into a tenth, and those ten batches went to 29 customers in four states. But the team does not know that at 3:05, and it will not know it with confidence until the next morning. By the time the recall notice goes out at 11 the following day, the company has recalled 14 batches from 38 customers, a truck has left with 1,100 kilograms of affected product, and one customer has found a bag from an affected batch on a pallet that SAP said was clean.
This post follows that afternoon, shows where the batch trail broke and why, and explains how to keep the trail complete every day, so that the next call takes a few hours instead of a night and a morning.
What the first search shows
The quality manager starts where anyone would, with SAP's batch where-used list, MB56, or the batch information cockpit. The search goes forward from supplier lot P-24117. It shows the goods receipt of 1,800 kilograms at Plant 1, where the paprika was booked into stock as an internal batch. It shows 1,200 kilograms consumed at Plant 1 in six process orders, producing six finished batches of seasoning. And it shows a stock transfer of 600 kilograms to Plant 2.
Then the trail stops.
At Plant 2, the paprika arrived and was used. The search cannot say where. The quality manager has six finished batches with a clear link and a 600 kilogram hole in the middle of the picture. Every minute spent on the hole is a minute in which affected product can still ship from the warehouse.
Where the batch trail broke
Over the next 20 hours, the team finds three separate breaks in the trail. None of them was caused by carelessness on the day. All three were built into the way the plants worked long before the call.
Break one: Plant 2 never tracked batches for paprika
Batch management in SAP can be switched on plant by plant. Years earlier, when Plant 2 was set up, paprika was treated as a simple bulk spice there and created without batch management. At Plant 1, it was batch-managed from the start. So when 600 kilograms moved from Plant 1 to Plant 2, the batch number was dropped at the receiving end. From that moment, the paprika at Plant 2 was just paprika.
Plant 2 also had paprika from a different supplier lot, P-23988, on hand in the same weeks. Both lots sat in the same storage location and were consumed by the same kind of process order. Nothing in SAP says which lot went into which order. Seven process orders at Plant 2 used paprika in the two weeks after the transfer. Three of them used the suspect lot, as it later turns out. On Tuesday night, nobody can tell which three, so all seven are possibly affected.
Break two: a rework batch lost its link
One of the six Plant 1 batches, taco seasoning batch 0004418, came out slightly off-spec on color. Two days later, 250 kilograms of it was blended back into a new batch, 0004431, which is common and perfectly safe practice when the rework is tracked. Here it was not tracked properly. The rework was posted as a scrap of 250 kilograms from batch 0004418 and a separate receipt of 250 kilograms of a material called rework seasoning, with no batch link between the two.
So the batch where-used list shows batch 0004418 as affected and stops there. Batch 0004431 looks clean. The team only finds it on Wednesday morning, when a shift lead remembers the rework and checks the paper log on the line.
Break three: a pallet that was relabelled by hand
At the distribution warehouse, two half pallets of barbecue rub were combined onto one pallet to save space. One half came from batch 0004422, which contains the suspect paprika. The other half came from batch 0004409, which does not. The new pallet got one label, for batch 0004409. SAP recorded a simple transfer of batch 0004409 and nothing else. When the pallet shipped the following week, SAP believed it was entirely unaffected.
No search in SAP could have found this one. The system had never been told. It surfaced on Thursday, when the customer that received the pallet ran its own check, found bags labelled 0004422 on a pallet invoiced as 0004409, and called to ask why it had not been included in the recall.

What the night cost
The team does what quality teams do when the data runs out. It phones Plant 2, pulls paper production records and works through the night.
By 9:40 on Tuesday evening, the team has accepted that it cannot prove which Plant 2 orders used the suspect lot. The safe decision is to recall all seven Plant 2 batches made in that window. On Wednesday morning, the rework batch is found and added. At 11, the recall notice goes out for 14 finished batches, covering 38 customers. The real exposure was 10 batches and 29 customers. Four batches and nine customers were recalled only because the trail could not prove them clean.
Meanwhile, nobody blocked stock until late on Tuesday evening, because nobody knew which stock to block. A truck left the distribution warehouse at 6 that evening with 1,100 kilograms of affected seasoning on board, for a customer in Illinois. That product now has to be traced and recovered at the customer's site rather than stopped at the dock.
The costs add up in several ways.
- Safety risk. For 20 hours, the company could not say for certain where its affected product was. With an allergen, that is the number that matters most.
- Over-recall. Four batches that turned out to be clean were pulled back, with the freight, disposal, credits and customer goodwill that go with them.
- Product that shipped after the call. The 1,100 kilograms on the evening truck could have been held at the dock with a block in SAP if anyone had known it was affected.
- The customer found it first. The relabelled pallet was discovered by the customer, not the company. For a supplier of ingredients to food manufacturers, that is the kind of finding that ends up in the customer's supplier audit.
- Regulator and auditor attention. Food safety authorities and large customers expect a company to trace an ingredient one step back and one step forward quickly. A recall that took 20 hours to scope, and missed a pallet, invites a closer look at the whole traceability system.
Why the trail breaks in normal plants
Every one of the three breaks came from a reasonable decision made on a normal day. That is why they are so common.
Batch management is set up material by material and plant by plant
When a material is first created, someone decides whether it needs batches. For an expensive active ingredient, the answer is obvious. For a bulk spice, a packaging film or a processing aid, it often looks like extra work for no benefit. Those decisions stay in place for years, and nobody revisits them when the material starts going into products where traceability matters.
Stock transfers can drop the batch
When a batch-managed material moves to a plant where it is not batch-managed, the batch number has nowhere to go. The quantity arrives. The history does not.
Rework is done in a hurry
Rework is usually decided on the line, by people focused on getting a good batch out. If the plant has no clear rework process in SAP, the easiest posting is a scrap and a new receipt. It balances the stock and loses the link.
The warehouse sees pallets, not batches
Warehouse staff are measured on space and speed. Combining two half pallets is good warehousing. Unless there is a firm rule against mixing batches on one pallet, and a scan that checks it, the system has no way to know.
Nobody looks for gaps until a recall
Most companies run a mock recall once or twice a year, often because a customer or certification scheme requires it. A mock recall usually picks a well-behaved raw material and a recent batch, passes in a couple of hours, and gets filed. The gaps that matter sit in the materials and plants nobody picked. They show up on the day of a real recall, when there is no time to fix them.
How to trace a suspect batch in hours, not overnight
The fix has two halves. The first is a way to trace and act fast on the day. The second, which matters more, is a way to find and close the gaps on every other day.
Step 1: Trace both ways, across plants, in one view
On the day, the trace should go forward from the supplier lot through receipts, splits, transfers, process orders and finished batches to deliveries and customers. It should also go backward from any finished batch to every lot that went into it. Doing that across plants and stock transfers, by hand, is what takes hours. Done by a system that reads the batch records, goods movements, orders and deliveries together, it takes minutes.
Step 2: Flag every break and treat it as affected until ruled out
The trace has to show where the chain breaks, not just where it holds. Consumption of a material with no batch, a transfer that dropped the batch, a receipt of rework material with no source and stock of two lots in the same location in the same window all need flagging. Anything behind a break is listed as possibly affected, with the reason, so the quality manager decides with eyes open rather than discovering it the next morning.
Step 3: List the exposure in business terms
The quality manager needs a list, not a tree. Affected finished batches, customers, deliveries and quantities shipped. Stock still on hand, by plant and storage location. Deliveries in transit. The list should separate confirmed exposure from possible exposure, so the recall can be sized deliberately.
Step 4: Block stock on hand first
Stock still in the company's own warehouses is the easiest product to stop. The first decision should be to block it, by moving it to blocked stock or setting a restricted batch status, as soon as the quality manager approves. Every hour between the call and the block is an hour in which a truck can leave.
Step 5: Intercept what is in transit
Deliveries that have left but not arrived can often be stopped or redirected with a phone call to the carrier. The trace should flag them separately, with the carrier and the expected arrival, so somebody makes that call straight away.
Step 6: Gather the evidence in one place
A recall needs documents. The supplier's notice, the receipt of the lot, certificates of analysis, inspection results, process order records and delivery documents all have to be at hand for the recall team, the customers and possibly the authorities. Collecting them from SAP, shared drives and inboxes on the night is slow. Collecting them as part of the trace is not.
Step 7: Find the gaps before the next call
This is the step that changes everything. Run the same gap checks every week, not on the day of a recall. Which batch-relevant materials are not batch-managed at some plants? Which transfers dropped a batch? Which rework receipts have no source batch? Which storage locations held two lots of the same material at the same time with no batch on consumption? Each finding goes to an owner, such as master data, the plant, quality or the warehouse, with a date.
Step 8: Close each gap at its cause
The fixes are not exotic. Switch on batch management for paprika at Plant 2. Set up rework as a batch-linked component, so that a rework batch always points back to its source. Make one batch per pallet a warehouse rule, and add a scan at packing that checks the batch on the label against the batch in the delivery. Each fix is small. Together, they close the trail.
Step 9: Make mock recalls hard
Run mock recalls on the materials most likely to break, such as bulk ingredients, items used at several plants and anything that goes through rework, rather than on the easy ones. Time them from the call to the recall list. Treat any break found as a finding to fix, not a footnote.

The same call, with the trail kept complete
Run the Tuesday again, in a plant that has been doing the weekly gap checks for a few months. Paprika has been batch-managed at Plant 2 since the check flagged it in the spring. Rework is posted against its source batch. The distribution warehouse does not mix batches on a pallet, and packing scans the label.
At 3:05, the call comes in. By 3:12, the trace has run in both directions across both plants. By 3:20, the quality manager has the exposure list. It shows 10 finished batches, the six at Plant 1, three at Plant 2 and the rework batch 0004431, delivered to 29 customers in 41 deliveries. It also shows 2,700 kilograms still on hand in the company's warehouses and one truck in transit. There are no possibly affected batches, because there are no breaks in the trail.
At 3:40, the quality manager approves blocking the 2,700 kilograms on hand, and the stock is blocked in SAP. At 4:15, the carrier turns the truck around before it reaches Illinois. By 5:30, the recall package holds the supplier's notice, the receipt of lot P-24117, the certificates of analysis, the process order records and the list of deliveries by customer. At 6:30, the quality manager approves the recall notice for 10 batches and 29 customers.
That is three hours and 25 minutes from the call to the notice, instead of 20 hours. There are no extra batches recalled, no product shipped after the call and no customer finding a mislabelled pallet two days later.
What changes for quality, operations and the business
The benefits are easy to name, and most of them come from the everyday gap checks rather than the recall-day tracing.
- Faster answers when it matters. The exposure list is ready in minutes, and stock is blocked before the first truck of the evening leaves.
- Smaller recalls. A complete trail proves which batches are clean. In the Wisconsin example, that is four batches and nine customers who never needed to be involved.
- Fewer surprises from customers. The company finds its own problems, which is what customers' supplier audits look for.
- Easier audits and certifications. Mock recalls that pass on hard materials, with timings and evidence, are a strong answer to customers, certification bodies and authorities.
- Cleaner stock and planning data. Batch-managed stock across plants also helps with shelf life, first-expiry-first-out picking and quality holds. Artificio's batch expiration agent uses the same batch data to stop stock expiring on the shelf.
When batch tracking is not worth it
Not every material needs batch management. Cleaning chemicals, general packaging that never touches product and spare parts usually do not. Switching on batch management everywhere adds work at receiving, in the warehouse and on the line, and people will find workarounds if the work feels pointless.
The question to ask is simple. If this material turned out to be contaminated or defective tomorrow, would we need to know exactly which finished products it went into? For food ingredients, allergens, active ingredients, anything that touches the product and anything regulated, the answer is yes. For the rest, it is usually no. The weekly gap check should only look at materials where the answer is yes.
Some gaps also cannot be closed by any system. A person can still relabel a pallet by hand. That is why the warehouse rule and the scan at packing matter. The system can only trace what it has been told.
How Artificio helps keep the batch trail complete
Artificio's batch genealogy and recall agent traces batches in SAP ECC and SAP S/4HANA from receipt through production to customer delivery, in both directions and across plants and transfers. It flags breaks in the chain, such as consumption without a batch or split and mixed batches, and keeps possibly affected orders in scope until someone rules them out. It lists the exposure by customer, delivery and quantity, shows stock on hand by location and flags deliveries in transit. It gathers the documents a recall needs, and proposes blocks on stock on hand, which are applied only after the quality manager approves. For mock recalls, it builds the same package without blocking anything.
The same agent can run on a schedule, so the gaps in the trail are found in an ordinary week and not on the day of a recall. Each finding goes to the person who can fix it, with the evidence.
Certificates of analysis are often the first document a recall team needs. Artificio's COA processing agent reads supplier certificates and records the results against the right inspection lot and batch in SAP QM, so the evidence is already linked when the call comes. Our post Your COA Is Automated. Your Batch Record Is Not. explains why the batch record is the harder half of that story, and supporting the usage decision in SAP QM covers the decision that releases or blocks a batch in the first place. If supplier documents arrive with the goods, following one cocoa shipment from purchase order to goods receipt shows how to tie them to the receipt.
Failed automatic goods issues are another way the trail breaks, because a movement that never posts never carries its batch. Our post on why finished production orders never get closed covers how those failed movements pile up.
As with every Artificio agent, nothing is blocked, released or sent without a named person approving it. That is how Artificio's human-in-the-loop approvals work, and it is what a recall record needs. For the wider picture, see Artificio's SAP quality automation and life sciences and pharma pages.
A practical way to start this month
You do not need a recall to find out how complete your batch trail is. A few steps will tell you, and most of them take days, not months.
- List the materials that matter. Allergens, active ingredients, anything that touches the product and anything regulated. For most plants, that is a list of a few hundred materials, not thousands.
- Check batch management by plant. For each of those materials, check that it is batch-managed at every plant that stores or uses it. The Plant 2 paprika gap shows up here in an afternoon.
- Look at how rework is posted. Find the rework receipts from the last three months and check whether each one points back to a source batch.
- Walk the warehouse rules. Ask whether batches are ever mixed on a pallet, and how the label is checked at packing.
- Run a hard mock recall. Pick a bulk ingredient used at more than one plant and time the trace from start to finished exposure list. Write down every break you find.
- Fix the breaks and check again monthly. Give each break an owner and a date, then repeat the gap checks every month so new ones are caught early.
If you would like to see how Artificio traces a supplier lot through your own plants, flags the breaks in your batch trail and builds a recall package in minutes, request a demo. We will run a trace on one of your materials and show you what your quality manager would see.