I_MyProjectBillingElements
Project Billing Elements by UserID
I_MyProjectBillingElements is a Composite CDS View that provides data about "Project Billing Elements by UserID" in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentCompletePartners, I_WorkForcePersonMappings) and exposes 3 fields with key field ProjectBillingElementUUID. Part of development package VDM_PROJECTBILLINGELEMENT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentCompletePartners | Partners | inner |
| I_WorkForcePersonMappings | WorkForcePerson | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Project Billing Elements by UserID | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectBillingElementUUID | ProjectBillingElement | ProjectBillingElementUUID | |
| BillingWBSElementInternalID | ProjectBillingElement | BillingWBSElementInternalID | ||
| UserID |
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Project Billing Elements by UserID'
@ObjectModel.usageType: {
sizeCategory: #XL,
dataClass: #MIXED,
serviceQuality: #C
}
@Metadata.ignorePropagatedAnnotations: true
define view entity I_MyProjectBillingElements
as select distinct from I_ProjectBillingElement as ProjectBillingElement
inner join I_SDDocumentCompletePartners as Partners on ProjectBillingElement.SalesDocument = Partners.SDDocument
and Partners.Personnel is not initial
and (
ProjectBillingElement.SalesDocumentItem = Partners.SDDocumentItem
or Partners.SDDocumentItem is initial
)
inner join I_WorkForcePersonMappings as WorkForcePerson on Partners.Personnel = WorkForcePerson.WorkforceAssignment
and WorkForcePerson.UserID = $session.user
{
key ProjectBillingElement.ProjectBillingElementUUID,
ProjectBillingElement.BillingWBSElementInternalID,
$session.user as UserID
}
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