Products

Solutions

Pricing

Free Trial

Blog

Demos & Recordings

Webinars

Events

Contact Us

DVW Analytics
  • Products
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP
      • DVW KNIME Connector for SAP
      • DVW Dataiku Connector for SAP
    • DVW Flow Tool >
      • DVW Flow Tool
      • DVW Employee Master Data Migration for SAP Solutions
    • DVW RPA Tools for SAP >
      • DVW Alteryx RPA Tools for SAP
      • DVW KNIME RPA Tools for SAP
      • DVW Flow Tool RPA Tools for SAP
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
  • Pricing
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP Pricing
      • DVW KNIME Connector for SAP Pricing
      • DVW Dataiku Connector for SAP Pricing
    • DVW Flow Tool >
      • DVW Flow Tool Pricing
    • DVW RPA Tools for SAP >
      • DVW RPA Tools Pricing
  • Free Trial
  • Resources
    • About Us
    • Customers
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows
    • License
  • Insights
    • Blog
    • SAP Data Models >
      • SAP FI/CO Table Relationships - Interactive Data Model Diagram
      • SAP SD Table Relationships - Interactive Data Model Diagram
      • SAP Inventory Management Table Relationships - Interactive Data Model Diagram
      • SAP Purchasing Table Relationships - Interactive Data Model Diagram
      • SAP PP Table Relationships - Interactive Data Model Diagram
      • SAP QM Table Relationships - Interactive Data Model Diagram
      • SAP PM Table Relationships - Interactive Data Model Diagram
      • SAP WM Table Relationships - Interactive Data Model Diagram
      • SAP HCM Table Relationships - Interactive Data Model Diagram
      • SAP PS Table Relationships - Interactive Data Model Diagram
    • Demos & Recordings >
      • DVW Connectors for SAP >
        • DVW Alteryx Connector for SAP Demos
        • DVW KNIME Connector for SAP Demos
        • DVW Dataiku Connector for SAP Demos
      • DVW Flow Tool >
        • DVW Flow Tool Demos
      • DVW RPA Tools for SAP >
        • DVW RPA Tools for SAP Demos
    • Webinars
    • Events
  • Contact Us

SAP QM Table Relationships

Interactive Data Model Diagram

SAP QM Table Relationships

An interactive reference showing how SAP Quality Management tables connect across inspection lots, notifications, inspection plans and master data in both SAP ECC and SAP S/4HANA.

The SAP Quality Management (QM) module stores inspection, notification and quality certificate data across related tables linked to materials, batches, production orders and goods movements. Understanding how these tables join together is essential for building quality KPI dashboards, defect trend analyses, first-pass-yield reporting and supplier quality scorecards.

Use the diagram below to explore table relationships visually, or scroll to the quick-reference guide for a complete list of tables, join keys and system compatibility. QM tables are broadly consistent between ECC and S/4HANA - the most common cross-module dependencies are with MM material documents (MATDOC in S/4HANA), batch tables and inspection task lists shared with PP.

Read the Full Blog Post

Interactive Data Model

Hover over any table to see its description, key fields and system compatibility. Dashed red borders indicate S/4HANA-specific tables.

QM Transaction
Master Data
S/4HANA
Configuration
Inspection Lot QALS Inspection Lot QAMR Char Single Results QAMV Char Spec PRUEFLOS PRUEFLOS QAMB Lot-MatDoc Link QASE Sample QASR Sample Results PRUEFLOS PRUEFLOS PROBENR MERKNUM Notifications QMEL Notification Header QMIH Notif Item (Maint) QMFE Defect QMMA Activity QMSM Task QMNUM QMNUM QMNUM QMNUM triggers Inspection Planning MAPL Material-Task List PLKO Task List Header PLPO Task List Op PLMK Plan Char Assign PLNNR PLNNR PLNKN uses plan char copy Inspection Catalog QPMK Master Char QPMT Inspection Method QPCT Catalog Codes VERFAHREN MKMNR FECOD Material / Batch Master MARA Material (General) MARC Material (Plant) MCH1 Batch (x-Plant) MCHA Batch (Plant) MATNR MATNR CHARG MATNR MATNR MATDOC Universal Mat Doc S/4: MBLNR/MJAHR/ZEILE Configuration T001W Plants TQ30 Inspection Type TQ77 UD Codes config: WERKS config: ART config: UD code

Quick-Reference Guide

All SAP QM tables shown above with their primary join keys and SAP system compatibility.

Table Description Primary Join Keys System
Inspection Lot - Transactional
QALS Inspection Lot Master PRUEFLOS ECC + S/4HANA
QAMR Characteristic Single Results PRUEFLOS, VORNLFNR, MERKNUM, WERTNR ECC + S/4HANA
QAMV Inspection Characteristic Specification PRUEFLOS, VORNLFNR, MERKNUM ECC + S/4HANA
QAMB Link between QM lots and Material Documents PRUEFLOS, MBLNR, MJAHR, ZEILE ECC + S/4HANA
QASR Characteristic Sample Results PRUEFLOS, VORNLFNR, MERKNUM, PROBENR ECC + S/4HANA
QASE Sample PRUEFLOS, PROBENR ECC + S/4HANA
Notifications
QMEL Quality Notification Header QMNUM ECC + S/4HANA
QMIH Quality Notification Item (maintenance data) QMNUM ECC + S/4HANA
QMFE Notification Defect QMNUM, FENUM ECC + S/4HANA
QMMA Notification Activity QMNUM, MANUM ECC + S/4HANA
QMSM Notification Task QMNUM, MNCOD ECC + S/4HANA
Inspection Planning
MAPL Assignment of Task Lists to Material MATNR, PLNTY, PLNNR, PLNAL ECC + S/4HANA
PLKO Task List Header PLNTY, PLNNR, PLNAL ECC + S/4HANA
PLPO Task List Operation PLNTY, PLNNR, PLNKN ECC + S/4HANA
PLMK Inspection Characteristic Assignment (in plan) PLNTY, PLNNR, PLNKN ECC + S/4HANA
Inspection Catalog
QPMK Master Inspection Characteristic WERKS, MKMNR, VERSION ECC + S/4HANA
QPMT Inspection Method WERKS, VERFAHREN, VERSION ECC + S/4HANA
QPCT Catalog Codes KATALOGART, CODEGRUPPE, CODE ECC + S/4HANA
Material / Batch Master
MARA Material Master (General) MATNR ECC + S/4HANA
MARC Material (Plant, includes QM view) MATNR, WERKS ECC + S/4HANA
MCH1 Batches (cross-plant) MATNR, CHARG ECC + S/4HANA
MCHA Batches (per plant) MATNR, WERKS, CHARG ECC + S/4HANA
S/4HANA
MATDOC Universal Material Document (replaces MKPF + MSEG; QAMB links QM lots to MATDOC in S/4HANA) MBLNR, MJAHR, ZEILE S/4HANA
Configuration
T001W Plants WERKS ECC + S/4HANA
TQ30 Inspection Type / Control key ART ECC + S/4HANA
TQ77 Usage Decision Codes VERWKAT, VERWCODE ECC + S/4HANA

Related Resources

Explore more SAP content from DVW Analytics.

SAP QM Tables Blog Post

Detailed descriptions of every table shown in this diagram, with practical tips for building quality analytics workflows.

DVW Help Centre

Guides and documentation for the DVW Connector for SAP, DVW Flow Tool and other DVW products. Available to free trial and paid users.

Try it free for 30 days

Free 30-day trial. Full functionality. No commitment.

Start Your Free Trial
Watch demos View pricing Talk to our team
Products​
​SAP Connectors
DVW Alteryx Connector for SAP
DVW KNIME Connector for SAP
​DVW Dataiku Connector for SAP

DVW Flow Tool
DVW Flow Tool

RPA Tools for SAP
DVW Alteryx RPA Tools for SAP
DVW KNIME RPA Tools for SAP
DVW Flow Tool RPA Tools for SAP
Resources & Insights
Blog
Webinars
Watch Demos
Events
Solutions
SAP Analytics
SAP Data Migration
SAP Process Automation
SAP Data for AI and ML
Company
About Us
Contact Us
Pricing
Free Trial

[email protected]
Get started
​Start Free Trial
View Pricing
Book a Demo
DVW Analytics gives business users and technical teams direct read and write access to SAP data from Alteryx, KNIME, Dataiku, Power BI, Databricks, Snowflake, and more. Trusted by 500+ organisations worldwide.
© COPYRIGHT 2003 - 2026 DE VILLIERS WALTON LIMITED. ALL RIGHTS RESERVED.
Privacy Policy
Cookie Policy
De Villiers Walton Limited. Registered in England and Wales. Company No. 04638006. VAT No. GB 807714429. Registered Office:  Ground Floor Marlborough House, 298 Regents Park Road, London, N3 2SZ, United Kingdom

SAP® Business Suite, SAP® BusinessObjects™, SAP® BW, SAP® SuccessFactors are the trademarks or registered trademarks of SAP SE in Germany and in several other countries.
  • Products
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP
      • DVW KNIME Connector for SAP
      • DVW Dataiku Connector for SAP
    • DVW Flow Tool >
      • DVW Flow Tool
      • DVW Employee Master Data Migration for SAP Solutions
    • DVW RPA Tools for SAP >
      • DVW Alteryx RPA Tools for SAP
      • DVW KNIME RPA Tools for SAP
      • DVW Flow Tool RPA Tools for SAP
  • Solutions
    • SAP Analytics
    • SAP Data Migration
    • SAP Process Automation
    • SAP Data for AI and Machine Learning
  • Pricing
    • DVW Connectors for SAP >
      • DVW Alteryx Connector for SAP Pricing
      • DVW KNIME Connector for SAP Pricing
      • DVW Dataiku Connector for SAP Pricing
    • DVW Flow Tool >
      • DVW Flow Tool Pricing
    • DVW RPA Tools for SAP >
      • DVW RPA Tools Pricing
  • Free Trial
  • Resources
    • About Us
    • Customers
    • Partners
    • Resellers
    • Services
    • Help Centre
    • Sample Workflows
    • License
  • Insights
    • Blog
    • SAP Data Models >
      • SAP FI/CO Table Relationships - Interactive Data Model Diagram
      • SAP SD Table Relationships - Interactive Data Model Diagram
      • SAP Inventory Management Table Relationships - Interactive Data Model Diagram
      • SAP Purchasing Table Relationships - Interactive Data Model Diagram
      • SAP PP Table Relationships - Interactive Data Model Diagram
      • SAP QM Table Relationships - Interactive Data Model Diagram
      • SAP PM Table Relationships - Interactive Data Model Diagram
      • SAP WM Table Relationships - Interactive Data Model Diagram
      • SAP HCM Table Relationships - Interactive Data Model Diagram
      • SAP PS Table Relationships - Interactive Data Model Diagram
    • Demos & Recordings >
      • DVW Connectors for SAP >
        • DVW Alteryx Connector for SAP Demos
        • DVW KNIME Connector for SAP Demos
        • DVW Dataiku Connector for SAP Demos
      • DVW Flow Tool >
        • DVW Flow Tool Demos
      • DVW RPA Tools for SAP >
        • DVW RPA Tools for SAP Demos
    • Webinars
    • Events
  • Contact Us