Lesson 1 of 6
Why batches and serial numbers matter
10 min
Listen to this lesson
Most stock in SAP S/4HANA is anonymous: 500 rotors in a storage location are just a quantity. That works until something goes wrong and you need to know which rotors. A batch is a partial quantity of a material that is managed separately from other quantities of the same material, because it was made or bought together and shares properties: a supplier lot, a production run, a shelf-life date. A serial number identifies one individual unit. Batches answer "which group?"; serial numbers answer "which piece?". Both exist for the same reason: to trace, contain and prove.
Batch or serial number?
| Question | Batch management | Serial numbers |
|---|---|---|
| What is identified? | A quantity with shared properties, such as a supplier lot | One individual unit |
| Typical materials | Raw materials, chemicals, components bought in lots | Finished products, machines, high-value units |
| Stock effect | Stock is kept per batch; every movement carries the batch | Stock is still kept by quantity; serial numbers are assigned to movements and documents |
| Properties | Characteristics through batch classification (class type 023), shelf-life dates | Unit history, often as equipment with a serial number |
| Answers in a recall | Which lots were used where, and which customers got them | Exactly which units a customer has, and their history |
| Can be combined? | Yes: a material can be batch-managed and serialized | Yes |
The business reasons are similar across industries: legal requirements such as good manufacturing practice or hazardous goods rules, defect and recall tracing, shelf-life control, and warranty. A recall without traceability means recalling everything that could possibly be affected. With traceability, it means recalling exactly the affected units and proving that the rest is safe.
Where batches and serials touch the process
| Process step | With batch management | With serial numbers |
|---|---|---|
| Goods receipt from supplier | Batch created or entered; supplier batch and dates captured | Serials entered if the supplier's units are serialized |
| Transfer postings | Batch travels with each movement, for example 311 from 171S to 171L | Serials travel with each movement |
| Production order | Component batches determined and issued; finished batch created | Serials assigned at release and confirmed at receipt |
| Warehouse | Batch-specific putaway and picking | Serial capture or check in picking |
| Delivery and billing | Batch determined for the delivery item; batch splits possible | Serials assigned to the delivery |
| Returns | Returned quantity received into the right batch | Returned units identified by serial |
| Physical inventory | Counted per batch | Counted per unit where required |
Batches and serial numbers affect every step that moves or counts stock, which is why switching them on needs regression across procure-to-pay, plan-to-produce, warehouse and order-to-cash.
Regulation sets the minimum in some industries: pharmaceuticals, food and medical devices have explicit traceability rules, and automotive suppliers usually face recall and traceability clauses in customer contracts. Contoso's fleet contracts with Great Lakes include a clause on defect notification, which made the business case for traceability easier to sign. Whatever the driver, write down which rule or contract requires what, because those requirements become test acceptance criteria.
Contoso's trigger
In Contoso's first year on SAP S/4HANA, Great Lakes Fleet Services reported three alternators with failed rotor bearings within a month. Lakeside Components traced the bearings to one production lot. Contoso could tell which purchase orders had delivered rotors in that period, but not which alternators contained them, because rotors CMC-RTR-200 were not batch-managed and alternators CMC-ALT-100 were not serialized. The containment notice had to cover every alternator built over six weeks. Dan estimated the cost of the broad notice; the steering group asked for a design that would make the next one narrow.
Contoso's design
| Material | Decision | Reason |
|---|---|---|
| CMC-RTR-200 rotor (Lakeside) | Batch-managed; Lakeside's lot captured as supplier batch | Trace supplier lots into alternators |
| CMC-RES-020 winding varnish (illustrative) | Batch-managed with shelf-life expiration date | Varnish expires; expired lots must not reach WIND-10 |
| CMC-ALT-100 alternator | Serialized at goods receipt from production | Warranty, field history, targeted recalls |
| CMC-STA-300, CMC-HSG-400, CMC-FST-010 | Not batch-managed for now | Low recall risk; reviewed yearly |
Contoso's traceability design after the bearing incident. CMC-RES-020 is illustrative course data.
Traceability also needs owners. At Contoso, quality owns the batch classes and the shelf-life parameters, production owns the batch determination rules for components, the warehouse owns serial capture in EWM, and Omar's purchasing team makes sure Lakeside sends lot numbers and certificates with every shipment. Without a named owner for each piece, the first recall drill finds gaps that everyone assumed somebody else had closed.
What goes wrong in testing
- Testing the master data, not the trace. A batch exists and has characteristics, but nobody checks that a recall question can be answered end to end.
- Forgetting downstream processes. Switching on batches or serials changes goods receipt, production, warehouse, delivery and returns; all need regression.
- No recall drill. Traceability is only proven by running the recall question against real test data.
What would you do?
Grace asks whether Contoso could simply batch-manage every material "to be safe." What should Priya and the process owners answer?
- A batch is a separately managed partial quantity; a serial number identifies one unit.
- Batches suit lots and shelf life; serial numbers suit unit history and warranty; both can be combined.
- Design traceability by risk and write down the recall questions it must answer.
- Contoso batch-manages rotors and varnish and serializes alternators.
Check your understanding · not graded
Lesson check
1. What does a batch identify?
2. Which question do serial numbers answer that batches usually cannot?
3. Why couldn't Contoso narrow its first containment notice?
4. Can one material be both batch-managed and serialized?