P_MyProjectBillingRequests
Project Billing Requests by UserID
P_MyProjectBillingRequests is a Composite CDS View that provides data about "Project Billing Requests by UserID" in SAP S/4HANA. It reads from 2 data sources (I_WorkForcePersonMappings, I_SDDocumentCompletePartners) and exposes 2 fields with key fields SalesOrder, UserID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkForcePersonMappings | _WorkForcePerson | inner |
| I_SDDocumentCompletePartners | Partners | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Project Billing Requests by UserID | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | SalesOrderItem | SalesOrder | |
| KEY | UserID | I_WorkForcePersonMappings | UserID |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Project Billing Requests by UserID'
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.viewType: #COMPOSITE
@VDM.private:true
@ObjectModel.usageType: {
sizeCategory: #XL,
dataClass: #MIXED,
serviceQuality: #C
}
define view entity P_MyProjectBillingRequests
as select distinct from I_SalesOrderItem as SalesOrderItem
inner join I_SDDocumentCompletePartners as Partners on SalesOrderItem.SalesOrder = Partners.SDDocument
inner join I_WorkForcePersonMappings as _WorkForcePerson on Partners.Personnel = _WorkForcePerson.WorkforceAssignment
{
key SalesOrderItem.SalesOrder,
key _WorkForcePerson.UserID
}
where Partners.Personnel is not initial
and Partners.SDDocumentItem is initial
// and PersonWorkAgreement._WorkforcePerson._BusinessUser.UserID = $session.user
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