P_PPM_ProjectPhaseCurrentDates
P_PPM_ProjectPhaseCurrentDates is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_PPM_ProjectPhaseCurrentDate, I_PPM_Task) and exposes 3 fields with key field ProjectUUID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_PPM_ProjectPhaseCurrentDate | projectPhaseCurrentDate | from |
| I_PPM_Task | task | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PPPMPROJPHASECDS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | ProjectUUID | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | I_PPM_Task | ProjectUUID | |
| LatestStartDateTime | I_PPM_Task | LatestStartDateTime | ||
| SortingNumber |
// @EndUserText.label: 'Date and Sorting Number of current project phase'
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'PPPMPROJPHASECDS'
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.representativeKey: 'ProjectUUID'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
define view P_PPM_ProjectPhaseCurrentDates as select from P_PPM_ProjectPhaseCurrentDate as projectPhaseCurrentDate
inner join I_PPM_Task as task
on projectPhaseCurrentDate.ProjectUUID = task.ProjectUUID
and projectPhaseCurrentDate.LatestStartDateTime = task.LatestStartDateTime
and task.ObjectType ='PPO'
and task.TaskProcessingStatus = '10'
{
key task.ProjectUUID,
task.LatestStartDateTime,
min(task.SortingNumber) as SortingNumber
} group by task.ProjectUUID, task.LatestStartDateTime;
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