SAP tableObjectQALSModuleQM

QALS table — QALS Inspection Lot Header Table

QALS is the header table for inspection lots in SAP Quality Management. One row represents one inspection lot: the material, plant, batch, lot quantity, origin type (goods receipt, in-process, goods issue, audit, and so on), creation date, and the object number used to look up its status. Usage decisions, characteristic results, and defect data sit in separate tables joined on the lot number.

This page covers the QALS inspection lot header table used across SAP QM: what a row represents, the fields worth trusting, how it joins to material master, batch, status management and usage decision tables, and the recurring mistakes consultants make when reading lot counts and statuses straight out of this table. It also covers how the table behaves in S/4HANA and who owns data questions raised against it.

Reviewed by an ERPClimb SAP consultant on 16 Sept 2026· 1,115 words

What it stores

Each row in QALS is one inspection lot: a discrete unit of inspection work created automatically or manually against a material, batch, plant and process step. A lot is created for a goods receipt, an in-process check, a goods issue, a stock transfer, a manual audit, or a QM order, among other origins, and the ART field records which. The row carries the lot quantity, the material and plant it belongs to, the batch if the material is batch-managed, the creation date, and a pointer (the object number) into the general status management framework rather than a plain status field. QALS does not hold the results of the inspection or the usage decision itself; it is the anchor row that everything else in the inspection lot lifecycle hangs off.

Key fields

  • MANDT - client
  • PRUEFLOS - inspection lot number, the primary key used by every downstream QM table
  • ART - inspection lot origin type (goods receipt, in-process, goods issue, stock transfer, audit, QM order, and so on), drives which fields and follow-on logic apply
  • MATNR - material number the lot was created for
  • WERK - plant
  • CHARG - batch number, populated only for batch-managed materials
  • LOSMENGE - inspection lot quantity
  • HERKUNFT - origin indicator tied to ART, used by the system to decide which inspection type and control key logic to apply
  • ERSTELLDAT - lot creation date
  • OBJNR - object number linking the lot to the status management tables, which is where the real lot status lives

How it joins the data model

  • QALS-PRUEFLOS = QAVE-PRUEFLOS, joins the lot header to its usage decision record
  • QALS-OBJNR = JEST-OBJNR, resolves the current system and user statuses of the lot (QALS itself carries no readable status field)
  • QALS-MATNR = MARA-MATNR, brings in material master attributes
  • QALS-WERK = T001W-WERK, brings in plant data
  • QALS-MATNR/CHARG = MCHA-MATNR/CHARG (or MCH1 for non-plant-specific batches), resolves batch master data when the lot is batch-managed

How to read it safely

QALS is client-dependent and grows continuously in any live QM setup, so an unrestricted select against it in a production system is a bad idea. Always restrict on WERK and MATNR first, then narrow by ART if the question is about a specific origin type (goods receipt lots behave very differently from in-process or audit lots), and add a date range on ERSTELLDAT for anything beyond a handful of materials. PRUEFLOS is the most selective single field but is rarely known up front; MATNR plus WERK plus ART is the practical entry point for most investigations. Do not try to read a status directly from QALS: there is no simple open/closed field, and any apparent status-like value found by guessing at field names is not reliable.

How to prove it in the data

Symptom: a goods receipt is blocked in stock in quality inspection and the business wants to know why. Select QALS on WERK, MATNR and ART equal to the goods-receipt origin, sorted descending on ERSTELLDAT, to find the open lot. Take its PRUEFLOS, then check JEST via OBJNR to confirm the lot has not yet reached a completed status, and check QAVE on the same PRUEFLOS to confirm no usage decision has been posted. If QAVE has a row, the lot is decided and the stock block is coming from somewhere else, not from an open inspection lot.

ECC vs S/4HANA

QALS is retained as a standard transparent table in S/4HANA with the same structure and role it had in ECC; there is no compatibility view replacing it and no restructuring specific to the inspection lot header. The surrounding QM process (lot creation, results recording, usage decision) is functionally unchanged, though some Fiori-based inspection apps present the same data through their own OData services rather than direct table access. For custom reporting, direct reads against QALS remain valid on S/4HANA.

Common pitfalls

  • Treating QALS as if it holds a status field. It does not; the status lives in general status management, reached only through OBJNR and JEST. Anyone reporting lot status straight from a QALS extract without that join is reporting nothing meaningful.
  • Counting lots by MATNR/WERK without filtering ART and concluding a material has more open inspection work than it does. A single receipt can generate multiple lots of different origin types (goods receipt plus a parallel audit lot, for example), and mixing them inflates the count.
  • Assuming LOSMENGE always equals the goods receipt or delivery quantity. Partial lots, quantity adjustments after creation, and manually created lots can leave LOSMENGE out of step with the originating document quantity.
  • Assuming a lot with no row in QAVE means the inspection has not started. Usage decision is a separate, later step; a lot can be fully sampled and recorded in the characteristics results tables and still be sitting with no usage decision made.
  • Forgetting that cancelled or technically completed lots are not deleted from QALS. A raw row count of open-looking lots that ignores status will overstate the backlog.
  • Confusing HERKUNFT with ART. They are related but not interchangeable; filtering on the wrong one silently returns the wrong population of lots.

Whose problem this is

Data questions on QALS belong to the QM consultant or quality engineer responsible for the inspection lot configuration, specifically the control key and inspection type setup that decides when lots get created. MM or PP consultants raise the symptom (stock stuck in quality inspection, a receipt that will not post), but the explanation almost always traces back to QM configuration or an open lot that QM owns.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

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