Skip to content
EWM Reference

/SCWM/QUAN

transactionGUID key

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

Grain note

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

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.

Structural facts — how the table is keyed, not a trap by itself

Semantic key
Every non-client key column is readable business data — LGNUM plus a bin, task, or order number. Joins run on the columns you can see (see the quirks guide).

Join & extract hazards — verify before you rely on this

GUID key
Every non-client key column is a GUID — RAW(16) on the /SCWM, /SCDL, /LIME, and /SCMB tables, and the CHAR(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.
In field listings, the Key chip marks a primary-key field, and UTC marks a timestamp stored in UTC rather than warehouse-local time.
Used in the library
Cross-ERP guides

Fields

17 fields · 3 key

17 fields.

Table fields: position, field name, description, data type, and flags. 17 fields.
#FieldDescriptionTypeFlags
1MANDTClientCLNT(3)
Key
2GUID_PARENTGUID of the parent node in the LIME location/handling-unit tree — a legacy column that remains part of the keyRAW(16)
Key
3GUID_STOCKGUID of the stock item — the join handle to the LIME quantities and to available quantsRAW(16)
Key
4MEINSBase unit of measure of the quantUNIT(3)
5ALTMEAlternative stockkeeping unit of measureUNIT(3)
6WEIGHTNet or loading weight of the quantQUAN(15,3)
7UNIT_WUnit for the weight valueUNIT(3)
8VOLUMNet or loading volume of the quantQUAN(15,3)
9UNIT_VUnit for the volume valueUNIT(3)
10WDATUGoods receipt date and time of the stockDEC(15)
UTCFilter date
11VFDATShelf-life expiration or best-before dateDATS(8)
12COOCountry or region of origin of the stockCHAR(3)
13BRESTRFlag: the batch is in restricted-use stockCHAR(1)
14IDPLATEStock identification number (ID plate)CHAR(20)
15QDOCCATDocument category for document-related (special) stock referencesCHAR(3)
16QDOCIDDocument GUID for document-related stock, such as sales-order stockRAW(16)
17QITMIDDocument item GUID for document-related stockRAW(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.

Query parameters

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

  • /SCWM/AQUA/SCWM/QUANGUID join · 1:1
    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 only
  • /LIME/NQUAN/SCWM/QUANGUID join · N:1
    ON 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

Browse more Stock & Handling Units tables

More Stock & Handling Units tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by SAP. SAP, SAP S/4HANA, and SAP Extended Warehouse Management are trademarks or registered trademarks of SAP SE.