I_DataMdmExchCustTreeSheet

DDL: I_DATAMDMEXCHCUSTTREESHEET Type: view_entity BASIC Package: GLO_FIN_MANAGE_OUTGOING_FORMAT

DMEE Customer Tree Sheet

I_DataMdmExchCustTreeSheet is a Basic CDS View that provides data about "DMEE Customer Tree Sheet" in SAP S/4HANA. It reads from 1 data source (dmec_tree_sheet) and exposes 6 fields with key fields HierarchyTreeType, HierarchyTree, HierarchyTreeVersion, AccompanyingSheetKeyFieldName, ValueIsUsedForSubtotal. It has 1 association to related views. Part of development package GLO_FIN_MANAGE_OUTGOING_FORMAT.

Data Sources (1)

SourceAliasJoin Type
dmec_tree_sheet dmec_tree_sheet from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DataMdmExchCustTreePrpty _TreePrpty _TreePrpty.HierarchyTreeType = $projection.HierarchyTreeType and _TreePrpty.HierarchyTree = $projection.HierarchyTree and _TreePrpty.HierarchyTreeVersion = $projection.HierarchyTreeVersion

Annotations (6)

NameValueLevelField
EndUserText.label DMEE Customer Tree Sheet 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 (6)

KeyFieldSource TableSource FieldDescription
KEY HierarchyTreeType Tree Type
KEY HierarchyTree Unique ID
KEY HierarchyTreeVersion XML Vers.
KEY AccompanyingSheetKeyFieldName Logical Field
KEY ValueIsUsedForSubtotal Key Field
_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_DataMdmExchCustTreeSheet.
-- 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_DataMdmExchCustTreeSheet 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(field as dme_shtkeyfld preserving type) AS AccompanyingSheetKeyFieldName,
  cast(x_key as dme_issubtotal preserving type) AS ValueIsUsedForSubtotal
FROM dmec_tree_sheet
LEFT OUTER JOIN I_DataMdmExchCustTreePrpty AS _TreePrpty ON _TreePrpty.HierarchyTreeType = HierarchyTreeType AND _TreePrpty.HierarchyTree = HierarchyTree AND _TreePrpty.HierarchyTreeVersion = HierarchyTreeVersion  -- association [0..1]
;