P_RASplitQtyPerProRecnclnKey

DDL: P_RASPLITQTYPERPRORECNCLNKEY SQL: PRASPTQTYPROKEY Type: view COMPOSITE

P_RASplitQtyPerProRecnclnKey is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_RAFulfillmentWithContractId, P_RAPerfOblgnWithProRecnclnKey) and exposes 4 fields with key fields PerformanceObligation, RevnAcctgReconciliationKey.

Data Sources (2)

SourceAliasJoin Type
P_RAFulfillmentWithContractId Fulfill left_outer
P_RAPerfOblgnWithProRecnclnKey PerfOblgnWithProRecnclnKey from

Annotations (7)

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

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation P_RAPerfOblgnWithProRecnclnKey PerformanceObligation Performance Obligation
KEY RevnAcctgReconciliationKey P_RAPerfOblgnWithProRecnclnKey RevnAcctgReconciliationKey
PerfOblgnPreviousFulfilledQty
RevenueAccountingContract P_RAPerfOblgnWithProRecnclnKey RevenueAccountingContract Revenue Contract

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_RASplitQtyPerProRecnclnKey.
-- 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: PRASPTQTYPROKEY

CREATE VIEW P_RASplitQtyPerProRecnclnKey AS
SELECT
  PerfOblgnWithProRecnclnKey.PerformanceObligation AS PerformanceObligation,
  PerfOblgnWithProRecnclnKey.RevnAcctgReconciliationKey AS RevnAcctgReconciliationKey,
  sum(Fulfill.ReportedFulfilledQuantity) AS PerfOblgnPreviousFulfilledQty,
  PerfOblgnWithProRecnclnKey.RevenueAccountingContract AS RevenueAccountingContract
FROM P_RAPerfOblgnWithProRecnclnKey AS PerfOblgnWithProRecnclnKey
LEFT OUTER JOIN P_RAFulfillmentWithContractId AS Fulfill ON /* join condition not captured in parsed metadata */
;