P_RARevnExplMigrationRevn

DDL: P_RAREVNEXPLMIGRATIONREVN SQL: PRAREMIGREVN Type: view COMPOSITE

P_RARevnExplMigrationRevn is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_RevenueAccountingContract, I_RADeferralItemWithoutInvoice) and exposes 7 fields with key fields PerformanceObligation, RAContractTransformRecnclnKey, RevenueAccountingContract.

Data Sources (2)

SourceAliasJoin Type
I_RevenueAccountingContract Contract from
I_RADeferralItemWithoutInvoice DeferralItem inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRAREMIGREVN 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 (7)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation I_RADeferralItemWithoutInvoice PerformanceObligation Performance Obligation
KEY RAContractTransformRecnclnKey I_RevenueAccountingContract RAContractTransformRecnclnKey Reconcil. Key
KEY RevenueAccountingContract I_RevenueAccountingContract RevenueAccountingContract Revenue Contract
DeltaRecognizedAmtInSlsDocCrcy
CumltvEffectiveAmtInSlsDocCrcy
SalesDocumentCurrency I_RADeferralItemWithoutInvoice SalesDocumentCurrency Currency
PerfOblgnCumltvEffectiveQty DeltaEffectiveQuantity

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_RARevnExplMigrationRevn.
-- 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: PRAREMIGREVN

CREATE VIEW P_RARevnExplMigrationRevn AS
SELECT
  DeferralItem.PerformanceObligation AS PerformanceObligation,
  Contract.RAContractTransformRecnclnKey AS RAContractTransformRecnclnKey,
  Contract.RevenueAccountingContract AS RevenueAccountingContract,
  sum( DeltaRecognizedAmtInSlsDocCrcy ) AS DeltaRecognizedAmtInSlsDocCrcy,
  sum( DeltaEffectiveAmtInSlsDocCrcy ) AS CumltvEffectiveAmtInSlsDocCrcy,
  DeferralItem.SalesDocumentCurrency AS SalesDocumentCurrency,
  DeltaEffectiveQuantity AS PerfOblgnCumltvEffectiveQty
FROM I_RevenueAccountingContract AS Contract
INNER JOIN I_RADeferralItemWithoutInvoice AS DeferralItem ON /* join condition not captured in parsed metadata */
;