Inspection Lots
Quality Managementbeginner

What Is an Inspection Lot and Why It Exists

Introduces the inspection lot as the core QM document, explaining its business purpose, structure, and how it connects quality inspection to logistics transactions.

Explanation

An inspection lot is the document object that SAP QM creates to represent a discrete quantity of material or a specific event that requires quality inspection. It is not something a user typically creates manually in normal operations; instead, it is generated automatically by the system when a triggering business transaction occurs, such as a goods receipt against a purchase order, the confirmation of a production order operation, or the creation of an outbound delivery. The lot acts as the container that holds inspection specifications, sample data, results, defects, and the final usage decision. Why does this matter? Without inspection lots, quality inspection would be a manual, disconnected activity with no link to the actual goods movement or production event. The inspection lot ties the physical quantity of material sitting in a specific stock status (commonly quality inspection stock) to a defined inspection plan or master inspection characteristics, and it drives stock posting behavior. Material in a lot tied to quality inspection stock is typically blocked from unrestricted use until a usage decision is made, which is the core mechanism SAP QM uses to prevent unverified material from being consumed, sold, or moved into production. Each inspection lot carries an inspection lot origin, a two-character key that identifies the business process that triggered lot creation. For example, an origin distinguishes goods receipt inspection from in-process inspection during production, or from inspection related to a delivery. The origin is central to configuration because it determines which inspection type settings apply, which control indicators are active by default, and how the lot interacts with the originating document. Structurally, an inspection lot contains header data (material, plant, lot quantity, origin, status), one or more operations if a routing or inspection plan with multiple operations is assigned, sample-relevant data such as sample size and sampling procedure, characteristics to be inspected (either from a material specification, inspection plan, or master inspection characteristic), and eventually recorded results and a usage decision. The lot also maintains a status network reflecting its lifecycle: created, released, in results recording, and usage decision made (often followed by closed/completed). A critical concept for beginners is the relationship between the inspection lot and stock. When quality inspection is active for a material-plant combination (controlled through the QM view in the material master), goods movements automatically post the received or produced quantity to quality inspection stock, and the system simultaneously creates the inspection lot referencing that stock. The lot quantity should match the stock quantity in inspection status, though partial usage decisions and stock postings can create scenarios where these diverge, which is something support consultants must watch for. In S/4HANA, the underlying concept is unchanged from ECC, but inspection lot data can be viewed and processed through Fiori apps in addition to classic transactions, and reporting benefits from CDS-based analytics rather than only classic ABAP list reports. The core master data and configuration objects driving lot behavior remain conceptually consistent across ECC and S/4HANA on-premise/private cloud; S/4HANA public cloud typically exposes this functionality through preconfigured scope items with more restricted customization freedom, and consultants should verify what is configurable versus fixed in a given cloud release rather than assuming full parity with on-premise flexibility.

Real project scenario

A pharmaceutical manufacturer implementing S/4HANA needed every raw material goods receipt to be quarantined until a QA release. The consultant configured the material master QM view so quality inspection was active at goods receipt, which meant every purchase order receipt automatically created an inspection lot with the goods-receipt origin and posted the quantity to quality inspection stock instead of unrestricted-use stock. Warehouse staff initially expected to move received pallets directly into storage, so the project team had to run training explaining that the inspection lot, not a manual hold, was blocking usage until QA recorded results and made a usage decision.

Common mistakes

โ€ข Assuming inspection lots must be created manually; in standard processes they are almost always system-generated from a triggering transaction. โ€ข Confusing the inspection lot quantity with total plant stock, leading to incorrect reconciliation during audits. โ€ข Not realizing that activating the QM view on a material after stock already exists will not retroactively inspect existing stock. โ€ข Overlooking that a lot's origin determines default control indicators, then being surprised when behavior differs between goods receipt and in-process lots. โ€ข Treating quality inspection stock as merely informational rather than as an actual stock-blocking mechanism tied to usage decisions.

Best practices

โ€ข Always verify the QM view and inspection setup exist for a material-plant combination before assuming inspection will trigger. โ€ข Document which origins are active for each material category early in a project to avoid unexpected lot volumes. โ€ข Educate warehouse and production users that inspection lots, not manual blocks, control stock usability. โ€ข Reconcile inspection stock quantities against open inspection lots periodically to catch discrepancies early. โ€ข When troubleshooting missing inspections, check inspection setup, origin activation, and quality info records together rather than assuming a single cause.

Interview angle

Interviewers often ask candidates to explain, in their own words, what triggers inspection lot creation and how the lot relates to stock type. A strong answer distinguishes between manual inspection lots (rare, used for ad hoc situations) and automatically triggered lots from origins like goods receipt, production, or delivery, and explains the link to quality inspection stock as the core control mechanism, not just a status flag.