C_EnterpriseProjectPlanTP

DDL: C_ENTERPRISEPROJECTPLANTP SQL: CENTPREPRJPLAN Type: view CONSUMPTION Package: ODATA_PPM_PRO_PROJ_PLANNING

Project Planning

C_EnterpriseProjectPlanTP is a Consumption CDS View that provides data about "Project Planning" in SAP S/4HANA. It reads from 1 data source (I_PPM_ProjectTP) and exposes 36 fields with key field ProjectUUID. It has 5 associations to related views. Part of development package ODATA_PPM_PRO_PROJ_PLANNING.

Data Sources (1)

SourceAliasJoin Type
I_PPM_ProjectTP I_PPM_ProjectTP from

Associations (5)

CardinalityTargetAliasCondition
[0..1] C_PPM_ProjectMemberContactCard _Manager _Manager.BusinessPartnerUUID = $projection.ProjectManagerUUID
[0..*] C_EnterpriseProjElementPlanTP _Task _Task.ProjectUUID = $projection.ProjectUUID
[0..1] C_EnterpriseProjectVH _ProjectVH _ProjectVH.Project = $projection.Project
[0..1] C_PPM_ProjectProfileVH _ProjectProfileVH _ProjectProfileVH.ProjectProfileCode = $projection.ProjectProfileCode
[0..1] I_EntProjWorkflowOverview _EntProjWorkflowOverview _EntProjWorkflowOverview.ProjectUUID = $projection.ProjectUUID

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CENTPREPRJPLAN view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey ProjectUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Project Planning view
UI.headerInfo.typeName Project view
UI.headerInfo.typeNamePlural Projects view
UI.headerInfo.title.value Project view
UI.headerInfo.description.value ProjectName view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID ProjectUUID Project UUID
ProjectSummaryTaskUUID ProjectSummaryTaskUUID Entity GUID
ProjectInternalID ProjectInternalID Project Def.
Project Project Project ID
ProjectName ProjectName Long Text
ProcessingStatus ProcessingStatus Worklist Status
EarliestStartDate ProjectStartDate Latest Planned Start
LatestFinishDate ProjectEndDate Ltst Planned Finish
ProcessingStatusText
ProjectProfileCode ProjectProfileCode Project Profile
ProjectProfileCodeText _ProjectProfileVH ProjectProfileCodeText Description
WBSElementInternalID WBSElementInternalID WBS Internal ID
EntProjectDataModelVersion
ProjectManagerUUID ProjectManagerUUID
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
_ProjectVH _ProjectVH
PersonFullName
EntProjectObjectWorkflowStatus _EntProjWorkflowOverview EntProjectObjectWorkflowStatus Workflow Status
EntProjObjWorkflowStatusText _EntProjWorkflowOverview EntProjObjWorkflowStatusText
WBSElementObject _ProjObjRoot WBSElementObject Object number
CompanyCode CompanyCode Receiver Company Code
EnterpriseProjectType EnterpriseProjectType Proj.type
FunctionalArea FunctionalArea Sendr Fctl Area
Plant Plant Valuation Area
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
_AuthUser _AuthUser
_AuthSubst _AuthSubst
_AuthRole _AuthRole
_AuthGroup _AuthGroup
_ProjectProfileVH _ProjectProfileVH
_ProjObjRoot _ProjObjRoot
_Task _Task
_Manager _Manager
_ProcessingStatus _ProcessingStatus
_ProcessingStatusText _ProcessingStatusText

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 C_EnterpriseProjectPlanTP.
-- 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.
-- SQL view name: CENTPREPRJPLAN

CREATE VIEW C_EnterpriseProjectPlanTP AS
SELECT
  ProjectUUID,
  ProjectSummaryTaskUUID,
  ProjectInternalID,
  Project,
  ProjectName,
  ProcessingStatus,
  ProjectStartDate AS EarliestStartDate,
  ProjectEndDate AS LatestFinishDate,
  cast('' as /s4ppm/tv_proc_status_text ) AS ProcessingStatusText,
  ProjectProfileCode,
  _ProjectProfileVH.ProjectProfileCodeText AS ProjectProfileCodeText,
  WBSElementInternalID,
  cast(' ' as abap.char(2) ) AS EntProjectDataModelVersion,
  ProjectManagerUUID,
  ProfitCenter,
  ControllingArea,
  cast('' as ad_namtext ) AS PersonFullName,
  _EntProjWorkflowOverview.EntProjectObjectWorkflowStatus AS EntProjectObjectWorkflowStatus,
  _EntProjWorkflowOverview.EntProjObjWorkflowStatusText AS EntProjObjWorkflowStatusText,
  _ProjObjRoot.WBSElementObject AS WBSElementObject,
  CompanyCode,
  EnterpriseProjectType,
  FunctionalArea,
  Plant,
  ResponsibleCostCenter
FROM I_PPM_ProjectTP
LEFT OUTER JOIN C_PPM_ProjectMemberContactCard AS _Manager ON _Manager.BusinessPartnerUUID = ProjectManagerUUID  -- association [0..1]
LEFT OUTER JOIN C_EnterpriseProjElementPlanTP AS _Task ON _Task.ProjectUUID = ProjectUUID  -- association [0..*]
LEFT OUTER JOIN C_EnterpriseProjectVH AS _ProjectVH ON _ProjectVH.Project = Project  -- association [0..1]
LEFT OUTER JOIN C_PPM_ProjectProfileVH AS _ProjectProfileVH ON _ProjectProfileVH.ProjectProfileCode = ProjectProfileCode  -- association [0..1]
LEFT OUTER JOIN I_EntProjWorkflowOverview AS _EntProjWorkflowOverview ON _EntProjWorkflowOverview.ProjectUUID = ProjectUUID  -- association [0..1]
;