/SCWM/T300_MD
configMixed keyWarehouse-to-party assignment — the supply chain unit the warehouse maps to plus the default entitled-to-dispose and ship-to parties
The bridge between the readable LGNUM and the GUID world: SCUGUID resolves to /SCMB/TOENTITY, which is how the /SCDL delivery documents' WAREHOUSE_ID and the /SAPAPO warehouse-product tables get back to a warehouse number. CUSTODIAN is carried for legacy data.
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
7 fields · 2 key
7 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | MANDT | Client | CLNT(3) | Key |
| 2 | LGNUM | EWM warehouse number | CHAR(4) | Key |
| 3 | CUSTODIAN | Custodian business partner — carried for legacy data | CHAR(10) | |
| 4 | ENTITLED | Default party entitled to dispose for this warehouse | CHAR(10) | |
| 5 | SC_UNIT | Supply chain unit the warehouse maps to, in its readable form | CHAR(20) | |
| 6 | SCUGUID | Supply chain unit GUID — the join bridge to /SCMB/TOENTITY | RAW(16) | |
| 7 | SHIPTO | Default ship-to party for the warehouse | CHAR(10) |
Field provenance: hand-curated. 2 key fields.
Boilerplate SQL
Starting point for reading the replicated copy of /SCWM/T300_MDon 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.
4 parameters not filled: <catalog>, <schema>, <client>, <LGNUM>
-- ============================================================
-- Table : /SCWM/T300_MD — Warehouse-to-party assignment — the supply chain unit the warehouse maps to plus the default entitled-to-dispose and ship-to parties
-- Purpose: Column-selected read of /SCWM/T300_MD — auto-generated from field metadata
-- Grain : One row per client + LGNUM
-- Notes : Auto-generated skeleton for SAP EWM data replicated into your lakehouse — it reads the replicated copy, not the SAP database. Source table /SCWM/T300_MD; slashes aren't legal in unquoted Databricks identifiers, so replication targets conventionally land it as scwm_t300_md — 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.LGNUM AS "EWM warehouse number",
t.CUSTODIAN AS "Custodian business partner — carried for legacy data",
t.ENTITLED AS "Default party entitled to dispose for this warehouse",
t.SC_UNIT AS "Supply chain unit the warehouse maps to, in its readable form",
t.SCUGUID AS "Supply chain unit GUID — the join bridge to /SCMB/TOENTITY",
lower(hex(t.SCUGUID)) AS "Supply chain unit GUID — the join bridge to /SCMB/TOENTITY (hex)", -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
t.SHIPTO AS "Default ship-to party for the warehouse"
FROM <catalog>.<schema>.scwm_t300_md t
WHERE
t.MANDT = '<client>' -- client filter — drop on single-client systems
-- AND t.LGNUM = '<LGNUM>'
ORDER BY t.LGNUM;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_t300_md.MANDT = scwm_t300.MANDT AND scwm_t300_md.LGNUM = scwm_t300.LGNUMON scwm_t300_md.MANDT = scmb_toentity.MANDT AND scwm_t300_md.SCUGUID = scmb_toentity.SCUGUID -- RAW16 GUID equality — join raw; hex is for display/conformance only
More Warehouse Structure tables
- /SCWM/T300TWarehouse number descriptions — one row per warehouse per language; the readable name behind LGNUM
- /SCWM/T301Storage type definition — one row per storage type in a warehouse; the first level of structure below the warehouse number
- /SCWM/T301GStorage type groups — the grouping of storage types that share one stock-removal rule, putaway rule, and maximum-quantity check
- /SCWM/T301MStorage type group assignment — which storage types belong to a group and in what sequence they are searched
- /SCWM/T301TStorage type descriptions — one row per storage type per language
- /SCWM/T302Storage sections — the subdivision of a storage type used to group bins for putaway strategy