P_RAPrevRevnPerProRecnclnKey

DDL: P_RAPREVREVNPERPRORECNCLNKEY Type: view_entity COMPOSITE

P_RAPrevRevnPerProRecnclnKey is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_RADefItemWithLtstContractId, P_RAPerfOblgnWithProRecnclnKey) and exposes 6 fields with key fields PerformanceObligation, RevnAcctgReconciliationKey.

Data Sources (2)

SourceAliasJoin Type
P_RADefItemWithLtstContractId DeferralItem inner
P_RAPerfOblgnWithProRecnclnKey PerfOblgnWithProRecnclnKey from

Annotations (3)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation P_RAPerfOblgnWithProRecnclnKey PerformanceObligation Performance Obligation
KEY RevnAcctgReconciliationKey P_RAPerfOblgnWithProRecnclnKey RevnAcctgReconciliationKey
PrevRecognizedDeltaRevenue
PrevRecognizedCatchup
RevenueAccountingContract P_RAPerfOblgnWithProRecnclnKey RevenueAccountingContract Revenue Contract
SalesDocumentCurrency P_RADefItemWithLtstContractId 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_RAPrevRevnPerProRecnclnKey.
-- 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_RAPrevRevnPerProRecnclnKey AS
SELECT
  PerfOblgnWithProRecnclnKey.PerformanceObligation AS PerformanceObligation,
  PerfOblgnWithProRecnclnKey.RevnAcctgReconciliationKey AS RevnAcctgReconciliationKey,
  sum(DeferralItem.DeltaRecognizedAmtInSlsDocCrcy) AS PrevRecognizedDeltaRevenue,
  sum(DeferralItem.RecgdCatchUpAmtInSlsDocCrcy) AS PrevRecognizedCatchup,
  PerfOblgnWithProRecnclnKey.RevenueAccountingContract AS RevenueAccountingContract,
  DeferralItem.SalesDocumentCurrency AS SalesDocumentCurrency
FROM P_RAPerfOblgnWithProRecnclnKey AS PerfOblgnWithProRecnclnKey
INNER JOIN P_RADefItemWithLtstContractId AS DeferralItem ON /* join condition not captured in parsed metadata */
;