P_EntProjElementBillingElement
Project Element with Billing Element
P_EntProjElementBillingElement is a Composite CDS View that provides data about "Project Element with Billing Element" in SAP S/4HANA. It reads from 1 data source (I_EnterpriseProjectElement) and exposes 13 fields with key field ProjectElementUUID. It has 1 association to related views. Part of development package ODATA_PPM_PRO_CTRL_PROFNL_SRVC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EnterpriseProjectElement | ProjectElement | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EnterpriseProject | _EnterpriseProject | _EnterpriseProject.ProjectUUID = $projection.ProjectUUID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectElementUUID | I_EnterpriseProjectElement | ProjectElementUUID | |
| ProjectElement | I_EnterpriseProjectElement | ProjectElement | ||
| WBSElementInternalID | I_EnterpriseProjectElement | WBSElementInternalID | ||
| ProjectElementDescription | I_EnterpriseProjectElement | ProjectElementDescription | ||
| ProjectUUID | I_EnterpriseProjectElement | ProjectUUID | ||
| WBSElementExternalID | BillingElement | WBSElementExternalID | ||
| WBSDescription | BillingElement | WBSDescription | ||
| ProfitCenter | BillingElement | ProfitCenter | ||
| ControllingArea | BillingElement | ControllingArea | ||
| BillingPlanUsageCategoryName | BillingElement | BillingPlanUsageCategoryName | ||
| Product | BillingElement | Product | ||
| _EnterpriseProject | _EnterpriseProject | |||
| _ProfitCenter | BillingElement | _ProfitCenter |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #L,
dataClass: #MIXED
}
@VDM: {
viewType:#COMPOSITE,
private: true
}
define view entity P_EntProjElementBillingElement
as select from I_EnterpriseProjectElement as ProjectElement
left outer to one join I_EntProjProfnlSrvcBillgElmnt as BillingElement on ProjectElement.ProjectUUID = BillingElement.ProjectUUID
and ProjectElement.LeadingSalesOrder = BillingElement.SalesOrder
and ProjectElement.LeadingSalesOrderItem = BillingElement.SalesOrderItem
association [1..1] to I_EnterpriseProject as _EnterpriseProject on _EnterpriseProject.ProjectUUID = $projection.ProjectUUID
{
key ProjectElement.ProjectElementUUID as ProjectElementUUID,
ProjectElement.ProjectElement as ProjectElement,
ProjectElement.WBSElementInternalID as WBSElementInternalID,
ProjectElement.ProjectElementDescription as ProjectElementDescription,
ProjectElement.ProjectUUID as ProjectUUID,
BillingElement.WBSElementExternalID as WBSElementExternalID,
BillingElement.WBSDescription as WBSDescription,
BillingElement.ProfitCenter as ProfitCenter,
BillingElement.ControllingArea as ControllingArea,
BillingElement.BillingPlanUsageCategoryName as BillingPlanUsageCategoryName,
BillingElement.Product as Product,
// Association
_EnterpriseProject,
BillingElement._ProfitCenter
}
where
ProjectElement.WBSElementIsBillingElement = ''
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA