I_PPM_PROJECTPHASECURRENT
UUID of next project phase
I_PPM_PROJECTPHASECURRENT is a CDS View in S/4HANA. UUID of next project phase. 4 CDS views read from this table.
CDS Views using this table (4)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_PPM_LastUsedProject | view | left_outer | COMPOSITE | Display Last Used Projects |
| I_PPM_MeAsSubstituteProjects | view | left_outer | COMPOSITE | My Projects - As a Substitute |
| I_PPM_MyActiveProjects | view | left_outer | COMPOSITE | My Projects – Active |
| I_PPM_ProjectCopilot | view | left_outer | COMPOSITE | Project header info for Copilot |
@EndUserText.label: 'UUID of next project phase'
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IPPMPROJPHASECUR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.representativeKey: 'ProjectUUID'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_PPM_ProjectPhaseCurrent as select from P_PPM_ProjectPhaseCurrentDates as projectPhaseCurrentDates
inner join I_PPM_Task as task
on projectPhaseCurrentDates.ProjectUUID = task.ProjectUUID
and projectPhaseCurrentDates.LatestStartDateTime = task.LatestStartDateTime
and projectPhaseCurrentDates.SortingNumber = task.SortingNumber
and task.ObjectType ='PPO'
and task.TaskProcessingStatus = '10'
association [1..1] to I_PPM_Task as _Task on $projection.TaskUUID = _Task.TaskUUID
association [1..1] to I_PPM_TaskText as _TaskText on $projection.TaskUUID = _TaskText.TaskUUID
{
key task.ProjectUUID,
max(task.TaskUUID) as TaskUUID
, _Task
, _TaskText
} group by task.ProjectUUID, task.LatestStartDateTime, task.SortingNumber;