I_DataMdmExchCustTreePrpty
DMEE Customer Tree Property
I_DataMdmExchCustTreePrpty is a Basic CDS View that provides data about "DMEE Customer Tree Property" in SAP S/4HANA. It reads from 1 data source (dmec_tree_head) and exposes 35 fields with key fields HierarchyTreeType, HierarchyTree, HierarchyTreeVersion. It has 6 associations to related views. Part of development package GLO_FIN_MANAGE_OUTGOING_FORMAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dmec_tree_head | dmec_tree_head | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DataMdmExchCustNode | _TreeNode | _TreeNode.HierarchyTreeType = $projection.HierarchyTreeType and _TreeNode.HierarchyTree = $projection.HierarchyTree and _TreeNode.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
| [0..*] | I_DataMdmExchCustTreeLevel | _TreeLevel | _TreeLevel.HierarchyTreeType = $projection.HierarchyTreeType and _TreeLevel.HierarchyTree = $projection.HierarchyTree and _TreeLevel.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
| [0..*] | I_DataMdmExchCustDataSorting | _TreeDataSorting | _TreeDataSorting.HierarchyTreeType = $projection.HierarchyTreeType and _TreeDataSorting.HierarchyTree = $projection.HierarchyTree and _TreeDataSorting.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
| [0..*] | I_DataMdmExchCustTreeSheet | _TreeSheet | _TreeSheet.HierarchyTreeType = $projection.HierarchyTreeType and _TreeSheet.HierarchyTree = $projection.HierarchyTree and _TreeSheet.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
| [0..*] | I_DataMdmExchCustTreeVarbl | _TreeVariable | _TreeVariable.HierarchyTreeType = $projection.HierarchyTreeType and _TreeVariable.HierarchyTree = $projection.HierarchyTree and _TreeVariable.HierarchyTreeVersion = $projection.HierarchyTreeVersion |
| [0..1] | I_UserContactCard | _CreatedByUserContactCard | $projection.LastChangedByUser = _CreatedByUserContactCard.ContactCardID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | DMEE Customer Tree Property | 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 (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyTreeType | Tree Type | ||
| KEY | HierarchyTree | Unique ID | ||
| KEY | HierarchyTreeVersion | XML Vers. | ||
| HierarchyTreeParametersStruc | Formt. Param. Struc. | |||
| OutputStructureDelimiterType | Field Positioning | |||
| SegmentGroupDelimiterCharValue | Del. In Segm. Groups | |||
| SegmentDelimiterCharacterValue | Del. In Segments | |||
| CompositeDelimiterCharValue | Delim. In Composites | |||
| DelimiterEscapeCharacterValue | Escape Character | |||
| HierarchyRootNode | Node ID | |||
| SgmtGrpIsCarriageRetSeparated | Carriage return | |||
| SegmentGrpIsLineFeedSeparated | Line feed | |||
| SegmentIsCarriageRetSeparated | Carriage return | |||
| SegmentIsLineFeedSeparated | Line feed | |||
| AccompanyingSheetType | Accomp. sheet | |||
| LastChangedByUser | Author | |||
| LastChangeDate | Created On | |||
| LastChangeTime | Created At | |||
| SpecialHandlingCharacter | Specific Characters | |||
| SpecialHandlingCharacterIsExcl | Exclude Characters | |||
| PostProcessingProgramName | XSLT Program | |||
| LengthIsBytes | Length in Bytes | |||
| DataReleaseRequestID | request_id | Request unique ID | ||
| HierarchyTreeVersionType | version_type | Version Type ID | ||
| XMLEmptyElementProcessingType | xmlemptyelementprocessingtype | Empty Element Processing | ||
| HierTreeSpclCharHndlgOptions | charset_options | Charset Options | ||
| HierTreeSpclCharRegularExprVal | character_regex | Regex Pattern | ||
| XMLSchemaDefinitionIdentifier | msgtype | Message Type | ||
| HierarchyTreeDetailedText | detailed_description | |||
| _TreeNode | _TreeNode | |||
| _TreeLevel | _TreeLevel | |||
| _TreeDataSorting | _TreeDataSorting | |||
| _TreeSheet | _TreeSheet | |||
| _TreeVariable | _TreeVariable | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard |
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_DataMdmExchCustTreePrpty.
-- 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_DataMdmExchCustTreePrpty 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(param_struc as dme_treeparamstruc preserving type) AS HierarchyTreeParametersStruc,
cast(fm_fieldtp as dme_outpstructdelimtype preserving type) AS OutputStructureDelimiterType,
cast(sgmg_delim as dme_sgmtgrpdelimiterval preserving type) AS SegmentGroupDelimiterCharValue,
cast(segm_delim as dme_sgmtdelimiterval preserving type) AS SegmentDelimiterCharacterValue,
cast(comp_delim as dme_compdelimiterval preserving type) AS CompositeDelimiterCharValue,
cast(escape_symb as dme_delimiterescval preserving type) AS DelimiterEscapeCharacterValue,
cast(firstnode_id as dme_rootnode preserving type) AS HierarchyRootNode,
cast(sgmg_cr as dme_segmgrpcrsep preserving type) AS SgmtGrpIsCarriageRetSeparated,
cast(sgmg_lf as dme_segmgrplfsep preserving type) AS SegmentGrpIsLineFeedSeparated,
cast(segm_cr as dme_segmcrsep preserving type) AS SegmentIsCarriageRetSeparated,
cast(segm_lf as dme_segmlfsep preserving type) AS SegmentIsLineFeedSeparated,
cast(filesheet as dme_shttype preserving type) AS AccompanyingSheetType,
cast(vers_user as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
cast(vers_date as dme_changeddate preserving type) AS LastChangeDate,
cast(vers_time as dme_changedtime preserving type) AS LastChangeTime,
cast(charset as dme_spclhndlgchar preserving type) AS SpecialHandlingCharacter,
cast(charset_excl as dme_spechandlcharexcl preserving type) AS SpecialHandlingCharacterIsExcl,
cast(xsltdesc as dme_postprocgpgm preserving type) AS PostProcessingProgramName,
cast(handle_bytes as dme_lengthbytes preserving type) AS LengthIsBytes,
request_id AS DataReleaseRequestID,
version_type AS HierarchyTreeVersionType,
XMLEmptyElementProcessingType,
charset_options AS HierTreeSpclCharHndlgOptions,
character_regex AS HierTreeSpclCharRegularExprVal,
msgtype AS XMLSchemaDefinitionIdentifier,
detailed_description AS HierarchyTreeDetailedText
FROM dmec_tree_head
LEFT OUTER JOIN I_DataMdmExchCustNode AS _TreeNode ON _TreeNode.HierarchyTreeType = HierarchyTreeType AND _TreeNode.HierarchyTree = HierarchyTree AND _TreeNode.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchCustTreeLevel AS _TreeLevel ON _TreeLevel.HierarchyTreeType = HierarchyTreeType AND _TreeLevel.HierarchyTree = HierarchyTree AND _TreeLevel.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchCustDataSorting AS _TreeDataSorting ON _TreeDataSorting.HierarchyTreeType = HierarchyTreeType AND _TreeDataSorting.HierarchyTree = HierarchyTree AND _TreeDataSorting.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchCustTreeSheet AS _TreeSheet ON _TreeSheet.HierarchyTreeType = HierarchyTreeType AND _TreeSheet.HierarchyTree = HierarchyTree AND _TreeSheet.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchCustTreeVarbl AS _TreeVariable ON _TreeVariable.HierarchyTreeType = HierarchyTreeType AND _TreeVariable.HierarchyTree = HierarchyTree AND _TreeVariable.HierarchyTreeVersion = HierarchyTreeVersion -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON LastChangedByUser = _CreatedByUserContactCard.ContactCardID -- 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