P_EvtBsdRevnRecgnProjWIPBeeFlw

DDL: P_EVTBSDREVNRECGNPROJWIPBEEFLW SQL: PEBRRPROJWIPBEEF Type: view COMPOSITE

P_EvtBsdRevnRecgnProjWIPBeeFlw is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ProjectBillingElementEntry) and exposes 17 fields with key field ProjBillgElmntEntrItmUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjectBillingElementEntry ProjectBillingElementEntry from

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_EvtBsdRevnRecgnProjWIPFlw _EvtBsdRevnRecgnProjWIPFlw _EvtBsdRevnRecgnProjWIPFlw.ProjBillgElmntEntrItmUUID = $projection.ProjBillgElmntEntrItmUUID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PEBRRPROJWIPBEEF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ProjBillgElmntEntrItmUUID ProjBillgElmntEntrItmUUID PBE Entry UUID
BillingWBSElementInternalID _ProjectBillingElement BillingWBSElementInternalID WBS Internal ID
WBSElementInternalID WBSElementInternalID WBS Internal ID
Material Material Vehicle Model
ServicesRenderedDate ServicesRenderedDate Services Rendered Date
DocumentCurrency DocumentCurrency Document Currency
OriginalRevenueAmtInDocCrcy OriginalRevenueAmtInDocCrcy Original Revenue
QuantityUnit QuantityUnit Unit of measure
ToBeBilledQuantity OpenQuantity PBE Entry Open Qty
OpenAmountInTransCrcy OpenAmountInTransCrcy Open Amt Trans Crcy
PrjBlgElmEntryLongText PrjBlgElmEntryLongText long text
BilledRevenueAmtInDocCrcy
BilledQuantity
BillgReqdRevenueAmtInDocCrcy
BillingRequestedQuantity
WrittenOffRevenueAmtInDocCrcy
WrittenOffQuantity

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_EvtBsdRevnRecgnProjWIPBeeFlw.
-- 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: PEBRRPROJWIPBEEF

CREATE VIEW P_EvtBsdRevnRecgnProjWIPBeeFlw AS
SELECT
  ProjBillgElmntEntrItmUUID,
  _ProjectBillingElement.BillingWBSElementInternalID AS BillingWBSElementInternalID,
  WBSElementInternalID,
  Material,
  ServicesRenderedDate,
  DocumentCurrency,
  OriginalRevenueAmtInDocCrcy,
  QuantityUnit,
  OpenQuantity AS ToBeBilledQuantity,
  OpenAmountInTransCrcy,
  PrjBlgElmEntryLongText,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.BilledRevenueAmtInDocCrcy, 0) AS BilledRevenueAmtInDocCrcy,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.BilledQuantity, 0) AS BilledQuantity,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.BillgReqdRevenueAmtInDocCrcy, 0) AS BillgReqdRevenueAmtInDocCrcy,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.BillingRequestedQuantity, 0) AS BillingRequestedQuantity,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.WrittenOffRevenueAmtInDocCrcy, 0) AS WrittenOffRevenueAmtInDocCrcy,
  coalesce(_EvtBsdRevnRecgnProjWIPFlw.WrittenOffQuantity, 0) AS WrittenOffQuantity
FROM I_ProjectBillingElementEntry AS ProjectBillingElementEntry
LEFT OUTER JOIN P_EvtBsdRevnRecgnProjWIPFlw AS _EvtBsdRevnRecgnProjWIPFlw ON _EvtBsdRevnRecgnProjWIPFlw.ProjBillgElmntEntrItmUUID = ProjBillgElmntEntrItmUUID  -- association [0..1]
;