I_DataMdmExchTreeType
DMEE Tree Type
I_DataMdmExchTreeType is a Basic CDS View that provides data about "DMEE Tree Type" in SAP S/4HANA. It reads from 1 data source (dmee_tree_type) and exposes 20 fields with key field HierarchyTreeType. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dmee_tree_type | dmee_tree_type | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DataMdmExchTreeTypeText | _TypeText | _TypeText.Language = $session.system_language and _TypeText.HierarchyTreeType = $projection.HierarchyTreeType |
| [1..*] | I_DataMdmExchFunction | _Function | _Function.HierarchyTreeType = $projection.HierarchyTreeType |
| [1..*] | I_DataMdmExchTechSourceField | _TechSourceField | _TechSourceField.HierarchyTreeType = $projection.HierarchyTreeType |
| [1..*] | I_DataMdmExchTree | _Tree | _Tree.HierarchyTreeType = $projection.HierarchyTreeType |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | DMEE Tree Type | 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 (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyTreeType | Tree Type | ||
| InputStructureName | Interface type | |||
| ParametricInputStructureName | Interface type | |||
| InputTableName | Interface type | |||
| SortFieldLength | Sort fld length | |||
| AccompanyingSheetStructure | Str. acc. sheet | |||
| AccompanyingSheetIsAllowed | Accomp. sheet | |||
| HierarchyTreeTypeCategory | Violation Category | |||
| TestReportName | Test Report | |||
| OutputFileFieldDelimiter | Field Delimiter | |||
| OutputFileRecordDelimiter | Record Delimiter | |||
| OutputFileGroupDelimiter | Group Delimiter | |||
| DocumentationObject | Object | |||
| AuthorizationGroup | AuthorizGroup | |||
| KeyWithoutSortingIsAllowed | Key Field Without Sorting | |||
| HierarchyTreeTypeShortText | _TypeText | HierarchyTreeTypeShortText | Description | |
| _TypeText | _TypeText | |||
| _Function | _Function | |||
| _TechSourceField | _TechSourceField | |||
| _Tree | _Tree |
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_DataMdmExchTreeType.
-- 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_DataMdmExchTreeType AS
SELECT
cast(tree_type as dme_treetype preserving type) AS HierarchyTreeType,
cast(if_type as dme_iftype preserving type) AS InputStructureName,
cast(if_param as dme_ifparam preserving type) AS ParametricInputStructureName,
cast(if_tab as dme_iftab preserving type) AS InputTableName,
cast(sortfld_length as dme_srtfldlen preserving type) AS SortFieldLength,
cast(sheetstruc as dme_acshtstruc preserving type) AS AccompanyingSheetStructure,
cast(x_filesheet as dme_acshtallowed preserving type) AS AccompanyingSheetIsAllowed,
cast(category as dme_treetypcat preserving type) AS HierarchyTreeTypeCategory,
cast(test_report as dme_tstrepname preserving type) AS TestReportName,
cast(field_delim as dme_flddelimconvfrmt preserving type) AS OutputFileFieldDelimiter,
cast(rec_delim as dme_recdelimconvfrmt preserving type) AS OutputFileRecordDelimiter,
cast(group_delim as dme_grpdelimconvfrmt preserving type) AS OutputFileGroupDelimiter,
cast(docu_template as doku_obj preserving type) AS DocumentationObject,
cast(auth_group as brgru preserving type) AS AuthorizationGroup,
cast(x_keyonly as dme_keynotsort preserving type) AS KeyWithoutSortingIsAllowed,
_TypeText.HierarchyTreeTypeShortText AS HierarchyTreeTypeShortText
FROM dmee_tree_type
LEFT OUTER JOIN I_DataMdmExchTreeTypeText AS _TypeText ON _TypeText.Language = $session.system_language AND _TypeText.HierarchyTreeType = HierarchyTreeType -- association [0..1]
LEFT OUTER JOIN I_DataMdmExchFunction AS _Function ON _Function.HierarchyTreeType = HierarchyTreeType -- association [1..*]
LEFT OUTER JOIN I_DataMdmExchTechSourceField AS _TechSourceField ON _TechSourceField.HierarchyTreeType = HierarchyTreeType -- association [1..*]
LEFT OUTER JOIN I_DataMdmExchTree AS _Tree ON _Tree.HierarchyTreeType = HierarchyTreeType -- association [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