A_CnsldtnSegmentHierForElim

DDL: A_CNSLDTNSEGMENTHIERFORELIM Type: view BASIC

Combined Segment for Elimination Hier

A_CnsldtnSegmentHierForElim is a Basic CDS View that provides data about "Combined Segment for Elimination Hier" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnSgmtForElimHierNode) and exposes 15 fields with key fields ConsolidationSegmentHierarchy, HierarchyNode, ValidityEndDate. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnSgmtForElimHierNode I_CnsldtnSgmtForElimHierNode from

Associations (3)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnSegmentForElim _CnsldtnSegmentForElim $projection.Segment = _CnsldtnSegmentForElim.Segment
[0..*] A_CnsldtnSegmentHierForElimT _CnsldtnSegmentHierForElimT $projection.ConsolidationSegmentHierarchy = _CnsldtnSegmentHierForElimT.ConsolidationSegmentHierarchy and $projection.HierarchyNode = _CnsldtnSegmentHierForElimT.HierarchyNode and $projection.ValidityEndDate = _CnsldtnSegmentHierForElimT.ValidityEndDate and $projection.Segment = ''
[0..*] A_CnsldtnSegmentForElimT _CnsldtnSegmentForElimT $projection.Segment = _CnsldtnSegmentForElimT.Segment

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ACSSEGMENTHIERE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK 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
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Segment for Elimination Hier view
OData.entitySet.name SegmentHierForElim view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationSegmentHierarchy
KEY HierarchyNode HierarchyNode Node
KEY ValidityEndDate ValidityEndDate ValidTo
ParentNode ParentNode Parent Node
ValidityStartDate ValidityStartDate Validity Start Date
Segment Segment Segment For Elimination
SequenceNumber
HierarchyNodeSequence HierarchyNodeSequence
HierarchyNodeLevel HierarchyNodeLevel Hierarchy Node Level
NodeType NodeType Object Type
MDHierType
HierarchyType
_CnsldtnSegmentForElim _CnsldtnSegmentForElim
_CnsldtnSegmentHierForElimT _CnsldtnSegmentHierForElimT
_CnsldtnSegmentForElimT _CnsldtnSegmentForElimT

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_CnsldtnSegmentHierForElim.
-- 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_CnsldtnSegmentHierForElim AS
SELECT
  cast(left(ConsolidationSegmentHierarchy, 40) as fincs_hryid_segment preserving type ) AS ConsolidationSegmentHierarchy,
  HierarchyNode,
  ValidityEndDate,
  ParentNode,
  ValidityStartDate,
  Segment,
  cast(HierarchyNodeSequence as abap.char( 56 ) ) AS SequenceNumber,
  HierarchyNodeSequence,
  HierarchyNodeLevel,
  NodeType,
  cast('CS01' as hrytype) AS MDHierType,
  cast('CS01' as hrytype) AS HierarchyType
FROM I_CnsldtnSgmtForElimHierNode
LEFT OUTER JOIN A_CnsldtnSegmentForElim AS _CnsldtnSegmentForElim ON Segment = _CnsldtnSegmentForElim.Segment  -- association [0..1]
LEFT OUTER JOIN A_CnsldtnSegmentHierForElimT AS _CnsldtnSegmentHierForElimT ON ConsolidationSegmentHierarchy = _CnsldtnSegmentHierForElimT.ConsolidationSegmentHierarchy AND HierarchyNode = _CnsldtnSegmentHierForElimT.HierarchyNode AND ValidityEndDate = _CnsldtnSegmentHierForElimT.ValidityEndDate AND Segment = ''  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnSegmentForElimT AS _CnsldtnSegmentForElimT ON Segment = _CnsldtnSegmentForElimT.Segment  -- association [0..*]
;