I_DataMdmExchTreePrpty

DDL: I_DATAMDMEXCHTREEPRPTY Type: view_entity BASIC

DMEE Tree Property

I_DataMdmExchTreePrpty is a Basic CDS View that provides data about "DMEE Tree Property" in SAP S/4HANA. It reads from 1 data source (dmee_tree_head) and exposes 35 fields with key fields HierarchyTreeType, HierarchyTree, HierarchyTreeVersion. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dmee_tree_head dmee_tree_head from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_DataMdmExchNode _TreeNode _TreeNode.HierarchyTreeType = $projection.HierarchyTreeType and _TreeNode.HierarchyTree = $projection.HierarchyTree and _TreeNode.HierarchyTreeVersion = $projection.HierarchyTreeVersion
[0..*] I_DataMdmExchTreeLevel _TreeLevel _TreeLevel.HierarchyTreeType = $projection.HierarchyTreeType and _TreeLevel.HierarchyTree = $projection.HierarchyTree and _TreeLevel.HierarchyTreeVersion = $projection.HierarchyTreeVersion
[0..*] I_DataMdmExchDataSorting _TreeDataSorting _TreeDataSorting.HierarchyTreeType = $projection.HierarchyTreeType and _TreeDataSorting.HierarchyTree = $projection.HierarchyTree and _TreeDataSorting.HierarchyTreeVersion = $projection.HierarchyTreeVersion
[0..*] I_DataMdmExchTreeSheet _TreeSheet _TreeSheet.HierarchyTreeType = $projection.HierarchyTreeType and _TreeSheet.HierarchyTree = $projection.HierarchyTree and _TreeSheet.HierarchyTreeVersion = $projection.HierarchyTreeVersion
[0..*] I_DataMdmExchTreeVarbl _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)

NameValueLevelField
EndUserText.label DMEE 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)

KeyFieldSource TableSource FieldDescription
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_DataMdmExchTreePrpty.
-- 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_DataMdmExchTreePrpty 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_changedon 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 dmee_tree_head
LEFT OUTER JOIN I_DataMdmExchNode AS _TreeNode ON _TreeNode.HierarchyTreeType = HierarchyTreeType AND _TreeNode.HierarchyTree = HierarchyTree AND _TreeNode.HierarchyTreeVersion = HierarchyTreeVersion  -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchTreeLevel AS _TreeLevel ON _TreeLevel.HierarchyTreeType = HierarchyTreeType AND _TreeLevel.HierarchyTree = HierarchyTree AND _TreeLevel.HierarchyTreeVersion = HierarchyTreeVersion  -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchDataSorting AS _TreeDataSorting ON _TreeDataSorting.HierarchyTreeType = HierarchyTreeType AND _TreeDataSorting.HierarchyTree = HierarchyTree AND _TreeDataSorting.HierarchyTreeVersion = HierarchyTreeVersion  -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchTreeSheet AS _TreeSheet ON _TreeSheet.HierarchyTreeType = HierarchyTreeType AND _TreeSheet.HierarchyTree = HierarchyTree AND _TreeSheet.HierarchyTreeVersion = HierarchyTreeVersion  -- association [0..*]
LEFT OUTER JOIN I_DataMdmExchTreeVarbl 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]
;