P_ProjBillingElmntMaxBillDate2

DDL: P_PROJBILLINGELMNTMAXBILLDATE2 Type: view_entity COMPOSITE

P_ProjBillingElmntMaxBillDate2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_ProjBillingElmntAllBillDate2, I_SDBillingPlanItem) and exposes 3 fields with key field ProjectBillingElementUUID.

Data Sources (2)

SourceAliasJoin Type
P_ProjBillingElmntAllBillDate2 AllBillDate from
I_SDBillingPlanItem BillingPlanItem inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingElementUUID P_ProjBillingElmntAllBillDate2 ProjectBillingElementUUID PBE UUID
UserID P_ProjBillingElmntAllBillDate2 UserID User Name
BillingDate

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_ProjBillingElmntMaxBillDate2.
-- 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_ProjBillingElmntMaxBillDate2 AS
SELECT
  AllBillDate.ProjectBillingElementUUID AS ProjectBillingElementUUID,
  AllBillDate.UserID AS UserID,
  max(BillingPlanItem.BillingPlanBillingDate) AS BillingDate
FROM P_ProjBillingElmntAllBillDate2 AS AllBillDate
INNER JOIN I_SDBillingPlanItem AS BillingPlanItem ON /* join condition not captured in parsed metadata */
;