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

SAP QM Material Master

The Material Master is the trigger point for inspection lot generation in SAP QM. Whether a goods receipt creates an inspection lot, what inspection plan is used, and whether a certificate is required — all of this is controlled from this master. This article covers the Material Master’s structure, views, organizational levels, and the field-level detail QM consultants must own.


Part 1: Material Master — Core Concepts (All Modules)

1.1 What Is the Material Master?

The Material Master is the central repository that stores all information about every material (item/product) a company handles — raw materials, semi-finished goods, finished products, consumables, and everything else that flows through the enterprise.

AspectDetails
RoleSingle Source of Truth for all material attributes across the enterprise
Modules using itMM (Purchasing, Inventory), PP (Production Planning, MRP, BOM), SD (Sales, Shipping, ATP), WM/EWM (Warehouse Mgmt, Putaway/Pick), QM (Quality Inspection, CoA), FI (Inventory Valuation, Auto Posting), CO (Standard Cost, Variance Analysis), PM (Plant Maintenance, MRO Procurement), PS (Project Procurement, Material Allocation), CS (Customer Service, Spare Parts), EHS (Hazardous Material Mgmt, Environmental Compliance), GTS (Trade Compliance, HS Code, Export Control)
TransactionsMM01 (Create) / MM02 (Change) / MM03 (Display)
S/4HANA changeMaterial number length extended from 18 to 40 digits (MATNR field)

1.2 Three Defining Axes: Material Type × Industry Sector × Views

SAP Material Master — three defining axes: Material Type, Industry Sector, and Views

The structure of a Material Master record is determined by the combination of three axes:

AxisDescriptionExamples
Material TypeClassifies the material. Controls screen layout, number assignment, and valuation methodROH, FERT, HALB
Industry SectorIndustry branch. Controls which fields are displayed based on industry characteristicsM (Mechanical), C (Chemical), A (Automotive)
ViewsData sets organized by department. Only relevant views need to be extendedBasic Data, MRP, Accounting

Important: Once created, Material Type and Industry Sector cannot be changed as a general rule. Lock these in during design.


1.3 Key Material Types

SAP MM — 8 standard Material Types with stock management and valuation attributes

CodeNameUse CaseStock-ManagedQty / Value
ROHRaw MaterialInput materialsYesBoth
HALBSemi-FinishedInternally produced intermediatesYesBoth
FERTFinished ProductInternally produced / sold goodsYesBoth
HAWATrading GoodsBuy-and-sell merchandiseYesBoth
HIBEOperating SuppliesIndirect materials, consumablesYesBoth
DIENServiceService itemsNoValue only
NLAGNon-StockNo inventory managementNo—
UNBWNon-ValuatedQuantity tracking onlyYesQty only

1.4 View Structure

SAP Material Master — 30 Views grouped by owning module with org level

The Material Master is divided into department-specific Views. Only the views required by each department need to be extended. Approximately 30 standard views exist; the views to extend are selected based on Material Type and business requirements.

#ViewOwning DeptKey FieldsOrg Level
1Basic Data 1Cross-moduleMaterial description, Base UoM, Material group, Weight/VolumeClient
2Basic Data 2Cross-moduleDimensions, EAN/UPC, Old material number, DivisionClient
3ClassificationCross-moduleClass assignment, Characteristic valuesClient
4PurchasingPurchasing (MM)Purchasing group, Order unit, GR processing time, Source list required flagPlant
5Purchase Order TextPurchasing (MM)PO text, Text ID, LanguagePlant
6Foreign Trade: ImportPurchasing (MM) / GTSCountry of origin, HS code (import), CAS number, Import licensePlant
7MRP 1Purchasing / PP (MM/PP)MRP type, MRP controller, Lot size, Reorder pointPlant
8MRP 2Purchasing / PP (MM/PP)Procurement type, Special procurement, Planned delivery time, Safety stockPlant
9MRP 3Purchasing / PP (MM/PP)Strategy group, Consumption mode, Availability checkPlant
10MRP 4PP-orientedBOM selection, Individual/collective requirements, Discontinuation flagPlant
11ForecastingPurchasing / PP (MM/PP)Forecast model, Historical/forecast periods, Smoothing factorsPlant
12Work SchedulingProduction (PP)Production unit, Receiving storage location, In-house production timePlant
13Production Resources/ToolsProduction (PP)Production resource/tool dataPlant
14General Plant Data / Storage 1Inventory (MM) / EHSPlant-specific material status, Storage conditions, Hazardous material number, EHS hazard dataPlant
15General Plant Data / Storage 2Inventory (MM)Shelf life management, Minimum remaining shelf life, Temperature conditionsPlant
16Warehouse Management 1Warehouse (WM/EWM)Warehouse number, Storage type, Storage sectionWarehouse
17Warehouse Management 2Warehouse (WM/EWM)Picking type, WM unit of measureWarehouse
18Quality ManagementQuality (QM)QM procurement key, Inspection type, Certificate typePlant
19Accounting 1Finance (FI)Valuation class, Price control (S/V), Standard price / Moving average priceValuation Area
20Accounting 2Finance (FI)Tax-based valuation, Commercial valuation, Devaluation flagValuation Area
21Costing 1Controlling (CO)Costing lot size, With/without quantity structure, Variance keyPlant
22Costing 2Controlling (CO)Standard cost (Future/Current/Previous), Costing statusPlant
23Sales: Sales Org 1Sales (SD)Sales unit, Tax classification, Item category groupSales Org / DCh
24Sales: Sales Org 2Sales (SD)Material statistics group, Material group 1–5Sales Org / DCh
25Sales: General/PlantSales (SD)Delivering plant, Transportation group, Loading group, Profit centerPlant
26Sales TextSales (SD)Sales/shipping textsClient
27Foreign Trade: ExportTrade (SD/GTS)HS code (export), Export statistics group, Preference status, Export controlPlant
28Plant StockReference (display only)Plant stock quantity / value (read-only)Plant
29Storage Location StockReference (display only)Storage location-level stock (read-only)Storage Loc
30Environment (EHS)EHSHazardous substance regulations, Waste codePlant

1.5 Organizational Levels and Data Hierarchy

SAP Material Master — organizational levels from Client down to Storage Location and Warehouse

Each view stores its data at a different organizational level. This is the core design challenge of the Material Master.

Client (300)
   │
   ├── Basic Data, Classification ← Client-level (one record for entire enterprise)
   │
   ├── Plant (1000, 2000, ...)
   │      │
   │      ├── MRP, Purchasing, Work Scheduling ← Plant-level
   │      │
   │      ├── Storage Location (0001, 0002, ...)
   │      │      └── Storage Data ← Storage Location-level
   │      │
   │      └── Warehouse Number (WH1, ...)
   │             └── WM Data ← Warehouse-level
   │
   ├── Valuation Area = Plant ← Accounting is typically at Plant level
   │      └── Valuation class, Standard cost
   │
   └── Sales Org × Distribution Channel
          └── Sales Data ← Sales Org-level
Org LevelPrimary UseRepresentative FieldsNotes
ClientEnterprise-wide common attributesMaterial description, Base UoM, ClassificationOne record shared across entire enterprise
Company CodeFinancial accounting unitAccounting View (valuation class, price control)When Valuation Area = Company Code
Controlling AreaManagement accounting unitCosting View (cost estimate, variance analysis)May span multiple Company Codes
Purchasing OrganizationPurchasing org unitPurchasing Info Record (price, conditions)Material Master itself is at Plant level; purchase conditions are at Purch. Org level
PlantFactory / site unitMRP, Purchasing, Work Scheduling, General Plant DataThe primary level with the most views
Purchasing GroupBuyer groupPurchasing View: Purchasing Group (EKGRP)Buyer group within a Plant; starting point for PO release strategy routing
Valuation AreaInventory valuation unitAccounting 1 (valuation class, standard price)Typically = Plant; Company Code-level valuation is also configurable
Storage LocationStorage area unitGeneral Plant Data / Storage (storage location stock)Warehouse / bin area within a Plant
Warehouse NumberWarehouse management unitWM View (storage type, picking strategy)Used in Plants with WM/EWM
Sales OrganizationSales org unitSales: Sales Org View (sales unit, tax classification)Keyed together with Distribution Channel
Distribution ChannelDistribution channel unitSales: Sales Org ViewExtended in combination with Sales Org
(GTS reference)Trade compliance managementForeign Trade View (HS code, country of origin, export control)No GTS-specific org level key in Material Master; GTS references the Foreign Trade View data

Part 2: QM-Specific View Details (Quality Management)

2.0 All Views × QM Involvement

#ViewPrimary ModuleQM Involvement
1Basic Data 1Cross-module○
2Basic Data 2Cross-module△
3ClassificationCross-module○ (batch classification for QM characteristics)
4PurchasingMM○ (GR triggers inspection lot)
5Purchase Order TextMM×
6Foreign Trade: ImportMM×
7MRP 1MM / PP×
8MRP 2MM / PP×
9MRP 3MM / PP×
10MRP 4PP×
11ForecastingMM / PP×
12Work SchedulingPP△ (in-process inspection)
13Production Resources/ToolsPP×
14General Plant Data / Storage 1MM○ (shelf life, hazmat)
15General Plant Data / Storage 2MM○ (SLED management)
16Warehouse Management 1WM / EWM△ (inspection stock in warehouse)
17Warehouse Management 2WM / EWM△
18Quality ManagementQM◎ (Owner)
19Accounting 1FI×
20Accounting 2FI×
21Costing 1CO×
22Costing 2CO×
23Sales: Sales Org 1SD×
24Sales: Sales Org 2SD×
25Sales: General/PlantSD×
26Sales TextSD×
27Foreign Trade: ExportSD / GTS×
28Plant StockReference—
29Storage Location StockReference—
30Environment (EHS)EHS△

Legend: ◎ = Owner / Critical, ○ = Direct involvement, △ = Reference / Integration, × = Other module owns, — = Display-only view


2.1 Quality Management View

The control center for QM integration in the Material Master. Every field here directly determines whether and how inspections are triggered.

FieldDescriptionPractical Usage
QM Material AuthorizationQM active flagMust be explicitly set per Plant to activate QM for this material. Without this flag, no inspection lot is created regardless of other QM settings. First checkpoint when “inspection lots are not being created” is reported.
QM Procurement ActiveGR inspection activationWhen checked, the system automatically creates an inspection lot at every GR for this material. The inspection lot places the received quantity in “Inspection Stock” — physically unrestricted but logistically blocked until a Usage Decision (UD) is posted. Unchecking stops GR inspection without affecting the material’s QM View setup.
QM Control KeyInspection behavior bundleA Customizing key that defines: whether a certificate is required at GR, whether the inspection lot is created automatically or manually, whether the stock is placed in restricted-use or unrestricted stock while inspection is pending, and whether a UD is mandatory before transfer to unrestricted. Design one Control Key per inspection scenario (e.g., critical supplier = mandatory UD + certificate required; standard supplier = auto-UD without certificate).
Inspection Setup — Inspection Type 01GR inspection from Purchase OrderThe most common QM entry point. When activated here, every GR from a PO creates an inspection lot of type 01. Links to the Inspection Plan with Usage 5 (General) or Usage 2 (Plant Maintenance), depending on configuration.
Inspection Setup — Inspection Type 04GI inspection (outbound)Activates quality gate at goods issue (e.g., before shipping to customer). Less common than GR inspection but used in high-spec manufacturing where outbound quality confirmation is contractually required.
Inspection Setup — Inspection Type 10Recurring (periodic) re-inspectionTriggers periodic re-inspection of stored stock based on the Next Inspection Date. Used for materials with defined stability periods (pharmaceuticals, adhesives, lubricants). Requires the “Inspection Interval” to be defined in the Inspection Plan.
Inspection Setup — Inspection Type 89Repeat re-inspectionUsed when a previous inspection lot was rejected and needs to be re-inspected after corrective action. Manually triggered — not automatic.
Certificate TypeRequired certificate at GRDefines the type of certificate required from the supplier at goods receipt (e.g., Certificate of Analysis, Mill Test Certificate, Conformance Certificate). If the certificate is not received, the GR posting can be blocked or flagged. Links to the Quality Info Record per supplier.
Post to Inspection StockStock posting behaviorControls whether GR-inspected stock is posted to “Inspection Stock” (logistically visible but blocked for consumption) or directly to “Unrestricted Stock” (when Auto-UD is configured). Design the stock type behavior together with MM and warehouse teams — unexpected stock type assignments cause picking failures.

2.2 Purchasing View — QM-Relevant Fields

FieldDescriptionPractical Usage
GR Processing TimeDays for GR processingFor QM-inspected materials, this should reflect the inspection lead time (sampling + testing + UD). MRP uses this in planning calculations — underestimating inspection time causes material shortages because MRP does not account for stock sitting in Inspection Stock.

2.3 General Plant Data / Storage 1 — QM-Relevant Fields

FieldDescriptionPractical Usage
Shelf Life Expiration Date RequiredSLED entry at GRWhen checked, the system requires entry of the expiration date (SLED) at GR. This data feeds QM’s recurring inspection trigger (Inspection Type 10) and FEFO picking in WM/EWM. Mandatory for pharma, food, and chemical materials.
Minimum Remaining Shelf LifeAcceptance thresholdIf the incoming lot’s remaining shelf life is below this value, QM can block the inspection lot from being transferred to unrestricted stock. Works in combination with the QM Control Key that checks SLED at GR.
Hazardous Material NumberEHS referenceQM may need to define special handling procedures for hazardous materials during inspection (e.g., fume hood required, PPE specification). The Hazmat Number links to the EHS master for safety data.

2.4 General Plant Data / Storage 2 — QM-Relevant Fields

FieldDescriptionPractical Usage
Total Shelf LifeTotal life from manufacturing dateUsed to calculate the SLED when the supplier provides a manufacturing date but not an explicit expiration date. The system adds Total Shelf Life (days) to the manufacturing date to derive the SLED — verify this calculation with the QM team for each material category.
Period Indicator for SLEDSLED unit (D/M/Y)Must be consistent with how the Inspection Plan’s recurring inspection interval is defined. Mixing day-based shelf life with month-based recurring inspection intervals causes incorrect next inspection date calculations.

2.5 Classification View — QM-Relevant

Batch classification (Class Type 023) is the bridge between QM inspection results and inventory management.

FieldDescriptionPractical Usage
Batch Class (Class Type 023)Batch-level QM characteristicsAssign a Batch Class to the material to enable recording of QM result values (e.g., purity %, particle size) directly on the batch. These values can then drive FEFO-like selection based on quality criteria (e.g., always use the highest-purity batch first). Required for materials where inspection results must be searchable in batch inventory.
Characteristics (on Batch Class)Measurable quality attributesExamples: assay %, moisture content, viscosity, color index. Characteristics recorded on the batch during QM results recording become searchable and reportable across all stock — enabling quality-driven picking (not just FEFO but “best quality first” or “specification-matched”).

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