SWF_UT_DOC_ITEMS
Customer Attributes UT: Document Header
SWF_UT_DOC_ITEMS is an SAP database table in S/4HANA. Customer Attributes UT: Document Header. It contains 7 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| swf_c_ut_doc_header | view_entity | inner | Customer Attributes UT: Document Header | |
| SWF_C_UT_DOC_HEADER_TO_MANY | view_entity | inner | Customer Attributes UT: Document Header | |
| swf_c_ut_doc_items | view_entity | from | Customer Attributes UT: Mock-Up for Customer Attributes |
Fields (7)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | doc_id | SWF_UT_DOC_ID | Document ID | |||
| KEY | doc_item_id | SWF_UT_DOC_ITEM_ID | Document Item ID | |||
| item_quantity | SWF_UT_ITEM_QUANTITY | Item Quantity | ||||
| item_uom | SWF_UT_ITEM_UOM | Customer Attributes UT: Document Item UOM | ||||
| item_ammount | SWF_UT_ITEM_AMOUNT | Amount | ||||
| item_currency | SWF_UT_ITEM_CURRENCY | Customer Attributes UT: Document Item Currency |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Customer Attributes UT: Document Header
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SWF_UT_DOC_ITEMS (
MANDT, -- Client [MANDT]
DOC_ID, -- Document ID [SWF_UT_DOC_ID]
DOC_ITEM_ID, -- Document Item ID [SWF_UT_DOC_ITEM_ID]
ITEM_QUANTITY, -- Item Quantity [SWF_UT_ITEM_QUANTITY]
ITEM_UOM, -- Customer Attributes UT: Document Item UOM [SWF_UT_ITEM_UOM]
ITEM_AMMOUNT, -- Amount [SWF_UT_ITEM_AMOUNT]
ITEM_CURRENCY, -- Customer Attributes UT: Document Item Currency [SWF_UT_ITEM_CURRENCY]
PRIMARY KEY (MANDT, DOC_ID, DOC_ITEM_ID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA