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

Blog

The most important SAP Quality Management (QM) tables for users of  Alteryx, KNIME, Dataiku, Microsoft, Databricks, Snowflake & more

17/4/2026

 
Picture

In this blog we identify the most important SAP Quality Management (QM) tables for users of:

  • Alteryx and the DVW Alteryx Connector for SAP
  • KNIME and the DVW KNIME Connector for SAP
  • Dataiku and the DVW Dataiku Connector for SAP
  • Power BI, Tableau, Databricks, Snowflake and the DVW Flow Tool

These tables cover the core QM data objects, from inspection lots, characteristic results and samples through quality notifications, along with the inspection plans, catalogues, material, batch and configuration tables you will need to build complete quality reporting and analytics workflows. Accurate quality analytics, including first-pass yield, supplier quality scorecards and defect trend analysis, depend on joining these tables correctly.

SAP Quality Management tables are found in the following SAP systems:

  • SAP ECC
  • SAP ERP
  • SAP S/4HANA

The QM data model is broadly consistent between SAP ECC and SAP S/4HANA. The most important difference for analytics users is that QAMB, the table that links inspection lots to material movements, points to MKPF and MSEG in ECC but points to the universal document table MATDOC in S/4HANA.

SAP Quality Management (QM) Transaction Tables

Inspection Lot Tables

The inspection lot is the central transactional object in SAP QM. Every quality inspection, whether triggered by a goods receipt, a production confirmation, a stock transfer or a manual request, creates an inspection lot that carries the quantity to be inspected, the characteristics to check and the final usage decision. The key Inspection Lot tables are:

QALS - Inspection Lot Master. Contains one row per inspection lot with fields such as inspection lot number (PRUEFLOS), material number (MATNR), plant (WERKS), lot origin (HERKUNFT), lot quantity (LMENGE), inspection type (ARTPR) and usage decision status (STAT35). This is your starting point for any inspection lot analysis.

QAMR - Characteristic Single Results. Contains the individual measured values recorded against each inspection characteristic. Key fields include inspection lot (PRUEFLOS), operation (VORNLFNR), characteristic number (MERKNUM), reading number (WERTNR), mean value (MITTELWERT) and original value (ORIGINALWERT). Join to QALS on PRUEFLOS to analyse actual measurement data at the lowest level of granularity.

QAMV - Inspection Characteristic Specification. Contains the inspection specification for each characteristic within the lot. Key fields include inspection lot (PRUEFLOS), operation (VORNLFNR), characteristic number (MERKNUM), upper tolerance (TOLERANZOB), lower tolerance (TOLERANZUN) and inspection method (VERFAHREN). Join to QAMR on PRUEFLOS, VORNLFNR and MERKNUM to compare recorded results against their target specifications.

QAMB - Link between QM Inspection Lots and Material Documents. Connects inspection lots to the material movements that created or consumed them. Key fields include inspection lot (PRUEFLOS), material document (MBLNR), document year (MJAHR) and item (ZEILE). In SAP ECC this joins to MKPF and MSEG. In SAP S/4HANA this joins to the universal material document table MATDOC. Essential for analyses that link quality outcomes back to goods receipts, production confirmations and stock movements.

QASR - Characteristic Sample Results. Contains the measured values recorded against individual samples drawn from a lot. Key fields include inspection lot (PRUEFLOS), operation (VORNLFNR), characteristic number (MERKNUM) and sample number (PROBENR). Use alongside QAMR for inspection plans that require sample-level traceability.

QASE - Sample. Contains one row per physical sample drawn for an inspection lot. Key fields include inspection lot (PRUEFLOS) and sample number (PROBENR). Join to QASR on PRUEFLOS and PROBENR to report on sampling activity.

Quality Notification Tables

Quality notifications record quality problems reported internally or by customers and vendors, along with the defects, activities and tasks used to resolve them. The key Quality Notification tables are:

QMEL - Quality Notification Header. Contains one row per quality notification. Key fields include notification number (QMNUM), notification type (QMART), material number (MATNR), customer (KUNUM), vendor (LIFNUM) and short text (QMTXT). This is the starting point for customer complaint, internal problem and vendor complaint analysis.

QMIH - Notification Item. Contains the technical object data for each notification, including equipment (EQUNR) and functional location (TPLNR). This table is shared with Plant Maintenance, which is useful when quality issues are linked to specific assets.

QMFE - Notification Defect. Contains one row per defect recorded against a notification. Key fields include notification number (QMNUM), defect counter (FENUM), defect code (FECOD) and object part (OTEIL). Essential for defect code frequency analysis and Pareto reporting.

QMMA - Notification Activity. Contains the activities performed in response to a notification. Key fields include notification number (QMNUM) and activity counter (MANUM). Useful for tracking corrective and preventive actions.

QMSM - Notification Task. Contains the tasks raised to resolve each notification. Key fields include notification number (QMNUM) and task code (MNCOD). Use for workload and resolution-time reporting on quality tasks.

SAP Quality Management (QM) Master Data Tables

Quality master data in SAP is split across inspection plans, inspection catalogues and material and batch master data. Together these tables define what gets inspected, how it gets inspected and how the results are coded.

Inspection Plan Tables

Inspection plans share the same underlying task-list tables used by Production Planning routings, which means the structure is familiar to anyone who has already worked with PP data. The key Inspection Plan tables are:

MAPL - Assignment of Task Lists to Material. Maps a material to one or more task lists. Key fields include material number (MATNR), task list type (PLNTY), task list group (PLNNR) and group counter (PLNAL). This table is shared with PP routings.

PLKO - Task List Header. Contains the header record for each inspection plan. Key fields include task list type (PLNTY), task list group (PLNNR) and group counter (PLNAL). Join to MAPL on PLNTY, PLNNR and PLNAL to connect inspection plans to their materials.

PLPO - Task List Operation. Contains one row per operation within an inspection plan. Key fields include task list type (PLNTY), task list group (PLNNR) and node number (PLNKN). Join to PLKO on PLNTY and PLNNR to build the full operation list for a plan.

PLMK - Inspection Characteristic Assignment. Contains the inspection characteristics assigned to each operation within an inspection plan. Key fields include task list type (PLNTY), task list group (PLNNR) and node number (PLNKN). Join to PLPO on PLNTY, PLNNR and PLNKN to see which characteristics are inspected at each operation.

Inspection Catalogue Tables

Inspection catalogues hold the reusable master inspection characteristics, methods and code groups that plans and notifications refer to. The key Inspection Catalogue tables are:

QPMK - Master Inspection Characteristic. Contains reusable inspection characteristic definitions. Key fields include plant (WERKS), master characteristic number (MKMNR) and version (VERSION). Use to enrich characteristic results with stable master-level descriptions.

QPMT - Inspection Method. Contains reusable inspection method definitions. Key fields include plant (WERKS), inspection method (VERFAHREN) and version (VERSION). Useful for reporting results by inspection technique.

QPCT - Catalogue Codes. Contains the individual codes within each catalogue, such as defect codes, cause codes and usage decision codes. Key fields include catalogue type (KATALOGART), code group (CODEGRUPPE) and code (CODE). Join to QMFE, QMMA and QMSM to decode the raw codes stored on notifications.

Material and Batch Tables

Quality data is always anchored to a material and, in most manufacturing scenarios, to a specific batch. The key Material and Batch tables are:

MARA - Material Master General. Contains client-level material data. Key field is material number (MATNR). This is typically your primary material dimension table.

MARC - Material Plant Data. Contains material data specific to each plant, including fields from the QM view such as the QM procurement key and inspection setup. Key fields are material number (MATNR) and plant (WERKS). Essential for filtering quality analytics by plant and for confirming which materials are subject to QM procurement controls.

MCH1 - Batches (Cross-Plant). Contains the cross-plant batch master record. Key fields are material number (MATNR) and batch (CHARG). Useful for batch genealogy and recall analyses that span multiple plants.

MCHA - Batches (Per Plant). Contains plant-specific batch data. Key fields are material number (MATNR), plant (WERKS) and batch (CHARG). Join to QALS via MATNR, WERKS and batch to link inspection results back to the specific batch they relate to.

SAP Quality Management (QM) S/4HANA Integration

The QM data model is largely unchanged in SAP S/4HANA, but the integration point with Materials Management has moved. Analytics users should be aware of the following table:

MATDOC - Universal Material Document. The S/4HANA replacement for MKPF and MSEG, holding header and item data for every material movement in a single table. Key fields include material document (MBLNR), document year (MJAHR) and item (ZEILE). In S/4HANA, QAMB links QM inspection lots directly to MATDOC. In SAP ECC the equivalent link is to MKPF (header) and MSEG (item). Compatibility views for MKPF and MSEG still exist in S/4HANA, so existing queries will keep working, but new workflows should join QAMB to MATDOC for best performance.

SAP Quality Management (QM) Configuration Tables

Configuration tables (also known as customising tables) contain the settings and descriptions that define how your SAP QM module behaves. These are small, slowly changing tables that are useful for decoding the values stored in transaction and master data tables. The configuration tables listed below apply to both SAP ECC and SAP S/4HANA.

T001W - Plants. Contains the list of plants defined in your system. Key field is plant (WERKS). Join to QALS, MARC and MCHA to enrich quality data with plant descriptions and organisational assignments.

TQ30 - Inspection Type / Control Key. Contains the list of inspection types configured in your system (e.g. goods receipt inspection, in-process inspection, returns inspection). Key field is inspection type (ART). Join to QALS on ARTPR to decode inspection type in your reports.

TQ77 - Usage Decision Codes. Contains the usage decision codes used to close inspection lots (accept, reject, accept with deviation, etc.). Key fields are usage decision catalogue (VERWKAT) and usage decision code (VERWCODE). Join to QALS via the usage decision fields to translate codes into meaningful accept and reject categories.

Explore SAP QM Tables with a DVW Connector

The fastest way to explore SAP QM tables is to connect directly to your SAP system from your preferred analytics platform. DVW Connectors let you browse available tables, preview fields and extract data without writing any ABAP code. All DVW products support both SAP ECC and SAP S/4HANA.

To see how all 26 tables in this blog connect to each other, visit our SAP QM Table Relationships page for an interactive data model diagram with join keys and ECC vs S/4HANA compatibility.

All DVW products include a 30-day free trial with full functionality, so you can start working with these tables right away. Visit our Free Trial page to get started, or explore our Help Centre for detailed documentation on connecting to SAP QM tables.

Next Steps

See these SAP QM tables in action. Register for a 30-day free trial and start extracting inspection, notification and quality data from your SAP system today.

Free Trial Pricing Contact Us

Comments are closed.

    RSS Feed

    Categories

    All
    AI & Machine Learning
    Alteryx Connector
    Audit
    Dataiku Connector
    Data Migration
    Flow Tool
    KNIME Connector
    Process Automation
    Product Updates
    Reporting & Analytics
    RPA Tools For SAP
    SAP Data Extraction
    SAP S/4HANA
    SAP Tables
    Use Cases
    Webinar

    Archives

    May 2026
    April 2026
    March 2026
    February 2026
    December 2025
    November 2025
    October 2025
    August 2025
    July 2025
    October 2024
    September 2024
    July 2024
    June 2024
    February 2024
    October 2023
    June 2023
    May 2023
    March 2023
    February 2023
    January 2023
    June 2022
    March 2022
    February 2022
    December 2021
    November 2021
    October 2021
    May 2021
    April 2021
    December 2020
    October 2020
    June 2020
    February 2020
    September 2019
    June 2019
    August 2018
    June 2018

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