P_RAHighLvlRevnAmtPerKeyGroup

DDL: P_RAHIGHLVLREVNAMTPERKEYGROUP Type: view_entity COMPOSITE

P_RAHighLvlRevnAmtPerKeyGroup is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_RARevnAmtPerRecnclnKeyGrp) and exposes 8 fields with key fields RAHigherLevelPerfOblgn, RecnclnKeyGroupId, FiscalYearPeriod.

Data Sources (1)

SourceAliasJoin Type
P_RARevnAmtPerRecnclnKeyGrp RevnAmtPerGroup from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY RAHigherLevelPerfOblgn EffectiveChgTypeItems RAHigherLevelPerfOblgn Higher-Level POB
KEY RecnclnKeyGroupId P_RARevnAmtPerRecnclnKeyGrp RecnclnKeyGroupId
KEY FiscalYearPeriod P_RARevnAmtPerRecnclnKeyGrp FiscalYearPeriod Period/Year
RevenueAccountingContract P_RARevnAmtPerRecnclnKeyGrp RevenueAccountingContract Revenue Contract
TolRecgdRevenuePerGroup
TolRecgdCatchupPerGroup
TolContractualAmtPerGroup
SalesDocumentCurrency P_RARevnAmtPerRecnclnKeyGrp SalesDocumentCurrency Currency

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_RAHighLvlRevnAmtPerKeyGroup.
-- 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 P_RAHighLvlRevnAmtPerKeyGroup AS
SELECT
  EffectiveChgTypeItems.RAHigherLevelPerfOblgn AS RAHigherLevelPerfOblgn,
  RevnAmtPerGroup.RecnclnKeyGroupId AS RecnclnKeyGroupId,
  RevnAmtPerGroup.FiscalYearPeriod AS FiscalYearPeriod,
  RevnAmtPerGroup.RevenueAccountingContract AS RevenueAccountingContract,
  sum(RevnAmtPerGroup.TolRecgdRevenuePerGroup) AS TolRecgdRevenuePerGroup,
  sum(RevnAmtPerGroup.TolRecgdCatchupPerGroup) AS TolRecgdCatchupPerGroup,
  sum(RevnAmtPerGroup.TolContractualAmtPerGroup) AS TolContractualAmtPerGroup,
  RevnAmtPerGroup.SalesDocumentCurrency AS SalesDocumentCurrency
FROM P_RARevnAmtPerRecnclnKeyGrp AS RevnAmtPerGroup
;