A_CnsldtnSegmentHierarchyT_2

DDL: A_CNSLDTNSEGMENTHIERARCHYT_2 Type: view_entity BASIC

Consolidation Segment Hierarchy - Text

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

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnSegmentHierarchyT _Source from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_CnsldtnSegmentHierarchy_2 _Hierarchy $projection.ConsolidationSegmentHierarchy = _Hierarchy.ConsolidationSegmentHierarchy and $projection.ValidityEndDate = _Hierarchy.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 #M view
ObjectModel.dataCategory #TEXT view
OData.entityType.name CnsldtnSegmentHierarchyText_Type view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Consolidation Segment Hierarchy - Text view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language I_CnsldtnSegmentHierarchyT Language Report Text Language
KEY ConsolidationSegmentHierarchy I_CnsldtnSegmentHierarchyT ConsolidationSegmentHierarchy
KEY ValidityEndDate I_CnsldtnSegmentHierarchyT ValidityEndDate ValidTo
ValidityStartDate I_CnsldtnSegmentHierarchyT ValidityStartDate Validity Start Date
ConsolidationSegmentHierText I_CnsldtnSegmentHierarchyT ConsolidationSegmentHierText
_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 A_CnsldtnSegmentHierarchyT_2.
-- 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_CnsldtnSegmentHierarchyT_2 AS
SELECT
  _Source.Language AS Language,
  _Source.ConsolidationSegmentHierarchy AS ConsolidationSegmentHierarchy,
  _Source.ValidityEndDate AS ValidityEndDate,
  _Source.ValidityStartDate AS ValidityStartDate,
  _Source.ConsolidationSegmentHierText AS ConsolidationSegmentHierText
FROM I_CnsldtnSegmentHierarchyT AS _Source
LEFT OUTER JOIN A_CnsldtnSegmentHierarchy_2 AS _Hierarchy ON ConsolidationSegmentHierarchy = _Hierarchy.ConsolidationSegmentHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [1..1]
;