I_PPM_PROJECTTASK

CDS View

Milestone Information

I_PPM_PROJECTTASK is a CDS View in S/4HANA. Milestone Information. It contains 55 fields. 10 CDS views read from this table.

CDS Views using this table (10)

ViewTypeJoinVDMDescription
C_EntProjElmntMassChgParameter view from CONSUMPTION Parameters for Project Element Mass Change
C_EntProjElmntWthProjMassChg view from CONSUMPTION WBS Element with Projects for Mass Change
C_EntProjWrkPckgProjectStatus view from CONSUMPTION WBS Element object page processing status
I_EnterpriseProjectElementTP view from TRANSACTIONAL TP view for CRUD API for EPPM Workpackages and milestones
I_PPM_ProjectTaskTP view from TRANSACTIONAL Milestone Information - transac. proc.
P_EntProjElmntBlockFunc view from COMPOSITE Block Functions joins
P_FuncnlAreaWBSElmnt view from COMPOSITE WUFAREA WBS Elements
P_FundWBSElement view from COMPOSITE WUFUND WBS Elements
P_GrantWBSElement view from COMPOSITE WUGRANT WBS Elements
P_SpnsrdPgmWBSElmnt view from COMPOSITE WUSPDPGM WBS Elements

Fields (55)

KeyField CDS FieldsUsed in Views
KEY TaskUUID ProjectElementUUID,TaskUUID 3
_AuthGroup _AuthGroup 2
_AuthRole _AuthRole 2
_AuthSubst _AuthSubst 2
_AuthUser _AuthUser 2
_CompanyCode _CompanyCode 1
_ControllingArea _ControllingArea 2
_CostCenter _CostCenter 1
_CreatedByUser _CreatedByUser 1
_FactoryCalendar _FactoryCalendar 1
_FunctionalArea _FunctionalArea 1
_I_Project _I_Project 1
_Plant _Plant 1
_ProcessingStatus _ProcessingStatus 1
_ProfitCenter _ProfitCenter 1
_ProjectRoot _ProjectRoot 1
_ProjObjRoot _ProjObjRoot 1
_ResponsibleCostCenter _ResponsibleCostCenter 1
_Root _Root 1
ActualEndDate ActualEndDate 2
ActualStartDate ActualStartDate 2
CompanyCode CompanyCode 3
ControllingArea ControllingArea 3
CostCenter CostCenter 2
CostingSheet CostingSheet 2
CreatedByUser CreatedByUser 2
CreationDateTime CreationDateTime 2
FactoryCalendar FactoryCalendar 2
ForecastedEndDate ForecastedEndDate 1
ForecastedStartDate ForecastedStartDate 1
FunctionalArea FunctionalArea 3
FunctionalLocation FunctionalLocation 1
InvestmentProfile InvestmentProfile 2
IsMainMilestone IsMainMilestone 1
IsProjectMilestone IsProjectMilestone 1
LastChangeDateTime LastChangeDateTime 1
LastChangedByUser LastChangedByUser 2
Location Location 1
MilestoneApprovalStatus MilestoneApprovalStatus 1
ParentObjectUUID ParentObjectUUID 1
PlannedEndDate PlannedEndDate 2
PlannedStartDate PlannedStartDate 2
Plant Plant 3
ProcessingStatus ProcessingStatus 2
ProfitCenter ProfitCenter 3
ProjectInternalID ProjectInternalID 1
ProjectUUID ProjectUUID 3
ResponsibleCostCenter ResponsibleCostCenter 3
SortingNumber SortingNumber 1
Task ProjectElement 1
TaskName TaskName 1
TaxJurisdiction TaxJurisdiction 1
WBSElementInternalID WBSElementInternalID 2
WBSElementIsBillingElement IsBillingRelevant,WBSElementIsBillingElement 2
WBSIsStatisticalWBSElement WBSIsStatisticalWBSElement 1
@VDM.lifecycle: {
  status: #DEPRECATED,
  successor: 'R_EnterpriseProjectElement'
}
@AbapCatalog.sqlViewName: 'IPPMPROJTASK'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:
{
  serviceQuality: #D,
  dataClass: #TRANSACTIONAL,
  
  sizeCategory: #L
}

@ObjectModel.representativeKey: 'TaskUUID'
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Milestone Information' 
@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API 

define view I_PPM_ProjectTask as select from I_PPM_Task as Task
  left outer join I_PPM_Tasktype        as tasktype         on Task.TaskType = tasktype.TaskType
  left outer join I_WBSElementBasicData as WBSElemBasicData on Task.WBSElementInternalID = WBSElemBasicData.WBSElementInternalID
  left outer join I_PPM_StdTaskHierarchyData   as HierarchyData on Task.TaskUUID = HierarchyData.ReferencedObjectUUID
           
  association [0..1] to I_WBSElementBasicData    as _ProjObjRoot
          on   ( _ProjObjRoot.WBSElementInternalID    = $projection.WBSElementInternalID )

  // BO composition associations

  association [1..1] to I_PPM_Project as _Root on $projection.ProjectUUID = _Root.ProjectUUID
              

{


key Task.TaskUUID                               as TaskUUID,
    Task.ExternalId                             as ExternalId, // obsolete will be removed

    Task.ExternalId                             as Task,
    Task.ProjectUUID                            as ProjectUUID,
    Task.ProjectInternalID                      as ProjectInternalID,
    
    cast ( Task.WBSElementInternalID as ps_s4_pspnr preserving type )   as WBSElementInternalID,      
    
    
    Task.TaskName                 as MilestoneName, // obsolete will be removed

    
          
    Task.TaskName                               as TaskName,
    
    Task.TaskType                               as TaskType,
    Task.TaskProcessingStatus                   as ProcessingStatus,
 
    Task.ObjectType                             as ObjectType,
    Task.SortingNumber                          as SortingNumber,  
    Task.TaskTemplateUUID                       as TaskTemplateUUID,
//2102 Enterprise project multiple so items

    Task.EntProjIsMultiSlsOrdItmsEnbld          as EntProjIsMultiSlsOrdItmsEnbld,     
// Hierarchy    

    HierarchyData.ParentObjectUUID              as ParentObjectUUID,
       
@ObjectModel.readOnly: true    
    WBSElemBasicData.WBSElement                 as WBSElement,
@ObjectModel.readOnly: true    
    WBSElemBasicData.WBSDescription             as WBSDescription,
@ObjectModel.readOnly: true
    WBSElemBasicData.CompanyCode                as CompanyCode,
@ObjectModel.readOnly: true    
    WBSElemBasicData.ControllingArea            as ControllingArea,
@ObjectModel.readOnly: true    
    WBSElemBasicData.FunctionalArea             as FunctionalArea,
@ObjectModel.readOnly: true    
    WBSElemBasicData.ProfitCenter               as ProfitCenter,
@ObjectModel.readOnly: true    
    WBSElemBasicData.ResponsibleCostCenter      as ResponsibleCostCenter,
@ObjectModel.readOnly: true    
    WBSElemBasicData.Plant                      as Plant,
@ObjectModel.readOnly: true    
    WBSElemBasicData.FactoryCalendar            as FactoryCalendar,
@ObjectModel.readOnly: true    
    WBSElemBasicData.CostingSheet               as CostingSheet,
@ObjectModel.readOnly: true    
    WBSElemBasicData.CostCenter                 as CostCenter,
@ObjectModel.readOnly: true    
    WBSElemBasicData.InvestmentProfile          as InvestmentProfile,
@ObjectModel.readOnly: true    
    WBSElemBasicData.WBSIsStatisticalWBSElement as WBSIsStatisticalWBSElement,
@ObjectModel.readOnly: true    
    WBSElemBasicData.Location,
    //Tax Jurisdiction, Functional Location fields

@ObjectModel.readOnly: true
    WBSElemBasicData.TaxJurisdiction,
@ObjectModel.readOnly: true
    WBSElemBasicData.FunctionalLocation,
// S4H 2002 Billing element indicator    

  WBSElemBasicData.WBSElementIsBillingElement  ,
// CE2208 Hierarchical Settlement Changes

  WBSElemBasicData.EntProjectSettlementElement,  
  WBSElemBasicData.EntProjIsSettlmtRuleInherited,
       //result analysis key changes

  WBSElemBasicData.ResultAnalysisInternalID,
    LatestStartDate as PlannedStartDate, 
            
    LatestFinishDate as PlannedEndDate, 

    ForecastedStartDate as ForecastedStartDate,        

    ForecastedFinishDate as ForecastedEndDate,
  
    ActualStartDate as ActualStartDate,

    ActualFinishDate as ActualEndDate,
        
    Task.MilestoneApprovalStatus                as MilestoneApprovalStatus,
    tasktype.IsEssentialMilestone               as IsMainMilestone,
    Task.IsProjectMilestone                     as IsProjectMilestone,
    Task.TaskUUID                               as ActiveTaskUUID,
    Task.CreatedByUser                          as CreatedByUser, 
    Task.CreationDateTime                       as CreationDateTime,       
    Task.LastChangedByUser                      as LastChangedByUser,
    Task.LastChangeDateTime                     as LastChangeDateTime,
    /* Associations */ 
    --@ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
    _Root,    

//    _TaskHierarchy,

    
    
    _AuthUser,
    _AuthSubst,
    _AuthRole,
    _AuthGroup,

    _ProjectRoot,
    _I_Project,
    _ProjObjRoot,
    _MilestoneApprovalStatus,
    _MilestoneApprovalStatusText,
    
    _CompanyCode,
    _ControllingArea,
    _FunctionalArea,
    _ProfitCenter,
    _Plant,
    _ResponsibleCostCenter,
    _FactoryCalendar,
    _CostCenter, 
    _ProcessingStatus,

    _CreatedByUser, 
    _LastChangedByUser
}