P_RAContractPostponedCost

DDL: P_RACONTRACTPOSTPONEDCOST Type: view_entity COMPOSITE

P_RAContractPostponedCost is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_RAPostponedPostingItem, I_RADeferralItemWithoutInvoice) and exposes 3 fields with key field RevenueAccountingContract.

Data Sources (2)

SourceAliasJoin Type
I_RAPostponedPostingItem _RAPostponedPostingItem from
I_RADeferralItemWithoutInvoice _RevnAcctgDeferralItem inner

Annotations (3)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract I_RADeferralItemWithoutInvoice RevenueAccountingContract Revenue Contract
SalesDocumentCurrency I_RADeferralItemWithoutInvoice SalesDocumentCurrency Currency
PostponedCostAmtInSlsDocCrcy

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_RAContractPostponedCost.
-- 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_RAContractPostponedCost AS
SELECT
  _RevnAcctgDeferralItem.RevenueAccountingContract AS RevenueAccountingContract,
  _RevnAcctgDeferralItem.SalesDocumentCurrency AS SalesDocumentCurrency,
  sum(_RevnAcctgDeferralItem.DeltaRecognizedAmtInSlsDocCrcy) AS PostponedCostAmtInSlsDocCrcy
FROM I_RAPostponedPostingItem AS _RAPostponedPostingItem
INNER JOIN I_RADeferralItemWithoutInvoice AS _RevnAcctgDeferralItem ON /* join condition not captured in parsed metadata */
;