JinJin48
JinJin48
SAP Consultant | BTP · S/4HANA · US Global Rollout
· 8 min read

Cover: What is SAP QM? — Quality Management overview

TL;DR
  • SAP QM enforces quality across the logistics chain via six sub-modules: Inspection Planning, Inspection Lot Management, Results Recording, Usage Decision, Quality Notifications, and Certificate Management.
  • Three foundational design decisions drive the requirements definition phase: which inspection origins to activate, how to design sampling procedures (fixed / AQL), and how to configure dynamic modification rules for tightened/reduced inspection.
  • QM integrates with MM (GR inspection, vendor evaluation), PP (in-process blocks, confirmation gates), SD (delivery inspection, CoA), and CO (quality cost tracking) — each boundary requires explicit scoping in requirements workshops.

1) What QM Covers

Six sub-modules of SAP QM: Inspection Planning, Inspection Lot, Results Recording, Usage Decision, Quality Notifications, Certificate Management

SAP Quality Management (QM) is the logistics-chain quality module within SAP S/4HANA. It governs the complete quality loop: plan what to inspect, execute inspections against lots, record results, make acceptance or rejection decisions, manage defect notifications, and issue quality certificates. QM is organized under SAP’s Product Lifecycle Management (PLM) umbrella in S/4HANA and leverages HANA-native columnar storage for real-time quality analytics.

The module enforces ISO 9001 compliance by providing documented quality plans, recorded inspection results, and traceable corrective and preventive actions (CAPA). For regulated industries such as life sciences, QM supports digital signatures in results recording to meet GxP requirements.

The six principal sub-areas are described below.

Inspection Planning

Inspection Plan structure: operations, MICs, methods, sampling procedures, dynamic modification rules

Inspection Planning is the master-data backbone of QM. Its primary object is the Inspection Plan (transaction QP01), a task-list type Q that specifies:

  • Inspection operations — analogous to routing operations in PP, each operation groups characteristics to be checked.
  • Master Inspection Characteristics (MIC) (QS21) — reusable characteristic objects storing quantitative tolerances (upper/lower spec limits) or qualitative catalogs (OK/NOK codes, defect codes).
  • Inspection Methods — documented procedures attached to characteristics (e.g., visual inspection, hardness test, dimensional measurement).
  • Sampling Procedures — statistical rules governing sample size and acceptance criteria (see Section 2).
  • Dynamic Modification Rules — rules that escalate or relax inspection severity based on historical lot performance (see Section 2).

Inspection plan validity is controlled by the inspection origin (usage): origin 01 covers goods receipt from vendor, origin 04 covers in-process production, origin 10 covers outgoing deliveries to customers. A single material can have separate inspection plans per origin, or a single plan with multiple usages.

The Quality Management Control Key in the material master (QM view) activates QM for a plant-material combination. Without it, no inspection lots are generated for that material. Consultants must determine at requirements time which materials warrant QM activation and at which plants.

Inspection Lot Management

Inspection lot creation triggers: origin 01 GR from vendor, 04 production order, 10 SD delivery

The Inspection Lot is QM’s central execution object. It is created automatically by integration triggers or manually by quality staff. Automatic creation is driven by:

OriginTriggerMovement Type
01Goods Receipt from vendor101
04Production order / process order phase— ¹
10Outbound delivery creation in SD601
89Miscellaneous (manual, stock transfer)varies

¹ Origin 04 in-process inspection is triggered by PP operation/phase confirmation — not a MIGO goods movement — hence no movement type. Note: a GR from a production order (movement type 101) can also generate an origin 04 lot depending on inspection type configuration.

When a GR inspection lot is created (origin 01), the material moves into quality inspection stock — physically in the warehouse but logically blocked from unrestricted use. MRP and ATP calculations remain unaffected unless the plant explicitly reserves quality stock.

An inspection lot references the inspection plan and the material-plant combination, resolving which characteristics and sampling procedure apply to the current lot size.

Results Recording and Usage Decision

Usage Decision flow: Results Recording → Usage Decision → Accept (unrestricted), Reject (blocked/scrap), Re-inspection

Results Recording (transactions QE01, QE51N, or Fiori app “Record Inspection Results”) is where quality personnel enter measured values or attribute assessments against each required characteristic. Quantitative characteristics are compared to upper and lower specification limits; qualitative characteristics are evaluated against catalog codes.

A required characteristic blocks the Usage Decision if results have not been recorded. This enforcement ensures no lot can be accepted without documented evidence — critical for ISO 9001 and GxP compliance.

Usage Decision (UD) (transaction QA11, or Fiori app “Make Usage Decision”) finalizes the inspection lot. The UD stock posting options are:

UD CodeStock Movement
AcceptPost to unrestricted-use stock
RejectPost to blocked stock, scrapping, or return to vendor
Re-inspectionExtend inspection, partial posting

The UD is the point of truth for quality stock release. In procurement, an accepted UD posts the material from quality inspection stock to unrestricted stock, making it available for production or sale.

Quality Notifications

Quality Notification types: Q1 internal, Q2 customer complaint, Q3 vendor complaint

A Quality Notification (QN) manages defects and corrective actions. Three standard notification types exist:

TypeUse Case
Q1Internal problem report
Q2Customer complaint
Q3Vendor complaint

A QN can be created directly from an inspection lot (defect recording), triggered by SD customer contact, or created standalone. Each notification contains:

  • Subject — defect description, affected material/quantity/batch.
  • Items — individual defect items with defect class, defect location, and defect code from catalogs.
  • Causes — root cause analysis (supports 5-Whys tracing or Ishikawa diagram linkage).
  • Tasks — corrective/preventive actions assigned to partners with due dates and status tracking.
  • Activities — work confirmation and time posting to CO orders.

SAP S/4HANA supports the 8D process through the notification activity catalog. Workflow can be configured for escalation and approval routing. The Fiori app “Manage Quality Notifications” (F1378) replaces legacy transactions QM01/QM02/QM03.

Customer complaint notifications (Q2) can trigger credit memo requests in SD via the notification action box, bridging QM defect management with the revenue correction process.

Certificate Management

Certificate Management in QM covers two directions:

  1. Receipt certificates — verifying quality of incoming goods from a vendor. The system checks whether the vendor has submitted a valid certificate before posting GR, depending on configuration.
  2. Issue certificates (Certificate of Analysis, CoA) — generated for outgoing goods. The CoA compiles batch inspection results and is printed or digitally transmitted alongside the SD delivery.

Certificate profiles in Customizing define which inspection results and batch classification characteristics appear on the printed CoA. In S/4HANA, batch characteristics (managed via SAP Classification) can be automatically populated from inspection results using the “Transfer to Batch” function, eliminating manual data re-entry.

Digital certificate transmission via EDI/IDoc or PDF attachment through output management is available in S/4HANA, replacing paper-based CoA processes common in legacy ECC environments. The Fiori app “Print Quality Certificates” supports ad-hoc certificate reprinting for customer service scenarios.


2) Organizational Structure

QM organizational structure: Client, Plant, Storage Location, Purchasing Org, Sales Org

QM operates at plant level within the SAP organizational hierarchy. The key organizational elements for QM are:

Organizational ObjectQM Relevance
ClientQM Customizing (catalog types, notification types) defined here
PlantQM activation per plant. Inspection plans, quality info records, and sampling procedures are plant-specific or cross-plant
Storage LocationQuality inspection stock resides at storage location level; physical inventory unaffected during inspection
Purchasing OrganizationQuality Info Records link vendor + material + purchasing org
Sales OrganizationCustomer-specific QM requirements (CoA, specification) linked via material info record

The QM Control Key (assigned in material master QM view) is the plant-level switch that determines which inspection origins are active for a given material. Without a QM Control Key, GR posting does not trigger an inspection lot even if an inspection plan exists.

Test Equipment Management

QM also covers Test Equipment Management (QM-IM): calibration plans and calibration inspection lots for measurement devices. This ensures measurement system traceability — a requirement under ISO 9001 clause 7.1.5 (monitoring and measuring resources). Calibration equipment is set up as measuring equipment in QM-IM, and periodic calibration creates inspection lots automatically.


3) Roles

QM roles: Quality Planner, Inspector, Engineer, Manager, and QM Consultant — responsibilities and primary tools

Successful QM implementation requires clear role definition across three domains:

RoleTypical TitlePrimary QM Responsibility
Quality PlannerQM Master Data CoordinatorCreate and maintain inspection plans, MICs, sampling procedures, QM Control Keys
Quality InspectorQuality Control TechnicianProcess inspection lot worklist, record results, make usage decisions
Quality EngineerQA Engineer / Defect AnalystCreate and process quality notifications, conduct root cause analysis, verify CAPA effectiveness
Quality ManagerQA ManagerReview quality dashboards, manage escalations, approve critical usage decisions
QM ConsultantSAP QM Functional ConsultantConfigure QM Customizing, design inspection plans and sampling strategies, lead requirements workshops

In S/4HANA Fiori, role-based launchpads deliver the correct app tiles to each user. Quality Inspectors use the “My Quality Tasks” app (F2284) and “Manage Inspection Lots” (F0835); Quality Engineers use “Manage Quality Notifications” (F1378); Quality Planners use “Manage Inspection Plans” (QP01 equivalent Fiori apps).


Summary

SAP QM summary: six sub-modules, four integration boundaries, three foundational design decisions

SAP QM provides the quality enforcement backbone across the S/4HANA logistics chain. Its six sub-modules — Inspection Planning, Inspection Lot Management, Results Recording, Usage Decision, Quality Notifications, and Certificate Management — work together to ensure that quality data is planned, executed, recorded, decided, escalated, and documented in a single integrated system.

For requirements definition teams, the critical work lies not in understanding the mechanics of each sub-module, but in making the right design decisions: which materials and plants to activate, how to design inspection plans and sampling strategies, how to configure dynamic modification rules that balance thoroughness with throughput, and where to draw the integration boundaries with MM, PP, SD, and CO.

The deeper layers of this knowledge base — master data design (QM-A series) and transaction flows (QM-B series) — provide the drill-down reference for each of these decisions.

L1) Big Picture

IDCategoryTitle
qm-001OverviewWhat is SAP QM? 📍

L2-A) Master Data

IDCategoryTitle
qm-a01OverviewSAP QM Master Data: Overview, Hierarchy & Relationships
qm-a02-01Master DataSAP QM Catalog
qm-a02-02Master DataSAP QM Master Inspection Characteristic
qm-a02-03Master DataSAP QM Inspection Method
qm-a03-01Master DataSAP QM Sampling Procedure
qm-a03-02Master DataSAP QM Dynamic Modification Rule
qm-a05-01Master DataSAP QM Material Master
qm-a04-01Master DataSAP QM Work Center
qm-a04-02Master DataSAP QM Inspection Plan
qm-a05-02Master DataSAP QM Quality Info Record

L2-B) Transaction

IDCategoryTitle
qm-b01OverviewSAP QM Transactions: Process Flow, Hierarchy & Relationships