ERPClimb logoERPClimb
SAP technical topicObjectSampling Procedures and Sample CalculationModuleQM

New to SAP QM? Start with the module overview

Sampling Procedures and Sample Calculation: Consultant Reference

Quick answer

Sampling procedures translate inspection-lot size and characteristics into a justified sample size using fixed/percentage or scheme-based logic and, when configured, dynamic modification. The wrong sampling procedure can understate or overstate the inspection effort a given lot size actually warrants.

Consultant reference for Sampling Procedures and Sample Calculation: purpose, common failure patterns, evidence to inspect, safe resolution and interview-ready reasoning.

Published 17 Nov 2026· 746 words

What this controls

Sampling procedures translate inspection-lot size and characteristics into a justified sample size using fixed/percentage or scheme-based logic and, when configured, dynamic modification.

When to use it

Choose a sampling procedure (fixed sample size, percentage sampling, or a standard like AQL-based sampling per ISO 2859) based on the actual statistical risk tolerance for the material and process being inspected — not simply copying a default from a similar material, since the right sample size depends on lot size, acceptable quality level and the cost/risk of a missed defect for that specific scenario.

Safe resolution path

Correct only erroneous sampling master data or selection with QA approval. Test pass/fail lots and interval boundaries; ensure required regulatory testing remains intact and existing certified inspections are not silently altered.

Common pitfalls

The most common mistake is using the same sampling procedure across materials with very different risk profiles, under-sampling a high-risk, low-volume critical component while over-sampling a low-risk, high-volume commodity item and wasting inspection capacity.

Teams also misconfigure the sample calculation's dependency on lot size, so a change in typical order quantity silently changes sample sizes in a way nobody explicitly decided.

A third pitfall is not periodically revisiting sampling procedures as defect-rate history changes — a procedure appropriate when a vendor's quality was unproven may be unnecessarily strict, or dangerously lax, years later once real performance data exists.

ECC, S/4HANA and clean core

Sampling procedure and sample-calculation logic are unchanged between ECC and S/4HANA, since this is stable, long-established QM functionality. The practical S/4HANA consideration is the same as elsewhere in QM: Fiori-based inspection apps present this configuration differently to end users, so documentation and training should be updated even though the underlying sampling math and configuration tables did not change.

Revisit this guidance at each major SAP release or upgrade cycle, since clean-core scope, released-API coverage and BTP service capabilities all continue to expand; a decision that required a workaround in one release may have a supported, upgrade-safe option in the next, so a periodic architecture-review checkpoint is worth scheduling rather than treating the original decision as permanent.

Typical production symptom

Two GR lots with comparable quantity require 13 versus 32 pieces. They may use different lot-size intervals, sampling severities or quality levels after rejected supplier batches; overriding the number manually ignores the configured control.

Likely root causes

The most common causes are configuration mismatch, stale or incomplete master data, incorrect status or validity dates, authorization scope, integration mapping, timing or sequencing, and changes that were transported without their prerequisites. Avoid assuming the screen where the symptom appears is the layer that owns the defect.

What to inspect

Capture lot size/unit, inspection plan, MIC, sampling procedure, scheme, lot-size interval and dynamic modification state. Calculate expected samples for two boundary quantities and compare generated characteristic sample size. Check rounding and UOM conversions.

Consultant and interview angle

A strong answer explains the controlling object or configuration, the evidence used to isolate the issue, the cross-module or integration dependencies, the safe fix, and the regression plan. Senior candidates should also explain monitoring, governance and how to prevent the same failure from recurring.

Worked design review and production acceptance

Sample-size calculation example: an inspection lot contains 800 components, but two characteristics show different required samples. One uses a fixed sample size; another uses a lot-size sampling scheme and may be influenced by dynamic modification based on supplier history. Capture inspection type, selected plan and characteristic, sampling procedure, scheme, lot size in correct UOM, severity and applicable quality level.

Calculate the expected result manually for one lot-size interval and two boundary values. If a unit conversion changes 800 pieces into 80 packs, an incorrect quantity interpretation can produce a misleading smaller sample. Distinguish a valid tightened inspection stage after rejects from a wrong scheme selection.

Correct master or procedure only with quality approval; do not manually reduce required inspection quantity to speed release. Create controlled test lots on both sides of the interval boundary and with different quality histories, verifying the expected characteristic sample count, result recording and usage decision. Existing lots should be handled according to authorized reinspection rather than silently rewritten.

Test a lot just below and just above a scheme interval cutoff, with a unit conversion and a tightened dynamic-modification stage. A technically valid procedure can still be unsuitable for required quality risk: sample design must be approved by QA. Confirm accepted and rejected samples influence the correct follow-on inspection status.

Source: ERPClimb — https://erpclimb.com/sap-technical-topics/qm-sampling-procedureERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.