Fields (20)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CustomerReturn | CustomerReturn | 2 |
| KEY | Level2Document | Level2Document | 3 |
| KEY | Level2DocumentItem | Level2DocumentItem | 1 |
| KEY | SalesQuotation | SalesQuotation | 1 |
| CustomerReturnType | CustomerReturnType | 2 | |
| DistributionChannel | DistributionChannel | 3 | |
| Level2DocumentCategory | Level2DocumentCategory | 3 | |
| node_id | NodeIDStage2 | 1 | |
| node_level | NodeLevelStage2 | 1 | |
| node_lval | NodeLowValueStage2 | 1 | |
| node_pid | HierNodeParentID2 | 1 | |
| node_type | NodeTypeStage2 | 1 | |
| OrganizationDivision | OrganizationDivision | 3 | |
| SalesOrganization | SalesOrganization | 3 | |
| SalesQuotationType | SalesQuotationType | 1 | |
| UniversalHierNodeID | NodeIDStage2 | 1 | |
| UniversalHierNodeLevel | NodeLevelStage2 | 1 | |
| UniversalHierNodeLowValue | NodeLowValueStage2 | 1 | |
| UniversalHierNodeParentID | HierNodeParentID2 | 1 | |
| UniversalHierNodeType | NodeTypeStage2 | 1 |
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.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LEVEL2 (
CUSTOMERRETURN,
LEVEL2DOCUMENT,
LEVEL2DOCUMENTITEM,
SALESQUOTATION,
CUSTOMERRETURNTYPE,
DISTRIBUTIONCHANNEL,
LEVEL2DOCUMENTCATEGORY,
NODE_ID,
NODE_LEVEL,
NODE_LVAL,
NODE_PID,
NODE_TYPE,
ORGANIZATIONDIVISION,
SALESORGANIZATION,
SALESQUOTATIONTYPE,
UNIVERSALHIERNODEID,
UNIVERSALHIERNODELEVEL,
UNIVERSALHIERNODELOWVALUE,
UNIVERSALHIERNODEPARENTID,
UNIVERSALHIERNODETYPE,
PRIMARY KEY (CUSTOMERRETURN, LEVEL2DOCUMENT, LEVEL2DOCUMENTITEM, SALESQUOTATION)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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