Skip to content
EWM Reference

/SCDL/DB_HU

transactionGUID key

Delivery handling units — the HUs attached to a delivery document, with the readable HU number, the packaging material, and the packaging specification and packing instruction that built them

Notes

Delivery-side HUs, not warehouse-side ones: the key is the delivery document GUID plus an HUID that is local to the /SCDL layer. Nothing on the public pages says that HUID equals the warehouse HU GUID on /SCWM/HUHDR, so this reference bridges the two on the readable HU number (HUNO here, HUIDENT there) rather than asserting a GUID equality. CROSS_HU marks an HU shared across deliveries — the row that makes a per-delivery HU count double-count.

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.

Header & item

/SCDL/DB_HU is the header for its items in /SCDL/DB_HUITEM.

Fields

17 fields · 3 key

17 fields.

Table fields: position, field name, description, data type, and flags. 17 fields.
#FieldDescriptionTypeFlags
1MANDTClientCLNT(3)
Key
2DOCIDDocument GUID of the delivery the handling unit is attached toRAW(16)
Key
3HUIDHandling unit GUID within the delivery layer — not documented as the same value as the warehouse HU GUIDRAW(16)
Key
4HUNOReadable handling unit number — the bridge to the warehouse-side HU headerCHAR(20)
5ACTION_CODEAction code from the message that created or changed the handling unitCHAR(2)
6CROSS_HUFlag: the handling unit spans more than one delivery — the row that makes per-delivery HU counts double-countCHAR(1)
7DLV_COUNTERCounter distinguishing repeated handling unit entries on one deliveryINT4(10)
8PRODUCTIDPackaging material of the handling unit, as a product GUID (RAW16 form)RAW(16)
9PRODUCTNOReadable packaging material numberCHAR(40)
10BATCHNOBatch number of the packaging materialCHAR(20)
11HU_GUID_EXTExternal handling unit GUID, where the HU originated outside this systemRAW(16)
12PB_ENGINEPackage building engine that produced the handling unitCHAR(2)
13PS_GUIDGUID of the packaging specification the handling unit was built fromRAW(16)
14PS_IDReadable packaging specification identifierCHAR(20)
15PS_LEVEL_SEQWhich level of the packaging specification produced this handling unitCHAR(2)
16PI_GUIDGUID of the packing instruction appliedRAW(16)
17PI_IDReadable packing instruction identifierCHAR(20)

Field provenance: hand-curated. 3 key fields.

Boilerplate SQL

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

4 parameters not filled: <catalog>, <schema>, <client>, <DOCID>

-- ============================================================
-- Table  : /SCDL/DB_HU — Delivery handling units — the HUs attached to a delivery document, with the readable HU number, the packaging material, and the packaging specification and packing instruction that built them
-- Purpose: Column-selected read of /SCDL/DB_HU — auto-generated from field metadata
-- Grain  : One row per client + DOCID + HUID
-- Notes  : Auto-generated skeleton for SAP EWM data replicated into your lakehouse — it reads the replicated copy, not the SAP database. Source table /SCDL/DB_HU; slashes aren't legal in unquoted Databricks identifiers, so replication targets conventionally land it as scdl_db_hu — 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.DOCID AS "Document GUID of the delivery the handling unit is attached to",
  lower(hex(t.DOCID)) AS "Document GUID of the delivery the handling unit is attached to (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.HUID AS "Handling unit GUID within the delivery layer — not documented as the same value as the warehouse HU GUID",
  lower(hex(t.HUID)) AS "Handling unit GUID within the delivery layer — not documented as the same value as the warehouse HU GUID (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.HUNO AS "Readable handling unit number — the bridge to the warehouse-side HU header",
  t.ACTION_CODE AS "Action code from the message that created or changed the handling unit",
  t.CROSS_HU AS "Flag: the handling unit spans more than one delivery — the row that makes per-delivery HU counts double-count",
  t.DLV_COUNTER AS "Counter distinguishing repeated handling unit entries on one delivery",
  t.PRODUCTID AS "Packaging material of the handling unit, as a product GUID (RAW16 form)",
  lower(hex(t.PRODUCTID)) AS "Packaging material of the handling unit, as a product GUID (RAW16 form) (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.PRODUCTNO AS "Readable packaging material number",
  t.BATCHNO AS "Batch number of the packaging material",
  t.HU_GUID_EXT AS "External handling unit GUID, where the HU originated outside this system",
  lower(hex(t.HU_GUID_EXT)) AS "External handling unit GUID, where the HU originated outside this system (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.PB_ENGINE AS "Package building engine that produced the handling unit",
  t.PS_GUID AS "GUID of the packaging specification the handling unit was built from",
  lower(hex(t.PS_GUID)) AS "GUID of the packaging specification the handling unit was built from (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.PS_ID AS "Readable packaging specification identifier",
  t.PS_LEVEL_SEQ AS "Which level of the packaging specification produced this handling unit",
  t.PI_GUID AS "GUID of the packing instruction applied",
  lower(hex(t.PI_GUID)) AS "GUID of the packing instruction applied (hex)",  -- display rendering of the RAW16 GUID — join on the raw column; see quirks guide #guid-keys
  t.PI_ID AS "Readable packing instruction identifier"
FROM <catalog>.<schema>.scdl_db_hu t
WHERE
  t.MANDT = '<client>'  -- client filter — drop on single-client systems
  -- AND t.DOCID = unhex('<DOCID>')  -- pass the 32-character hex form
ORDER BY t.DOCID;

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

  • /SCDL/DB_HU/SCDL/DB_DLVH_OGUID join · N:1
    ON scdl_db_hu.MANDT = scdl_db_dlvh_o.MANDT AND scdl_db_hu.DOCID = scdl_db_dlvh_o.DOCID -- RAW16 GUID equality — join raw; hex is for display/conformance only · the same table also holds the HUs of the other /SCDL document categories — DOCID identifies which document, whatever its category

    the same table also holds the HUs of the other /SCDL document categories — DOCID identifies which document, whatever its category

  • /SCDL/DB_HU/SCDL/DB_HUITEMheader item · 1:N
    ON scdl_db_hu.MANDT = scdl_db_huitem.MANDT AND scdl_db_hu.HUID = scdl_db_huitem.HUID AND scdl_db_hu.DOCID = scdl_db_huitem.DOCID
  • /SCDL/DB_HUREFHU/SCDL/DB_HUGUID join · N:1
    ON scdl_db_hurefhu.MANDT = scdl_db_hu.MANDT AND scdl_db_hurefhu.HUID = scdl_db_hu.HUID AND scdl_db_hurefhu.DOCID = scdl_db_hu.DOCID -- RAW16 GUID equality — join raw; hex is for display/conformance only · the higher-level side of the nesting

    the higher-level side of the nesting

  • /SCDL/DB_HUREFHU/SCDL/DB_HUGUID join · N:1
    ON scdl_db_hurefhu.MANDT = scdl_db_hu.MANDT AND scdl_db_hurefhu.HUID_LOW = scdl_db_hu.HUID AND scdl_db_hurefhu.DOCID = scdl_db_hu.DOCID -- RAW16 GUID equality — join raw; hex is for display/conformance only · the nested side — the two edges together are one recursive hierarchy, not two independent joins

    the nested side — the two edges together are one recursive hierarchy, not two independent joins

  • /SCDL/DB_HUIDENT/SCDL/DB_HUGUID join · N:1
    ON scdl_db_huident.MANDT = scdl_db_hu.MANDT AND scdl_db_huident.HUID = scdl_db_hu.HUID AND scdl_db_huident.DOCID = scdl_db_hu.DOCID -- RAW16 GUID equality — join raw; hex is for display/conformance only · several identifiers per HU — filter HUIDTYPE before joining or the HU multiplies

    several identifiers per HU — filter HUIDTYPE before joining or the HU multiplies

  • /SCDL/DB_HU/SCWM/HUHDRforeign key · N:1
    ON scdl_db_hu.MANDT = scwm_huhdr.MANDT AND scdl_db_hu.HUNO = scwm_huhdr.HUIDENT -- the delivery-side HU to the warehouse-side HU on the READABLE number: nothing public says the /SCDL HUID equals /SCWM/HUHDR's GUID_HU, so no GUID equality is asserted here. HU numbers are unique per warehouse and this table carries no warehouse column — qualify through the delivery header's warehouse before trusting this join in a multi-warehouse estate

    the delivery-side HU to the warehouse-side HU on the READABLE number: nothing public says the /SCDL HUID equals /SCWM/HUHDR's GUID_HU, so no GUID equality is asserted here. HU numbers are unique per warehouse and this table carries no warehouse column — qualify through the delivery header's warehouse before trusting this join in a multi-warehouse estate

  • /SCDL/DB_HU/SAPAPO/MATKEYGUID join · N:1
    ON scdl_db_hu.MANDT = sapapo_matkey.MANDT AND scdl_db_hu.PRODUCTID = sapapo_matkey.MATID -- the /SCWM side is RAW(16) and MATKEY keys the CHAR 22 compressed form — convert before comparing; this is not a raw equality

    the /SCWM side is RAW(16) and MATKEY keys the CHAR 22 compressed form — convert before comparing; this is not a raw equality

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 Delivery Processing (Warehouse Requests) tables

More Delivery Processing (Warehouse Requests) 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.