/SCWM/QUAN
transactionGUID keyQuant attributes — the descriptive side of a stock item (units, weight, volume, goods-receipt time, shelf life, country of origin, and the document reference for special stock), keyed by the stock GUID
Attributes only — quantities live in /LIME/NQUAN and product, stock type, owner, and entitled party live on /SCWM/AQUA; key stock-identity analytics off AQUA, not this table
The primary key is client + GUID_PARENT + GUID_STOCK, not the stock GUID alone (GUID_PARENT is a legacy column but remains in the key). Neither public mirror expands the include structures that would carry MATID, CAT, OWNER, ENTITLED, or CHARG, so those columns are deliberately not authored here — /SCWM/AQUA exposes all of them and is the analytics entry point.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, configuration, an organizational object, or a language-striped text companion.
- Semantic key
- Every non-client key column is readable business data —
LGNUMplus a bin, task, or order number. Joins run on the columns you can see (see the quirks guide). - GUID key
- Every non-client key column is a GUID —
RAW(16)on the /SCWM, /SCDL, /LIME, and /SCMB tables, and theCHAR(22)compressed form on the product master. Join the raw column; a hex rendering is for reading only, and the two encodings need converting between (see the quirks guide). - Mixed key
- The key mixes readable and GUID columns in either direction — a product GUID inside an otherwise-readable bin key, or a readable status type inside an otherwise-GUID key. Check which side of a join you are on (see the quirks guide).
- DOCCAT: PDO
- A /SCDL delivery table holds several document categories in one table — inbound and outbound requests, the inbound delivery, the outbound delivery order, and the final outbound delivery — discriminated by
DOCCAT. The chips list the categories this table carries; anchor the one you mean or documents of every kind come back together (see the quirks guide). - Embedded S/4HANA only
- Deployment: shown only when a table does not exist in both embedded S/4HANA EWM and decentralized EWM. No table in this wave is deployment-specific, so the badge stays absent until one is.
Structural facts — how the table is keyed, not a trap by itself
Join & extract hazards — verify before you rely on this
Fields
17 fields · 3 key
17 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | MANDT | Client | CLNT(3) | Key |
| 2 | GUID_PARENT | GUID of the parent node in the LIME location/handling-unit tree — a legacy column that remains part of the key | RAW(16) | Key |
| 3 | GUID_STOCK | GUID of the stock item — the join handle to the LIME quantities and to available quants | RAW(16) | Key |
| 4 | MEINS | Base unit of measure of the quant | UNIT(3) | |
| 5 | ALTME | Alternative stockkeeping unit of measure | UNIT(3) | |
| 6 | WEIGHT | Net or loading weight of the quant | QUAN(15,3) | |
| 7 | UNIT_W | Unit for the weight value | UNIT(3) | |
| 8 | VOLUM | Net or loading volume of the quant | QUAN(15,3) | |
| 9 | UNIT_V | Unit for the volume value | UNIT(3) | |
| 10 | WDATU | Goods receipt date and time of the stock | DEC(15) | UTCFilter date |
| 11 | VFDAT | Shelf-life expiration or best-before date | DATS(8) | |
| 12 | COO | Country or region of origin of the stock | CHAR(3) | |
| 13 | BRESTR | Flag: the batch is in restricted-use stock | CHAR(1) | |
| 14 | IDPLATE | Stock identification number (ID plate) | CHAR(20) | |
| 15 | QDOCCAT | Document category for document-related (special) stock references | CHAR(3) | |
| 16 | QDOCID | Document GUID for document-related stock, such as sales-order stock | RAW(16) | |
| 17 | QITMID | Document item GUID for document-related stock | RAW(16) |
Field provenance: hand-curated. 3 key fields.
Boilerplate SQL
Starting point for reading the replicated copy of /SCWM/QUANon Databricks — the client anchor is already in place, the namespaced name is rendered as the underscore bronze name replication targets conventionally land it under, and any RAW16 GUID column selects a hex rendering alongside the raw value. Set your Unity Catalog location, schema, and filter values below; they’re substituted into the SQL and the copy button.
7 parameters not filled: <catalog>, <schema>, <client>, <GUID_PARENT>, <GUID_STOCK>, <TS_FROM>, <TS_TO>
-- ============================================================
-- Table : /SCWM/QUAN — Quant attributes — the descriptive side of a stock item (units, weight, volume, goods-receipt time, shelf life, country of origin, and the document reference for special stock), keyed by the stock GUID
-- Purpose: Column-selected read of /SCWM/QUAN — auto-generated from field metadata
-- Grain : One row per client + GUID_PARENT + GUID_STOCK
-- Caution: Attributes only — quantities live in /LIME/NQUAN and product, stock type, owner, and entitled party live on /SCWM/AQUA; key stock-identity analytics off AQUA, not this table
-- Notes : Auto-generated skeleton for SAP EWM data replicated into your lakehouse — it reads the replicated copy, not the SAP database. Source table /SCWM/QUAN; slashes aren't legal in unquoted Databricks identifiers, so replication targets conventionally land it as scwm_quan — adjust to your landing convention (see quirks #namespace-slashes). RAW16 GUID columns are joined raw; the hex aliases are for display only (#guid-keys). Timestamps flagged UTC are DEC(15) yyyymmddhhmmss values in UTC, not warehouse local time (#utc-timestamps).
-- ============================================================
SELECT
t.MANDT AS "Client",
t.GUID_PARENT AS "GUID of the parent node in the LIME location/handling-unit tree — a legacy column that remains part of the key",
lower(hex(t.GUID_PARENT)) AS "GUID of the parent node in the LIME location/handling-unit tree — a legacy column that remains part of the key (hex)", -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
t.GUID_STOCK AS "GUID of the stock item — the join handle to the LIME quantities and to available quants",
lower(hex(t.GUID_STOCK)) AS "GUID of the stock item — the join handle to the LIME quantities and to available quants (hex)", -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
t.MEINS AS "Base unit of measure of the quant",
t.ALTME AS "Alternative stockkeeping unit of measure",
t.WEIGHT AS "Net or loading weight of the quant",
t.UNIT_W AS "Unit for the weight value",
t.VOLUM AS "Net or loading volume of the quant",
t.UNIT_V AS "Unit for the volume value",
t.WDATU AS "Goods receipt date and time of the stock", -- UTC
t.VFDAT AS "Shelf-life expiration or best-before date",
t.COO AS "Country or region of origin of the stock",
t.BRESTR AS "Flag: the batch is in restricted-use stock",
t.IDPLATE AS "Stock identification number (ID plate)",
t.QDOCCAT AS "Document category for document-related (special) stock references",
t.QDOCID AS "Document GUID for document-related stock, such as sales-order stock",
lower(hex(t.QDOCID)) AS "Document GUID for document-related stock, such as sales-order stock (hex)", -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
t.QITMID AS "Document item GUID for document-related stock",
lower(hex(t.QITMID)) AS "Document item GUID for document-related stock (hex)" -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
FROM <catalog>.<schema>.scwm_quan t
WHERE
t.MANDT = '<client>' -- client filter — drop on single-client systems
-- AND t.GUID_PARENT = unhex('<GUID_PARENT>') -- pass the 32-character hex form
-- AND t.GUID_STOCK = unhex('<GUID_STOCK>') -- pass the 32-character hex form
-- AND t.WDATU >= <TS_FROM> -- UTC yyyymmddhhmmss — convert warehouse-local dates first (#utc-timestamps)
-- AND t.WDATU <= <TS_TO>
ORDER BY t.GUID_PARENT;Verified August 2026
Landing conventions differ — see namespaced names in a lakehouse.
Relationships
Diagram of 1-hop neighbors — join details below. GUID joins and text-table joins are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON scwm_aqua.MANDT = scwm_quan.MANDT AND scwm_aqua.GUID_STOCK = scwm_quan.GUID_STOCK AND scwm_aqua.GUID_PARENT = scwm_quan.GUID_PARENT -- RAW16 GUID equality — join raw; hex is for display/conformance onlyON lime_nquan.MANDT = scwm_quan.MANDT AND lime_nquan.GUID_STOCK = scwm_quan.GUID_STOCK AND lime_nquan.GUID_PARENT = scwm_quan.GUID_PARENT -- RAW16 GUID equality — join raw; hex is for display/conformance only
Transaction codes that touch this table
Curated: the EWM transactions an analyst would trace back to these rows, and how each one touches them.
R read · W write · R/W read + write
More Stock & Handling Units tables
- /LIME/NQUANThe LIME stock quantities table — the physical quantity of a stock item hanging on one node of the location/handling-unit tree, one row per stock GUID per node per unit of measure
- /LIME/NTREEThe LIME tree structure — one row per node of the location and handling-unit hierarchy stock hangs on, with its object type, its parent node, and the nested-set interval bookkeeping the engine walks the tree with
- /SCWM/AQUAAvailable quants — the stock that warehouse task creation can actually consume, with the bin, handling unit, product, stock type, batch, owner, and entitled party all resolved onto one row
- /SCWM/HUHDRHandling unit header — one row per HU with its external number, packaging material, current storage type and bin, weights, volumes, and the entitled party whose stock it holds