P_CnsldtnUnit_AggregatedText

DDL: P_CNSLDTNUNIT_AGGREGATEDTEXT SQL: PCSCUAGGRT Type: view COMPOSITE

P_CnsldtnUnit_AggregatedText is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnit_UnionByKeyText) and exposes 6 fields with key fields Language, ConsolidationDimension, ConsolidationUnit. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnUnit_UnionByKeyText P_CnsldtnUnit_UnionByKeyText from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnUnitT _Text1 $projection.ConsolidationDimension = _Text1.ConsolidationDimension and $projection.ConsolidationUnit = _Text1.ConsolidationUnit
[0..*] I_CnsldtnUnitText_3 _Text2 $projection.ConsolidationUnit = _Text2.ConsolidationUnit

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PCSCUAGGRT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ConsolidationUnit view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY ConsolidationDimension ConsolidationDimension Dimension
KEY ConsolidationUnit ConsolidationUnit Consolidation Unit
Source
_Text1 _Text1
_Text2 _Text2

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 P_CnsldtnUnit_AggregatedText.
-- 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.
-- SQL view name: PCSCUAGGRT

CREATE VIEW P_CnsldtnUnit_AggregatedText AS
SELECT
  Language,
  ConsolidationDimension,
  ConsolidationUnit,
  max(Source) AS Source
FROM P_CnsldtnUnit_UnionByKeyText
LEFT OUTER JOIN I_CnsldtnUnitT AS _Text1 ON ConsolidationDimension = _Text1.ConsolidationDimension AND ConsolidationUnit = _Text1.ConsolidationUnit  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnUnitText_3 AS _Text2 ON ConsolidationUnit = _Text2.ConsolidationUnit  -- association [0..*]
;