I_DataMdmExchCustDataSorting
DMEE Customer Tree Data Sorting
I_DataMdmExchCustDataSorting is a Basic CDS View that provides data about "DMEE Customer Tree Data Sorting" in SAP S/4HANA. It reads from 1 data source (dmec_tree_sort) and exposes 11 fields with key fields HierarchyTreeType, HierarchyTree, HierarchyTreeVersion, SortSequence. It has 1 association to related views. Part of development package GLO_FIN_MANAGE_OUTGOING_FORMAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dmec_tree_sort | dmec_tree_sort | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DataMdmExchCustTreePrpty | _TreePrpty | _TreePrpty.HierarchyTreeType = $projection.HierarchyTreeType and _TreePrpty.HierarchyTree = $projection.HierarchyTree and _TreePrpty.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | DMEE Customer Tree Data Sorting | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyTreeType | Tree Type | ||
| KEY | HierarchyTree | Unique ID | ||
| KEY | HierarchyTreeVersion | XML Vers. | ||
| KEY | SortSequence | Sort Order | ||
| IsKeyField | Key field | |||
| SortSourceStructure | Structure | |||
| SortSourceStructureField | Sort Field | |||
| SourceDataOriglInterfaceType | DMEE: type of interf | |||
| HierarchyNodeLevel | Level | |||
| IsNotSortField | No Sorting | |||
| _TreePrpty | _TreePrpty |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_DataMdmExchCustDataSorting.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_DataMdmExchCustDataSorting AS
SELECT
cast(tree_type as dme_treetype preserving type) AS HierarchyTreeType,
cast(tree_id as dme_tree preserving type) AS HierarchyTree,
cast(version as ifme_hierarchytreeversion) AS HierarchyTreeVersion,
cast(sort_order as dme_sortseq preserving type) AS SortSequence,
cast(key_field as dme_iskeyfield preserving type) AS IsKeyField,
cast(sort_tab as dme_sortsrcestruc preserving type) AS SortSourceStructure,
cast(sort_fld as dme_sortsrcestrucfld preserving type) AS SortSourceStructureField,
cast(sort_if_tp as dme_srcdtaorigintftyp preserving type) AS SourceDataOriglInterfaceType,
cast(lev as dme_hiernodelvl preserving type) AS HierarchyNodeLevel,
cast(key_only as dme_isnotsortfield preserving type) AS IsNotSortField
FROM dmec_tree_sort
LEFT OUTER JOIN I_DataMdmExchCustTreePrpty AS _TreePrpty ON _TreePrpty.HierarchyTreeType = HierarchyTreeType AND _TreePrpty.HierarchyTree = HierarchyTree AND _TreePrpty.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA