P_RAHighLvlRevnAmtPerKeyGroup

DDL: P_RAHIGHLVLREVNAMTPERKEYGROUP SQL: PRAHLVLREVAMTGRP Type: view 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 (7)

NameValueLevelField
AbapCatalog.sqlViewName PRAHLVLREVAMTGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY RAHigherLevelPerfOblgn EffectiveChgTypeItems RAHigherLevelPerfOblgn Higher-Level POB
KEY RecnclnKeyGroupId 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.
-- SQL view name: PRAHLVLREVAMTGRP

CREATE VIEW P_RAHighLvlRevnAmtPerKeyGroup AS
SELECT
  EffectiveChgTypeItems.RAHigherLevelPerfOblgn AS RAHigherLevelPerfOblgn,
  RecnclnKeyGroupId,
  RevnAmtPerGroup.FiscalYearPeriod AS FiscalYearPeriod,
  RevnAmtPerGroup.RevenueAccountingContract AS RevenueAccountingContract,
  sum(TolRecgdRevenuePerGroup) AS TolRecgdRevenuePerGroup,
  sum(TolRecgdCatchupPerGroup) AS TolRecgdCatchupPerGroup,
  sum(TolContractualAmtPerGroup) AS TolContractualAmtPerGroup,
  RevnAmtPerGroup.SalesDocumentCurrency AS SalesDocumentCurrency
FROM P_RARevnAmtPerRecnclnKeyGrp AS RevnAmtPerGroup
;