C_EnterpriseProjElementPlanTP
Project Planning WBS Element
C_EnterpriseProjElementPlanTP is a Consumption CDS View that provides data about "Project Planning WBS Element" in SAP S/4HANA. It reads from 1 data source (I_PPM_ProjectTaskTP) and exposes 58 fields with key field TaskUUID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PPM_ProjectTaskTP | Task | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_EnterpriseProjectPlanTP | _Root | $projection.ProjectUUID = _Root.ProjectUUID |
| [0..*] | I_PPM_ProcessingStatusText | _ProcessingStatusText | _ProcessingStatusText.ProcessingStatus = $projection.ProcessingStatus |
| [0..1] | I_FunctionalAreaText | _FunctionalAreaText | $projection.FunctionalArea = _FunctionalAreaText.FunctionalArea and _FunctionalAreaText.Language = $session.system_language |
| [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] | I_ProfitCenterStdVH | _ProfitCenterVH | _ProfitCenterVH.ProfitCenter = $projection.ProfitCenter and _ProfitCenterVH.ControllingArea = $projection.ControllingArea and _ProfitCenterVH.ValidityEndDate > $session.system_date and _ProfitCenterVH.ValidityStartDate < $session.system_date |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CENTPREPRJPLANWP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.representativeKey | TaskUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Project Planning WBS Element | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaskUUID | TaskUUID | ||
| Task | Task | Task/Log Entry | ||
| TaskName | TaskName | |||
| ReferencedObjectUUID | TaskUUID | |||
| ResponsibleCostCenter | ResponsibleCostCenter | Responsible Cost Center | ||
| ResponsibleCostCenterName | ||||
| PlannedStartDate | PlannedStartDate | Latest Planned Start | ||
| PlannedEndDate | PlannedEndDate | Ltst Planned Finish | ||
| ActualStartDate | ActualStartDate | Actual Start | ||
| ActualEndDate | ActualEndDate | Actual Finish | ||
| ProcessingStatus | ProcessingStatus | Worklist Status | ||
| ProcessingStatusText | ||||
| ParentObjectUUID | ParentObjectUUID | UUID Parent GO | ||
| SortingNumber | SortingNumber | Field of length 16 | ||
| ProjectUUID | ProjectUUID | Project UUID | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | ||||
| ControllingArea | ControllingArea | Controlling Area | ||
| ControllingAreaName | _ControllingArea | ControllingAreaName | Long Text | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FunctionalAreaName | _FunctionalAreaText | FunctionalAreaName | Long Text | |
| FactoryCalendar | FactoryCalendar | Factory Calendar | ||
| FactoryCalendarName | ||||
| ActiveTaskUUID | ActiveTaskUUID | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementIsBillingElement | WBSElementIsBillingElement | Billing elem. | ||
| HierarchyNodeOrdinalNumber | Field of length 16 | |||
| HierarchyNodeLevel | Field of length 16 | |||
| HierarchyNodeSubTreeSize | Field of length 16 | |||
| ProjElmntHierarchyDrillState | Field of length 16 | |||
| NmbrOfProjDmndServiceRequests | ||||
| NmbrOfProjDmndMaterialRequests | ||||
| NmbrOfProjDmndWorkRequests | ||||
| NmbrOfMaintenanceOrder | ||||
| NmbrOfPurchaseOrder | ||||
| NmbrOfSalesOrder | ||||
| NmbrOfSlsOrdWthoutChrg | ||||
| _ControllingArea | _ControllingArea | |||
| _CompanyCode | _CompanyCode | |||
| _Plant | _Plant | |||
| _FunctionalArea | _FunctionalArea | |||
| _FactoryCalendar | _FactoryCalendar | |||
| _ProfitCenterVH | _ProfitCenterVH | |||
| _ResponsibleCostCenterVH | _ResponsibleCostCenterVH | |||
| _AuthUser | _AuthUser | |||
| _AuthSubst | _AuthSubst | |||
| _AuthRole | _AuthRole | |||
| _AuthGroup | _AuthGroup | |||
| _Root | _Root | |||
| _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_EnterpriseProjElementPlanTP.
-- 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: CENTPREPRJPLANWP
CREATE VIEW C_EnterpriseProjElementPlanTP AS
SELECT
TaskUUID,
Task,
TaskName,
TaskUUID AS ReferencedObjectUUID,
ResponsibleCostCenter,
_ResponsibleCostCenterVH._Text[1: Language = $session.system_language].CostCenterName AS ResponsibleCostCenterName,
PlannedStartDate,
PlannedEndDate,
ActualStartDate,
ActualEndDate,
ProcessingStatus,
cast('' as /s4ppm/tv_proc_status_text ) AS ProcessingStatusText,
ParentObjectUUID,
SortingNumber,
ProjectUUID,
ProfitCenter,
_ProfitCenterVH._Text[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
ControllingArea,
_ControllingArea.ControllingAreaName AS ControllingAreaName,
CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
Plant,
_Plant.PlantName AS PlantName,
FunctionalArea,
_FunctionalAreaText.FunctionalAreaName AS FunctionalAreaName,
FactoryCalendar,
_FactoryCalendar._Text[1: Language = $session.system_language].FactoryCalendarName AS FactoryCalendarName,
ActiveTaskUUID,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
WBSElementInternalID,
WBSElementIsBillingElement,
cast(SortingNumber as abap.int4 ) AS HierarchyNodeOrdinalNumber,
cast(SortingNumber as abap.int4 ) AS HierarchyNodeLevel,
cast(SortingNumber as abap.int4 ) AS HierarchyNodeSubTreeSize,
cast(SortingNumber as abap.char(10) ) AS ProjElmntHierarchyDrillState,
cast(0 as abap.int4 ) AS NmbrOfProjDmndServiceRequests,
cast(0 as abap.int4 ) AS NmbrOfProjDmndMaterialRequests,
cast(0 as abap.int4 ) AS NmbrOfProjDmndWorkRequests,
cast(0 as abap.int4 ) AS NmbrOfMaintenanceOrder,
cast(0 as abap.int4 ) AS NmbrOfPurchaseOrder,
cast(0 as abap.int4 ) AS NmbrOfSalesOrder,
cast(0 as abap.int4 ) AS NmbrOfSlsOrdWthoutChrg
FROM I_PPM_ProjectTaskTP AS Task
LEFT OUTER JOIN C_EnterpriseProjectPlanTP AS _Root ON ProjectUUID = _Root.ProjectUUID -- association [1..1]
LEFT OUTER JOIN I_PPM_ProcessingStatusText AS _ProcessingStatusText ON _ProcessingStatusText.ProcessingStatus = ProcessingStatus -- association [0..*]
LEFT OUTER JOIN I_FunctionalAreaText AS _FunctionalAreaText ON FunctionalArea = _FunctionalAreaText.FunctionalArea AND _FunctionalAreaText.Language = $session.system_language -- 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 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA