Skip to content
EWM Reference

/SCMB/TOENTITY

masterGUID key

Supply chain unit header — the location object EWM resolves warehouse, door, and party GUIDs against, carrying the readable identifier, the time zone, and the geo-coordinates

Identity
Module: Master Data & PartiesBronze: scmb_toentity
Notes

Two things make this table load-bearing for analytics: TZONE is what localizes EWM's UTC timestamps per site, and SCUGUID22 carries the same GUID in the CHAR22 compressed form the /SAPAPO tables key on — the one public row where both encodings sit side by side.

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.

Fields

14 fields · 2 key

14 fields.

Table fields: position, field name, description, data type, and flags. 14 fields.
#FieldDescriptionTypeFlags
1MANDTClientCLNT(3)
Key
2SCUGUIDSupply chain unit GUID — the RAW16 key warehouse, door, and party references resolve againstRAW(16)
Key
3ENTITYReadable supply chain unit identifierCHAR(20)
4SCUGUID22The same GUID in its 22-character compressed form — the bridge to the CHAR22-keyed master-data tablesCHAR(22)
5SCUTYPESupply chain unit typeCHAR(4)
6TZONETime zone of the unit — what turns EWM's UTC stamps into local warehouse timeCHAR(6)
7PARTNER_GUIDBusiness partner GUID behind the unitRAW(16)
8DELFLGDeletion indicatorCHAR(1)
9LONGITUDELongitude of the unitDEC(15,12)
10LATITUDELatitude of the unitDEC(15,12)
11CREATEUSERCreated byCHAR(12)
12CREATEUTCCreation timeDEC(15)
UTCFilter date
13CHANGEUSERLast changed byCHAR(12)
14CHANGEUTCTime of the last changeDEC(15)

Field provenance: hand-curated. 2 key fields.

Boilerplate SQL

Starting point for reading the replicated copy of /SCMB/TOENTITYon 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

6 parameters not filled: <catalog>, <schema>, <client>, <SCUGUID>, <TS_FROM>, <TS_TO>

-- ============================================================
-- Table  : /SCMB/TOENTITY — Supply chain unit header — the location object EWM resolves warehouse, door, and party GUIDs against, carrying the readable identifier, the time zone, and the geo-coordinates
-- Purpose: Column-selected read of /SCMB/TOENTITY — auto-generated from field metadata
-- Grain  : One row per client + SCUGUID
-- Notes  : Auto-generated skeleton for SAP EWM data replicated into your lakehouse — it reads the replicated copy, not the SAP database. Source table /SCMB/TOENTITY; slashes aren't legal in unquoted Databricks identifiers, so replication targets conventionally land it as scmb_toentity — 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.SCUGUID AS "Supply chain unit GUID — the RAW16 key warehouse, door, and party references resolve against",
  lower(hex(t.SCUGUID)) AS "Supply chain unit GUID — the RAW16 key warehouse, door, and party references resolve against (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.ENTITY AS "Readable supply chain unit identifier",
  t.SCUGUID22 AS "The same GUID in its 22-character compressed form — the bridge to the CHAR22-keyed master-data tables",
  t.SCUTYPE AS "Supply chain unit type",
  t.TZONE AS "Time zone of the unit — what turns EWM's UTC stamps into local warehouse time",
  t.PARTNER_GUID AS "Business partner GUID behind the unit",
  lower(hex(t.PARTNER_GUID)) AS "Business partner GUID behind the unit (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.DELFLG AS "Deletion indicator",
  t.LONGITUDE AS "Longitude of the unit",
  t.LATITUDE AS "Latitude of the unit",
  t.CREATEUSER AS "Created by",
  t.CREATEUTC AS "Creation time",  -- UTC
  t.CHANGEUSER AS "Last changed by",
  t.CHANGEUTC AS "Time of the last change"  -- UTC
FROM <catalog>.<schema>.scmb_toentity t
WHERE
  t.MANDT = '<client>'  -- client filter — drop on single-client systems
  -- AND t.SCUGUID = unhex('<SCUGUID>')  -- pass the 32-character hex form
  -- AND t.CREATEUTC >= <TS_FROM>  -- UTC yyyymmddhhmmss — convert warehouse-local dates first (#utc-timestamps)
  -- AND t.CREATEUTC <= <TS_TO>
ORDER BY t.SCUGUID;

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/T300_MD/SCMB/TOENTITYGUID join · N:1
    ON 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
  • /SCWM/TDOOR/SCMB/TOENTITYGUID join · N:1
    ON scwm_tdoor.MANDT = scmb_toentity.MANDT AND scwm_tdoor.SCUGUID = scmb_toentity.SCUGUID -- RAW16 GUID equality — join raw; hex is for display/conformance only
  • /SAPAPO/MATLWH/SCMB/TOENTITYGUID join · N:1
    ON sapapo_matlwh.MANDT = scmb_toentity.MANDT AND sapapo_matlwh.SCUGUID = scmb_toentity.SCUGUID -- RAW16 GUID equality — join raw; hex is for display/conformance only
  • /SAPAPO/MATLWHST/SCMB/TOENTITYGUID join · N:1
    ON sapapo_matlwhst.MANDT = scmb_toentity.MANDT AND sapapo_matlwhst.SCUGUID = scmb_toentity.SCUGUID -- RAW16 GUID equality — join raw; hex is for display/conformance only

Browse more Master Data & Parties tables

More Master Data & Parties 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.