P_RAPerfOblgnRevnInvcToCurPerd

DDL: P_RAPERFOBLGNREVNINVCTOCURPERD Type: view_entity COMPOSITE

P_RAPerfOblgnRevnInvcToCurPerd is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_CompndPerfOblgnAmtToCurPerd, P_RAPerfOblgnTotalAmtToCurPerd) and exposes 10 fields with key field PerformanceObligation.

Data Sources (2)

SourceAliasJoin Type
P_CompndPerfOblgnAmtToCurPerd P_CompndPerfOblgnAmtToCurPerd union_all
P_RAPerfOblgnTotalAmtToCurPerd P_RAPerfOblgnTotalAmtToCurPerd from

Annotations (4)

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

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation PerformanceObligation Performance Obligation
RevenueAccountingContract RevenueAccountingContract Revenue Contract
SalesDocumentCurrency SalesDocumentCurrency Currency
UpToCurPeriodRecognizedRevenue
UpToCurPeriodRecognizedRevn
RevenueAccountingContract RevenueAccountingContract Revenue Contract
SalesDocumentCurrency SalesDocumentCurrency Currency
UpToCurPeriodRecognizedRevenue
UpToCurPeriodRecognizedRevn
UpToCurPeriodInvoicedAmount UpToCurPeriodInvoicedAmount

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_RAPerfOblgnRevnInvcToCurPerd.
-- 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_RAPerfOblgnRevnInvcToCurPerd AS
SELECT
  PerformanceObligation,
  RevenueAccountingContract,
  SalesDocumentCurrency,
  cast(RecgdAmtUpToCurPerd + CatchupAmtUpToCurPerd as farr_recog_amt) AS UpToCurPeriodRecognizedRevenue,
  100.00 * cast(RecgdAmtUpToCurPerd + CatchupAmtUpToCurPerd as abap.fltp) AS UpToCurPeriodRecognizedRevn,
  UpToCurPeriodInvoicedAmount
FROM P_RAPerfOblgnTotalAmtToCurPerd
-- UNION ALL with additional select branch(es): P_CompndPerfOblgnAmtToCurPerd
;