A_CnsldtnSegmentHierarchyNodeT

DDL: A_CNSLDTNSEGMENTHIERARCHYNODET Type: view_entity BASIC

Cnsldtn Segment Hierarchy Node - Text

A_CnsldtnSegmentHierarchyNodeT is a Basic CDS View that provides data about "Cnsldtn Segment Hierarchy Node - Text" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnSegmentHierNodeT) and exposes 9 fields with key fields Language, ConsolidationSegmentHierarchy, HierarchyNode, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnSegmentHierNodeT _Source from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_CnsldtnSegmentHierarchyNode _HierarchyNode $projection.ConsolidationSegmentHierarchy = _HierarchyNode.ConsolidationSegmentHierarchy and $projection.HierarchyNode = _HierarchyNode.HierarchyNode and $projection.ValidityEndDate = _HierarchyNode.ValidityEndDate

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #TEXT view
OData.entityType.name CnsldtnSegmentHierNodeText_Type view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Cnsldtn Segment Hierarchy Node - Text view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Language I_CnsldtnSegmentHierNodeT Language Report Text Language
KEY ConsolidationSegmentHierarchy I_CnsldtnSegmentHierNodeT ConsolidationSegmentHierarchy
KEY HierarchyNode I_CnsldtnSegmentHierNodeT HierarchyNode Node
KEY ValidityEndDate I_CnsldtnSegmentHierNodeT ValidityEndDate ValidTo
ValidityStartDate I_CnsldtnSegmentHierNodeT ValidityStartDate Validity Start Date
ParentNode I_CnsldtnSegmentHierNodeT ParentNode Parent Node
HierarchyVersion I_CnsldtnSegmentHierNodeT HierarchyVersion Version
HierarchyNodeText I_CnsldtnSegmentHierNodeT HierarchyNodeText
_HierarchyNode _HierarchyNode

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 A_CnsldtnSegmentHierarchyNodeT.
-- 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 A_CnsldtnSegmentHierarchyNodeT AS
SELECT
  _Source.Language AS Language,
  _Source.ConsolidationSegmentHierarchy AS ConsolidationSegmentHierarchy,
  _Source.HierarchyNode AS HierarchyNode,
  _Source.ValidityEndDate AS ValidityEndDate,
  _Source.ValidityStartDate AS ValidityStartDate,
  _Source.ParentNode AS ParentNode,
  _Source.HierarchyVersion AS HierarchyVersion,
  _Source.HierarchyNodeText AS HierarchyNodeText
FROM I_CnsldtnSegmentHierNodeT AS _Source
LEFT OUTER JOIN A_CnsldtnSegmentHierarchyNode AS _HierarchyNode ON ConsolidationSegmentHierarchy = _HierarchyNode.ConsolidationSegmentHierarchy AND HierarchyNode = _HierarchyNode.HierarchyNode AND ValidityEndDate = _HierarchyNode.ValidityEndDate  -- association [1..1]
;