P_PPM_ProjectPhaseCurrentDate
Date of current project phase
P_PPM_ProjectPhaseCurrentDate is a Composite CDS View that provides data about "Date of current project phase" in SAP S/4HANA. It reads from 1 data source (I_PPM_Task) and exposes 2 fields with key field ProjectUUID. Part of development package VDM_PPM_OBJECTS_PROJECT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PPM_Task | task | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PPPMPROJPHASECUD | 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 (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | I_PPM_Task | ProjectUUID | |
| LatestStartDateTime |
// @EndUserText.label: 'Date of current project phase'
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'PPPMPROJPHASECUD'
@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
/* Specifications
S1. Should determine the date of the next milestone of a project
S2. Only milestones which are marked as relevant (attribute of task type) are considered
S3. Only milestoned with has been released are considered
*/
define view P_PPM_ProjectPhaseCurrentDate as select from I_PPM_Task as task
{
key task.ProjectUUID,
min(task.LatestStartDateTime) as LatestStartDateTime
}
where task.ObjectType = 'PPO' //phase
and task.TaskProcessingStatus = '10'
group by task.ProjectUUID
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