P_CompndPerfOblgnAmtToCurPerd

DDL: P_COMPNDPERFOBLGNAMTTOCURPERD SQL: RACPERFOBLGNAMT Type: view COMPOSITE

P_CompndPerfOblgnAmtToCurPerd is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_RAPerformanceObligation, I_RevnAcctgDeferralItem, I_RAPerformanceObligation, I_RACurrentAccountingPeriod) and exposes 5 fields with key field PerformanceObligation.

Data Sources (4)

SourceAliasJoin Type
I_RAPerformanceObligation CompoundGroupPerfOblgn from
I_RevnAcctgDeferralItem DeferralItem inner
I_RAPerformanceObligation NonDistinctPerfOblgn inner
I_RACurrentAccountingPeriod Period inner

Annotations (7)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation I_RAPerformanceObligation PerformanceObligation Performance Obligation
RevenueAccountingContract I_RAPerformanceObligation RevenueAccountingContract Revenue Contract
SalesDocumentCurrency I_RevnAcctgDeferralItem SalesDocumentCurrency Currency
RecgdAmtUpToCurPerd
CatchupAmtUpToCurPerd

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_CompndPerfOblgnAmtToCurPerd.
-- 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: RACPERFOBLGNAMT

CREATE VIEW P_CompndPerfOblgnAmtToCurPerd AS
SELECT
  CompoundGroupPerfOblgn.PerformanceObligation AS PerformanceObligation,
  CompoundGroupPerfOblgn.RevenueAccountingContract AS RevenueAccountingContract,
  DeferralItem.SalesDocumentCurrency AS SalesDocumentCurrency,
  sum(DeferralItem.DeltaRecognizedAmtInSlsDocCrcy) AS RecgdAmtUpToCurPerd,
  sum(DeferralItem.RecgdCatchUpAmtInSlsDocCrcy) AS CatchupAmtUpToCurPerd
FROM I_RAPerformanceObligation AS CompoundGroupPerfOblgn
INNER JOIN I_RAPerformanceObligation AS NonDistinctPerfOblgn ON /* join condition not captured in parsed metadata */
INNER JOIN I_RevnAcctgDeferralItem AS DeferralItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_RACurrentAccountingPeriod AS Period ON /* join condition not captured in parsed metadata */
;