P_MyProjectBillingElements2
Project Billing Elements by UserID (2)
P_MyProjectBillingElements2 is a Composite CDS View that provides data about "Project Billing Elements by UserID (2)" in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentCompletePartners, I_WorkForcePersonMappings) and exposes 2 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 | #NOT_REQUIRED | view | |
| EndUserText.label | Project Billing Elements by UserID (2) | 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 (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectBillingElementUUID | ProjectBillingElement | ProjectBillingElementUUID | |
| UserID |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Project Billing Elements by UserID (2)'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view entity P_MyProjectBillingElements2
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,
$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