I_ProjectBillingElmntDueDate

DDL: I_PROJECTBILLINGELMNTDUEDATE SQL: IPRJBILLDUEDATE Type: view_entity COMPOSITE

Billing Due Date of Billing Element

I_ProjectBillingElmntDueDate is a Composite CDS View that provides data about "Billing Due Date of Billing Element" in SAP S/4HANA. It reads from 3 data sources (I_ProjectBillingElement, P_ProjectBillingElmntDueDate, I_SalesOrderItem) and exposes 7 fields with key field ProjectBillingElementUUID. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_ProjectBillingElement ProjectBillingElement from
P_ProjectBillingElmntDueDate ProjectBillingElmntDueDate inner
I_SalesOrderItem SalesOrderItem inner

Parameters (1)

NameTypeDefault
P_BillingPlanItemUsage sdbp_item_usage

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_ProjectBillingElmntDueDate _ProjectBillingElmntDueDate SalesOrderItem.BillingPlan = _ProjectBillingElmntDueDate.BillingPlan -- and SalesOrderItem.SalesOrder = _ProjectBillingElmntDueDate.SalesOrder -- and SalesOrderItem.SalesOrderItem = _ProjectBillingElmntDueDate.SalesOrderItem

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Billing Due Date of Billing Element view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingElementUUID I_ProjectBillingElement ProjectBillingElementUUID PBE UUID
WBSElementInternalID I_ProjectBillingElement BillingWBSElementInternalID WBS Internal ID
DueBillingDate P_ProjectBillingElmntDueDate DueBillingDate
BillingPlan I_SalesOrderItem BillingPlan Bill. Plan No.
SalesOrder I_SalesOrderItem SalesOrder SD Document
SalesOrderItem_EnterpriseProjectElement
_SalesOrderItem

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 I_ProjectBillingElmntDueDate.
-- 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: IPRJBILLDUEDATE
-- Parameters: P_BillingPlanItemUsage : sdbp_item_usage

CREATE VIEW I_ProjectBillingElmntDueDate AS
SELECT
  ProjectBillingElement.ProjectBillingElementUUID AS ProjectBillingElementUUID,
  ProjectBillingElement.BillingWBSElementInternalID AS WBSElementInternalID,
  ProjectBillingElmntDueDate.DueBillingDate AS DueBillingDate,
  SalesOrderItem.BillingPlan AS BillingPlan,
  SalesOrderItem.SalesOrder AS SalesOrder,
  SalesOrderItem.SalesOrderItem AS SalesOrderItem_EnterpriseProjectElement
FROM I_ProjectBillingElement AS ProjectBillingElement
INNER JOIN I_SalesOrderItem AS SalesOrderItem ON /* join condition not captured in parsed metadata */
INNER JOIN P_ProjectBillingElmntDueDate AS ProjectBillingElmntDueDate ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProjectBillingElmntDueDate AS _ProjectBillingElmntDueDate ON SalesOrderItem.BillingPlan = _ProjectBillingElmntDueDate.BillingPlan  -- association [0..1]
;