I_DataMdmExchCustDataSorting

DDL: I_DATAMDMEXCHCUSTDATASORTING Type: view_entity BASIC Package: GLO_FIN_MANAGE_OUTGOING_FORMAT

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)

SourceAliasJoin Type
dmec_tree_sort dmec_tree_sort 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 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)

KeyFieldSource TableSource FieldDescription
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]
;