Deprecated
This CDS view is deprecated in S/4HANA. Use I_CnsldtnSegmentForElimT_2 instead. View all deprecated CDS views →

I_CnsldtnSgmtHierNodeForElim

DDL: I_CNSLDTNSGMTHIERNODEFORELIM Type: view BASIC

Cnsldtn Segment for Elimination - HierNode

I_CnsldtnSgmtHierNodeForElim is a Basic CDS View that provides data about "Cnsldtn Segment for Elimination - HierNode" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnivHierNodeElim_2) and exposes 11 fields with key fields ConsolidationSegmentHierarchy, HierarchyNode, ValidityEndDate. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnUnivHierNodeElim_2 P_CnsldtnUnivHierNodeElim_2 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CnsldtnSegmentForElim _SegmentForElim $projection.Segment = _SegmentForElim.Segment
[0..1] I_CnsldtnSegmentHierarchy _Hierarchy $projection.ConsolidationSegmentHierarchy = _Hierarchy.ConsolidationSegmentHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..*] I_CnsldtnSegmentHierNodeT _Text $projection.ConsolidationSegmentHierarchy = _Text.ConsolidationSegmentHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.Segment = ''

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ICCSEGHNFORELIM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.representativeKey HierarchyNode view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_CnsldtnSegmentForElimT_2 view
EndUserText.label Cnsldtn Segment for Elimination - HierNode view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationSegmentHierarchy
KEY HierarchyNode _HierNode HierarchyNode Node
KEY ValidityEndDate _HierNode ValidityEndDate ValidTo
ParentNode _HierNode ParentNode Parent Node
ValidityStartDate _HierNode ValidityStartDate Validity Start Date
HierarchyNodeSequence _HierNode HierarchyNodeSequence
HierarchyNodeLevel _HierNode HierarchyNodeLevel Hierarchy Node Level
NodeType _HierNode NodeType Object Type
_Text _Text
_SegmentForElim _SegmentForElim
_Hierarchy _Hierarchy

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_CnsldtnSgmtHierNodeForElim.
-- 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_CnsldtnSgmtHierNodeForElim AS
SELECT
  cast(_HierNode.CnsldtnUniversalHierarchy as fincs_segmenthierarchy preserving type ) AS ConsolidationSegmentHierarchy,
  _HierNode.HierarchyNode AS HierarchyNode,
  _HierNode.ValidityEndDate AS ValidityEndDate,
  _HierNode.ParentNode AS ParentNode,
  _HierNode.ValidityStartDate AS ValidityStartDate,
  _HierNode.HierarchyNodeSequence AS HierarchyNodeSequence,
  _HierNode.HierarchyNodeLevel AS HierarchyNodeLevel,
  _HierNode.NodeType AS NodeType
FROM P_CnsldtnUnivHierNodeElim_2
LEFT OUTER JOIN I_CnsldtnSegmentForElim AS _SegmentForElim ON Segment = _SegmentForElim.Segment  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSegmentHierarchy AS _Hierarchy ON ConsolidationSegmentHierarchy = _Hierarchy.ConsolidationSegmentHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSegmentHierNodeT AS _Text ON ConsolidationSegmentHierarchy = _Text.ConsolidationSegmentHierarchy AND HierarchyNode = _Text.HierarchyNode AND Segment = ''  -- association [0..*]
;