I_EnterpriseProjectElement

DDL: I_ENTERPRISEPROJECTELEMENT Type: view BASIC Package: VDM_PPM_OBJECTS_TASK

Enterprise Project Element

I_EnterpriseProjectElement (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

EnterpriseProjectElement · R&D Engineering

I_EnterpriseProjectElement is a Basic CDS View (Dimension) that provides data about "Enterprise Project Element" in SAP S/4HANA. It reads from 1 data source (/s4ppm/task) and exposes 52 fields with key field ProjectElementUUID. It has 11 associations to related views. Part of development package VDM_PPM_OBJECTS_TASK.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessR&D Engineering
Application ComponentPPM-SCL-STR
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageR&D/Engineering for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which project elements exist?</p></li> <li> <p>What are the attributes of the selected project elements (including custom fields)?</p> </li> <li> <p>To which projects are the selected project elements assigned?</p> </li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
/s4ppm/task task from

Associations (11)

CardinalityTargetAliasCondition
[1..1] I_EnterpriseProject _Project _Project.ProjectUUID = $projection.ProjectUUID
[0..1] I_EnterpriseProjectElement _ParentElement $projection.ParentObjectUUID = _ParentElement.ProjectElementUUID
[1..*] I_EntProjElmntDlvbrl _EntProjElmntDlvbrl _EntProjElmntDlvbrl.ProjectElementUUID = $projection.ProjectElementUUID
[0..1] I_PPM_Tasktype _tasktype $projection.EntProjectElementType = _tasktype.TaskType
[1..1] E_PPM_Task _ProjectElementExtension $projection.ProjectElementUUID = _ProjectElementExtension.TaskUUID
[1..1] E_PPM_EngagementProjElmnt _EngagementProjElmtExtension $projection.ProjectElementUUID = _EngagementProjElmtExtension.TaskUUID
[0..*] I_PPM_AuthznByUsrH _AuthUser _AuthUser.ReferencedObjectUUID = $projection.ProjectElementUUID and _AuthUser.UserID = $session.user and ( _AuthUser.Activity = 'Admin' or _AuthUser.Activity = 'Write' or _AuthUser.Activity = 'Read' )
[0..*] I_PPM_AuthznBySubstitH _AuthSubst _AuthSubst.ReferencedObjectUUID = $projection.ProjectElementUUID and _AuthSubst.UserID = $session.user and ( _AuthSubst.Activity = 'Admin' or _AuthSubst.Activity = 'Write' or _AuthSubst.Activity = 'Read' )
[0..*] I_PPM_AuthznByUserRoleH _AuthRole _AuthRole.ReferencedObjectUUID = $projection.ProjectElementUUID and _AuthRole.UserID = $session.user and ( _AuthRole.Activity = 'Admin' or _AuthRole.Activity = 'Write' or _AuthRole.Activity = 'Read' )
[0..*] I_PPM_AuthznByUsrGrpH _AuthGroup _AuthGroup.ReferencedObjectUUID = $projection.ProjectElementUUID and _AuthGroup.UserID = $session.user and ( _AuthGroup.Activity = 'Admin' or _AuthGroup.Activity = 'Write' or _AuthGroup.Activity = 'Read' )
[0..1] I_EnterpriseProjectForUser _EnterpriseProjectForUser _EnterpriseProjectForUser.ProjectUUID = $projection.ProjectUUID

Annotations (19)

NameValueLevelField
EndUserText.label Enterprise Project Element view
AbapCatalog.sqlViewName IENTERPROJELE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.dataMaintenance #RESTRICTED view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ProjectElementUUID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
ObjectModel.sapObjectNodeType.name EnterpriseProjectElement view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY ProjectElementUUID /s4ppm/task guid UUID 22 char.
ProjectElement Project Element ID
ProjectUUID /s4ppm/task project_guid Entity Guid
ProjectElementDescription /s4ppm/task name Description
ProcessingStatus /s4ppm/task proc_status_own Object Processing Status
PlannedStartDate /s4ppm/task latest_start_date Latest Planned Start
PlannedEndDate /s4ppm/task latest_finish_date Ltst Planned Finish
ActualStartDate /s4ppm/task actualstart_date Actual Start
ActualFinishDate /s4ppm/task actualfinish_date Actual Finish
SortingNumber /s4ppm/task sort_number Sort Number
EntProjectElementType /s4ppm/task task_type Task Type
IsProjectMilestone /s4ppm/task milestone Milestone flag
MilestoneApprovalStatus /s4ppm/task mlstn_apprvl_status Milestone Approval Status
IsMainMilestone _tasktype IsEssentialMilestone Milestone is essential for Project Planning
TaxJurisdiction prps txjcd Tax Jurisdiction
FunctionalLocation prps tplnr Functional Location
WBSElementIsBillingElement prps fakkz Indicator: Billing element
WBSElementInternalID WBS Element
ProjectInternalID Project (internal)
ParentObjectUUID Parent Entity Guid
ProjectElementOrdinalNumber Sortnumber
WBSIsStatisticalWBSElement prps xstat Statistical WBS element
CompanyCode prps pbukr Company code for WBS element
ControllingArea prps pkokr Controlling area for WBS element
CostCenter prps kostl Cost center to which costs are actually posted
CostingSheet prps kalsm Search Proced.
FactoryCalendar prps fabkl Factory calendar key
FunctionalArea prps func_area Receiving Func. Area
InvestmentProfile prps imprf Investment Measure Profile
Location prps stort Location
Plant prps werks Receiving Plant
ProfitCenter prps prctr Profit Centers
ResponsibleCostCenter prps fkstl Responsible Cost Center
ResultAnalysisInternalID prps abgsl Results analysis key
LeadingSalesOrder prps vbeln_prps Sales Document
LeadingSalesOrderItem prps posnr_prps Sales Document Item
CreatedByUser /s4ppm/task created_by Name of Person Who Created Object
CreationDateTime /s4ppm/task created_on Timestamp of Object Creation
LastChangedByUser /s4ppm/task changed_by Name of Person Who Changed Object
LastChangeDateTime /s4ppm/task changed_on Timestamp of Last Object Change
HierarchyNodeUUID hiera guid Hierarchy Guid
EntProjectSettlementElement /s4ppm/task entprojectsettlementelement Enterprise Project Settlement Element
EntProjIsSettlmtRuleInherited /s4ppm/task entprojissettlmtruleinherited Enterprise Project Settlement Rule Inherited
EntProjProfitabilitySegment /s4ppm/task entprojprofitabilitysegment Profitability Segment Number
_Project _Project
_ParentElement _ParentElement
_EntProjElmntDlvbrl _EntProjElmntDlvbrl
_AuthUser _AuthUser
_AuthSubst _AuthSubst
_AuthRole _AuthRole
_AuthGroup _AuthGroup
_EnterpriseProjectForUser _EnterpriseProjectForUser

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_EnterpriseProjectElement.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_EnterpriseProjectElement AS
SELECT
  task.guid AS ProjectElementUUID,
  cast ( task.external_id as /s4ppm/project_ele_id preserving type ) AS ProjectElement,
  task.project_guid AS ProjectUUID,
  task.name AS ProjectElementDescription,
  task.proc_status_own AS ProcessingStatus,
  task.latest_start_date AS PlannedStartDate,
  task.latest_finish_date AS PlannedEndDate,
  task.actualstart_date AS ActualStartDate,
  task.actualfinish_date AS ActualFinishDate,
  task.sort_number AS SortingNumber,
  task.task_type AS EntProjectElementType,
  task.milestone AS IsProjectMilestone,
  task.mlstn_apprvl_status AS MilestoneApprovalStatus,
  _tasktype.IsEssentialMilestone AS IsMainMilestone,
  prps.txjcd AS TaxJurisdiction,
  prps.tplnr AS FunctionalLocation,
  prps.fakkz AS WBSElementIsBillingElement,
  cast ( task.pspnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
  cast ( prps.psphi as ps_s4_proj_pspnr preserving type ) AS ProjectInternalID,
  cast ( hiera.up as /s4ppm/tv_parent_entity_guid preserving type ) AS ParentObjectUUID,
  cast (hiera.sort_number as /s4ppm/tv_sort_number preserving type ) AS ProjectElementOrdinalNumber,
  prps.xstat AS WBSIsStatisticalWBSElement,
  prps.pbukr AS CompanyCode,
  prps.pkokr AS ControllingArea,
  prps.kostl AS CostCenter,
  prps.kalsm AS CostingSheet,
  prps.fabkl AS FactoryCalendar,
  prps.func_area AS FunctionalArea,
  prps.imprf AS InvestmentProfile,
  prps.stort AS Location,
  prps.werks AS Plant,
  prps.prctr AS ProfitCenter,
  prps.fkstl AS ResponsibleCostCenter,
  prps.abgsl AS ResultAnalysisInternalID,
  prps.vbeln_prps AS LeadingSalesOrder,
  prps.posnr_prps AS LeadingSalesOrderItem,
  task.created_by AS CreatedByUser,
  task.created_on AS CreationDateTime,
  task.changed_by AS LastChangedByUser,
  task.changed_on AS LastChangeDateTime,
  hiera.guid AS HierarchyNodeUUID,
  task.entprojectsettlementelement AS EntProjectSettlementElement,
  task.entprojissettlmtruleinherited AS EntProjIsSettlmtRuleInherited,
  task.entprojprofitabilitysegment AS EntProjProfitabilitySegment
FROM /s4ppm/task AS task
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON _Project.ProjectUUID = ProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProjectElement AS _ParentElement ON ParentObjectUUID = _ParentElement.ProjectElementUUID  -- association [0..1]
LEFT OUTER JOIN I_EntProjElmntDlvbrl AS _EntProjElmntDlvbrl ON _EntProjElmntDlvbrl.ProjectElementUUID = ProjectElementUUID  -- association [1..*]
LEFT OUTER JOIN I_PPM_Tasktype AS _tasktype ON EntProjectElementType = _tasktype.TaskType  -- association [0..1]
LEFT OUTER JOIN E_PPM_Task AS _ProjectElementExtension ON ProjectElementUUID = _ProjectElementExtension.TaskUUID  -- association [1..1]
LEFT OUTER JOIN E_PPM_EngagementProjElmnt AS _EngagementProjElmtExtension ON ProjectElementUUID = _EngagementProjElmtExtension.TaskUUID  -- association [1..1]
LEFT OUTER JOIN I_PPM_AuthznByUsrH AS _AuthUser ON _AuthUser.ReferencedObjectUUID = ProjectElementUUID AND _AuthUser.UserID = $session.user AND ( _AuthUser.Activity = 'Admin' OR _AuthUser.Activity = 'Write' OR _AuthUser.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznBySubstitH AS _AuthSubst ON _AuthSubst.ReferencedObjectUUID = ProjectElementUUID AND _AuthSubst.UserID = $session.user AND ( _AuthSubst.Activity = 'Admin' OR _AuthSubst.Activity = 'Write' OR _AuthSubst.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUserRoleH AS _AuthRole ON _AuthRole.ReferencedObjectUUID = ProjectElementUUID AND _AuthRole.UserID = $session.user AND ( _AuthRole.Activity = 'Admin' OR _AuthRole.Activity = 'Write' OR _AuthRole.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUsrGrpH AS _AuthGroup ON _AuthGroup.ReferencedObjectUUID = ProjectElementUUID AND _AuthGroup.UserID = $session.user AND ( _AuthGroup.Activity = 'Admin' OR _AuthGroup.Activity = 'Write' OR _AuthGroup.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_EnterpriseProjectForUser AS _EnterpriseProjectForUser ON _EnterpriseProjectForUser.ProjectUUID = ProjectUUID  -- association [0..1]
;