C_EnterpriseProjWrkPckgDataTP

DDL: C_ENTERPRISEPROJWRKPCKGDATATP SQL: CENTPREPRJWPDA Type: view CONSUMPTION

Project Planning WBS Element Data

C_EnterpriseProjWrkPckgDataTP is a Consumption CDS View that provides data about "Project Planning WBS Element Data" in SAP S/4HANA. It reads from 1 data source (I_PPM_ProjectTaskTP) and exposes 92 fields with key field TaskUUID. It has 20 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PPM_ProjectTaskTP Task from

Associations (20)

CardinalityTargetAliasCondition
[1..1] C_EnterpriseProjWrkPckgRootTP _Root $projection.ProjectUUID = _Root.ProjectUUID
[0..*] I_CostingSheetProcedure _CostingSheetProcedureVH _CostingSheetProcedureVH.CostingSheetProcedure = $projection.CostingSheet
[0..1] I_UserContactCard _CreatedByUser _CreatedByUser.ContactCardID = $projection.CreatedByUser
[0..1] I_UserContactCard _LastChangedByUser _LastChangedByUser.ContactCardID = $projection.LastChangedByUser
[0..*] I_PPM_ProcessingStatusText _ProcessingStatusText _ProcessingStatusText.ProcessingStatus = $projection.ProcessingStatus
[0..1] C_EntProjWrkPckgToProject _QuickViewProject _QuickViewProject.ProjectUUID = $projection.ProjectUUID
[0..1] C_EntProjWrkPckgProjectStatus _QuickViewStatus _QuickViewStatus.TaskUUID = $projection.TaskUUID
[0..1] C_EntProjWrkPckgLongTextTP _LongText _LongText.TaskUUID = $projection.TaskUUID
[0..1] I_CostCenterStdVH _ResponsibleCostCenterVH _ResponsibleCostCenterVH.CostCenter = $projection.ResponsibleCostCenter and _ResponsibleCostCenterVH.ControllingArea = $projection.ControllingArea and _ResponsibleCostCenterVH.ValidityEndDate > $session.system_date and _ResponsibleCostCenterVH.ValidityStartDate < $session.system_date
[0..1] C_EntProjWrkPckgDataJVATP _JointVentureAccounting _JointVentureAccounting.TaskUUID = $projection.TaskUUID
[0..1] C_EntProjWrkPckgPublicSectorTP _PublicSector _PublicSector.TaskUUID = $projection.TaskUUID
[0..1] C_EntProjWrkPckgBlkFunctionTP _BlockFunc _BlockFunc.TaskUUID = $projection.TaskUUID
[0..1] I_CostCenterStdVH _CostCenterVH _CostCenterVH.CostCenter = $projection.CostCenter and _CostCenterVH.ControllingArea = $projection.ControllingArea and _CostCenterVH.ValidityEndDate > $session.system_date and _CostCenterVH.ValidityStartDate < $session.system_date
[0..1] I_ProfitCenterStdVH _ProfitCenterVH _ProfitCenterVH.ProfitCenter = $projection.ProfitCenter and _ProfitCenterVH.ControllingArea = $projection.ControllingArea and _ProfitCenterVH.ValidityEndDate > $session.system_date and _ProfitCenterVH.ValidityStartDate < $session.system_date
[0..1] I_InvestmentProfile _InvestmentProfVH _InvestmentProfVH.InvestmentProfile = $projection.InvestmentProfile
[0..1] C_PPM_ProjectElementLocationVH _LocationVH _LocationVH.Plant = $projection.Plant and _LocationVH.Location = $projection.Location
[0..1] I_FunctionalLocationStdVH _FunctionalLocationVH _FunctionalLocationVH.FunctionalLocation = $projection.FunctionalLocation
[0..*] C_EntProjectTaxJurisdictionVH _TaxJurisdictionVH $projection.TaxJurisdiction = _TaxJurisdictionVH.TaxJurisdiction and $projection.CompanyCode = _TaxJurisdictionVH.CompanyCode
[1..1] I_EntProjectResultAnalysisKey _RsltAnlysKey $projection.ResultAnalysisInternalID = _RsltAnlysKey.ResultAnalysisInternalID
[0..*] I_EntProjResultAnalysisKeyText _RsltAnlysKeyText $projection.ResultAnalysisInternalID = _RsltAnlysKeyText.ResultAnalysisInternalID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CENTPREPRJWPDA view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.representativeKey TaskUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Project Planning WBS Element Data view

Fields (92)

KeyFieldSource TableSource FieldDescription
EnterpriseProjectIsJVAActive
EntProjIsPubSecMgmtActive
EntProjElmntParIsBillgRlvt
Task Task Task/Log Entry
TaskName TaskName
PlannedStartDate PlannedStartDate Latest Planned Start
PlannedEndDate PlannedEndDate Ltst Planned Finish
ActualStartDate ActualStartDate Actual Start
ActualEndDate ActualEndDate Actual Finish
WBSElementInternalID WBSElementInternalID WBS Internal ID
Project
ProjectName
ProjectProfileCode
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
ResponsibleCostCenterName
ProfitCenter ProfitCenter Profit Center
ProfitCenterName
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
Location Location Text
WBSElementIsBillingElement WBSElementIsBillingElement Billing elem.
EntProjectSettlementElement EntProjectSettlementElement settlementElement
EntProjIsSettlmtRuleInherited EntProjIsSettlmtRuleInherited Sttle Rule Inherited
LeadingSalesOrder
LeadingSalesOrderItem
ResultAnalysisInternalID ResultAnalysisInternalID Results Analysis Key
ResultAnalysisDescription
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
FunctionalLocation FunctionalLocation Object ID
FunctionalLocationName
FunctionalArea FunctionalArea Sendr Fctl Area
FunctionalAreaName
FactoryCalendar FactoryCalendar Factory Calendar
FactoryCalendarName
CostingSheet CostingSheet Costing Sheet
InvestmentProfile InvestmentProfile Investment Measure Profile
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
CostCenterName
FixedAssetUsageObjLfcycName
WBSIsStatisticalWBSElement WBSIsStatisticalWBSElement Statistical
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
ProcessingStatusText
ProcessingStatus ProcessingStatus Worklist Status
IsProjectMilestone IsProjectMilestone Milestone
ActiveTaskUUID ActiveTaskUUID
EntProjectDataModelVersion
_ResponsibleCostCenterVH _ResponsibleCostCenterVH
_ProfitCenterVH _ProfitCenterVH
_ControllingArea _ControllingArea
_RsltAnlysKey _RsltAnlysKey
_RsltAnlysKeyText _RsltAnlysKeyText
_CompanyCode _CompanyCode
_Plant _Plant
_FunctionalArea _FunctionalArea
_LocationVH _LocationVH
_FunctionalLocationVH _FunctionalLocationVH
_FactoryCalendar _FactoryCalendar
_CreatedByUser _CreatedByUser
_CostCenter _CostCenter
_ProcessingStatus _ProcessingStatus
_ProcessingStatusText _ProcessingStatusText
_QuickViewStatus _QuickViewStatus
_QuickViewProject _QuickViewProject
_LastChangedByUser _LastChangedByUser
_CostCenterVH _CostCenterVH
_InvestmentProfVH _InvestmentProfVH
_TaxJurisdictionVH _TaxJurisdictionVH
_JointVentureAccounting _JointVentureAccounting
_PublicSector _PublicSector
_BlockFunc _BlockFunc
_LongText _LongText
_Root _Root
KEY TaskUUID I_PPM_ProjectTaskTP TaskUUID
ProjectUUID I_PPM_ProjectTaskTP ProjectUUID Project UUID
ProjectInternalID I_PPM_ProjectTaskTP ProjectInternalID Project Def.
_AuthUser I_PPM_ProjectTaskTP _AuthUser
_AuthSubst I_PPM_ProjectTaskTP _AuthSubst
_AuthRole I_PPM_ProjectTaskTP _AuthRole
_AuthGroup I_PPM_ProjectTaskTP _AuthGroup
CompanyCodeName _CompanyCode CompanyCodeName Company Name
ControllingAreaName _ControllingArea ControllingAreaName Long Text
CostingSheetProcedureDesc _CostingSheetProcedureVH CostingSheetProcedureDesc
CreatedByUserName _CreatedByUser FullName Name
InvestmentProfileName _InvestmentProfVH InvestmentProfileName
LastChangedByUserName _LastChangedByUser FullName Name
LocationName _LocationVH LocationName Location Name
PlantName _Plant PlantName Plant Name
TaxJurisdictionName _TaxJurisdictionVH TaxJurisdictionName Description

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_EnterpriseProjWrkPckgDataTP.
-- 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: CENTPREPRJWPDA

CREATE VIEW C_EnterpriseProjWrkPckgDataTP AS
SELECT
  cast('' as boolean ) AS EnterpriseProjectIsJVAActive,
  cast('' as boolean ) AS EntProjIsPubSecMgmtActive,
  cast('' as boolean ) AS EntProjElmntParIsBillgRlvt,
  Task,
  TaskName,
  PlannedStartDate,
  PlannedEndDate,
  ActualStartDate,
  ActualEndDate,
  WBSElementInternalID,
  cast(' ' as /s4ppm/tv_external_id ) AS Project,
  cast(' ' as /s4ppm/tv_name ) AS ProjectName,
  cast(' ' as profidproj ) AS ProjectProfileCode,
  ResponsibleCostCenter,
  _ResponsibleCostCenterVH._Text[1:Language = $session.system_language].CostCenterName AS ResponsibleCostCenterName,
  ProfitCenter,
  _ProfitCenterVH._Text[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
  CompanyCode,
  Plant,
  Location,
  WBSElementIsBillingElement,
  EntProjectSettlementElement,
  EntProjIsSettlmtRuleInherited,
  Task._ProjObjRoot.LeadingSalesOrder AS LeadingSalesOrder,
  Task._ProjObjRoot.LeadingSalesOrderItem AS LeadingSalesOrderItem,
  ResultAnalysisInternalID,
  _RsltAnlysKeyText[1:Language = $session.system_language].ResultAnalysisDescription AS ResultAnalysisDescription,
  TaxJurisdiction,
  FunctionalLocation,
  _FunctionalLocationVH._FunctionalLocationText[1: Language = $session.system_language].FunctionalLocationName AS FunctionalLocationName,
  FunctionalArea,
  _FunctionalArea._Text[1: Language = $session.system_language].FunctionalAreaName AS FunctionalAreaName,
  FactoryCalendar,
  _FactoryCalendar._Text[1: Language = $session.system_language].FactoryCalendarName AS FactoryCalendarName,
  CostingSheet,
  InvestmentProfile,
  ControllingArea,
  CostCenter,
  _CostCenterVH._Text[1:Language = $session.system_language].CostCenterName AS CostCenterName,
  cast('' as ddtext80 ) AS FixedAssetUsageObjLfcycName,
  WBSIsStatisticalWBSElement,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  cast('' as /s4ppm/tv_proc_status_text ) AS ProcessingStatusText,
  ProcessingStatus,
  IsProjectMilestone,
  ActiveTaskUUID,
  cast(' ' as abap.char(2) ) AS EntProjectDataModelVersion,
  Task.TaskUUID AS TaskUUID,
  Task.ProjectUUID AS ProjectUUID,
  Task.ProjectInternalID AS ProjectInternalID,
  Task._AuthUser AS _AuthUser,
  Task._AuthSubst AS _AuthSubst,
  Task._AuthRole AS _AuthRole,
  Task._AuthGroup AS _AuthGroup,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  _CostingSheetProcedureVH.CostingSheetProcedureDesc AS CostingSheetProcedureDesc,
  _CreatedByUser.FullName AS CreatedByUserName,
  _InvestmentProfVH.InvestmentProfileName AS InvestmentProfileName,
  _LastChangedByUser.FullName AS LastChangedByUserName,
  _LocationVH.LocationName AS LocationName,
  _Plant.PlantName AS PlantName,
  _TaxJurisdictionVH.TaxJurisdictionName AS TaxJurisdictionName
FROM I_PPM_ProjectTaskTP AS Task
LEFT OUTER JOIN C_EnterpriseProjWrkPckgRootTP AS _Root ON ProjectUUID = _Root.ProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_CostingSheetProcedure AS _CostingSheetProcedureVH ON _CostingSheetProcedureVH.CostingSheetProcedure = CostingSheet  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON _CreatedByUser.ContactCardID = CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUser ON _LastChangedByUser.ContactCardID = LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN I_PPM_ProcessingStatusText AS _ProcessingStatusText ON _ProcessingStatusText.ProcessingStatus = ProcessingStatus  -- association [0..*]
LEFT OUTER JOIN C_EntProjWrkPckgToProject AS _QuickViewProject ON _QuickViewProject.ProjectUUID = ProjectUUID  -- association [0..1]
LEFT OUTER JOIN C_EntProjWrkPckgProjectStatus AS _QuickViewStatus ON _QuickViewStatus.TaskUUID = TaskUUID  -- association [0..1]
LEFT OUTER JOIN C_EntProjWrkPckgLongTextTP AS _LongText ON _LongText.TaskUUID = TaskUUID  -- association [0..1]
LEFT OUTER JOIN I_CostCenterStdVH AS _ResponsibleCostCenterVH ON _ResponsibleCostCenterVH.CostCenter = ResponsibleCostCenter AND _ResponsibleCostCenterVH.ControllingArea = ControllingArea AND _ResponsibleCostCenterVH.ValidityEndDate > $session.system_date AND _ResponsibleCostCenterVH.ValidityStartDate < $session.system_date  -- association [0..1]
LEFT OUTER JOIN C_EntProjWrkPckgDataJVATP AS _JointVentureAccounting ON _JointVentureAccounting.TaskUUID = TaskUUID  -- association [0..1]
LEFT OUTER JOIN C_EntProjWrkPckgPublicSectorTP AS _PublicSector ON _PublicSector.TaskUUID = TaskUUID  -- association [0..1]
LEFT OUTER JOIN C_EntProjWrkPckgBlkFunctionTP AS _BlockFunc ON _BlockFunc.TaskUUID = TaskUUID  -- association [0..1]
LEFT OUTER JOIN I_CostCenterStdVH AS _CostCenterVH ON _CostCenterVH.CostCenter = CostCenter AND _CostCenterVH.ControllingArea = ControllingArea AND _CostCenterVH.ValidityEndDate > $session.system_date AND _CostCenterVH.ValidityStartDate < $session.system_date  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterStdVH AS _ProfitCenterVH ON _ProfitCenterVH.ProfitCenter = ProfitCenter AND _ProfitCenterVH.ControllingArea = ControllingArea AND _ProfitCenterVH.ValidityEndDate > $session.system_date AND _ProfitCenterVH.ValidityStartDate < $session.system_date  -- association [0..1]
LEFT OUTER JOIN I_InvestmentProfile AS _InvestmentProfVH ON _InvestmentProfVH.InvestmentProfile = InvestmentProfile  -- association [0..1]
LEFT OUTER JOIN C_PPM_ProjectElementLocationVH AS _LocationVH ON _LocationVH.Plant = Plant AND _LocationVH.Location = Location  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocationStdVH AS _FunctionalLocationVH ON _FunctionalLocationVH.FunctionalLocation = FunctionalLocation  -- association [0..1]
LEFT OUTER JOIN C_EntProjectTaxJurisdictionVH AS _TaxJurisdictionVH ON TaxJurisdiction = _TaxJurisdictionVH.TaxJurisdiction AND CompanyCode = _TaxJurisdictionVH.CompanyCode  -- association [0..*]
LEFT OUTER JOIN I_EntProjectResultAnalysisKey AS _RsltAnlysKey ON ResultAnalysisInternalID = _RsltAnlysKey.ResultAnalysisInternalID  -- association [1..1]
LEFT OUTER JOIN I_EntProjResultAnalysisKeyText AS _RsltAnlysKeyText ON ResultAnalysisInternalID = _RsltAnlysKeyText.ResultAnalysisInternalID  -- association [0..*]
;