P_RAPrevRevnPerProRecnclnKey

DDL: P_RAPREVREVNPERPRORECNCLNKEY SQL: PRAPREREVPROKEY Type: view 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 (7)

NameValueLevelField
AbapCatalog.sqlViewName PRAPREREVPROKEY 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 (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 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.
-- SQL view name: PRAPREREVPROKEY

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,
  SalesDocumentCurrency
FROM P_RAPerfOblgnWithProRecnclnKey AS PerfOblgnWithProRecnclnKey
INNER JOIN P_RADefItemWithLtstContractId AS DeferralItem ON /* join condition not captured in parsed metadata */
;