C_EntProjectBriefHeaderTP

DDL: C_ENTPROJECTBRIEFHEADERTP Type: view_entity CONSUMPTION

Enterprise Project Brief Header

C_EntProjectBriefHeaderTP is a Consumption CDS View that provides data about "Enterprise Project Brief Header" in SAP S/4HANA. It reads from 1 data source (I_EnterpriseProjectTP_2) and exposes 51 fields with key field ProjectUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_EnterpriseProjectTP_2 I_EnterpriseProjectTP_2 projection

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_EnterpriseProjectBriefCost _ProjectCostLineItem _ProjectCostLineItem.ProjectInternalID = $projection.ProjectInternalID
[0..1] C_PPM_ProjectMemberContactCard _Manager _Manager.BusinessPartnerUUID = $projection.businesspartneruuid

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Enterprise Project Brief Header view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey ProjectUUID view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID ProjectUUID Project UUID
ProjectSummaryTaskUUID ProjectSummaryTaskUUID Entity GUID
ProjectInternalID ProjectInternalID Project Def.
WBSElementInternalID WBSElementInternalID WBS Internal ID
Project PROJECT Project WBS Element
ProjectDescription ProjectDescription Project Name
OverallProjectStatus
StatusTrend
OverallProjectStsCriticality
StatusTrendCriticality
OverallProjectStatusSort
StatusTrendSort
StatusDescription
StatusTrendDescription
NextRelevantMlstnDate _NextRlvtMilestone NextRelevantMlstnDate
NextRelevantMlstnName _NextRlvtMilestone NextRelevantMlstnName
NextEssentialMlstnDate _NextEsnlMilestone NextEssentialMlstnDate
NextEssentialMlstnName _NextEsnlMilestone NextEssentialMlstnName
ProjectStartDate ProjectStartDate Latest Planned Start
ProjectEndDate ProjectEndDate Ltst Planned Finish
ActualStartDate ActualStartDate Actual Start
ActualEndDate ActualEndDate Actual Finish
ProcessingStatus ProcessingStatus Worklist Status
PriorityCode PriorityCode Priority
EnterpriseProjectType EnterpriseProjectType Proj.type
EntProjectObjectWorkflowStatus _EntProjWorkflowOverview EntProjectObjectWorkflowStatus Workflow Status
EntProjObjWorkflowStatusText _EntProjWorkflowOverview EntProjObjWorkflowStatusText
GlobalCurrency _ControllingArea ControllingAreaCurrency
BusinessPartnerUUID
PersonFullName
virtualIsMyProjectabap_boolean
curr252
curr252
curr252
curr252
curr252
char1
ProjectCategory ProjectCategory Proj. Category
EntProjectIsConfidential EntProjectIsConfidential Confidential
EnterpriseProjectServiceOrg EnterpriseProjectServiceOrg Service Org.
ProjectProfileCode ProjectProfileCode Project Profile
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
FunctionalArea FunctionalArea Sendr Fctl Area
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
_Manager _Manager
_ProjectCostLineItem _ProjectCostLineItem
_EnterpriseProjectTypeText _EnterpriseProjectTypeText
_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 C_EntProjectBriefHeaderTP.
-- 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 C_EntProjectBriefHeaderTP AS
SELECT
  ProjectUUID,
  ProjectSummaryTaskUUID,
  ProjectInternalID,
  WBSElementInternalID,
  PROJECT.Project AS Project,
  ProjectDescription,
  _StatusAreaData[ IsOverallStatus = 'X' ].StatusAreaStatus AS OverallProjectStatus,
  _StatusAreaData[ IsOverallStatus = 'X' ].StatusTrend AS StatusTrend,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaStatus.Criticality AS OverallProjectStsCriticality,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaTrend.Criticality AS StatusTrendCriticality,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaCode.SortField AS OverallProjectStatusSort,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaTrend.SortField AS StatusTrendSort,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaStatus.StatusDescription AS StatusDescription,
  _StatusAreaData[ IsOverallStatus = 'X' ]._StatusAreaTrend.StatusTrendDescription AS StatusTrendDescription,
  _NextRlvtMilestone.NextRelevantMlstnDate AS NextRelevantMlstnDate,
  _NextRlvtMilestone.NextRelevantMlstnName AS NextRelevantMlstnName,
  _NextEsnlMilestone.NextEssentialMlstnDate AS NextEssentialMlstnDate,
  _NextEsnlMilestone.NextEssentialMlstnName AS NextEssentialMlstnName,
  ProjectStartDate,
  ProjectEndDate,
  ActualStartDate,
  ActualEndDate,
  ProcessingStatus,
  PriorityCode,
  EnterpriseProjectType,
  _EntProjWorkflowOverview.EntProjectObjectWorkflowStatus AS EntProjectObjectWorkflowStatus,
  _EntProjWorkflowOverview.EntProjObjWorkflowStatusText AS EntProjObjWorkflowStatusText,
  _ControllingArea.ControllingAreaCurrency AS GlobalCurrency,
  _EntProjRoleStaffing[1:ProjectRoleType = 'YP_RL_0001'].BusinessPartnerUUID AS BusinessPartnerUUID,
  _EntProjRoleStaffing[1:ProjectRoleType = 'YP_RL_0001']._BusinessPartner.PersonFullName AS PersonFullName,
  virtual IsMyProject : abap_boolean AS virtualIsMyProjectabap_boolean,
  virtual ActualCost : abap.curr( 25, 2 ) AS curr252,
  virtual CostDvtnUpToCurPerdCritlty : abap.char( 1 ) AS char1,
  ProjectCategory,
  EntProjectIsConfidential,
  EnterpriseProjectServiceOrg,
  ProjectProfileCode,
  CompanyCode,
  Plant,
  FunctionalArea,
  ResponsibleCostCenter,
  ProfitCenter,
  ControllingArea
FROM I_EnterpriseProjectTP_2
LEFT OUTER JOIN C_EnterpriseProjectBriefCost AS _ProjectCostLineItem ON _ProjectCostLineItem.ProjectInternalID = ProjectInternalID  -- association [0..*]
LEFT OUTER JOIN C_PPM_ProjectMemberContactCard AS _Manager ON _Manager.BusinessPartnerUUID = businesspartneruuid  -- association [0..1]
;