I_EngmntProjFcstCube_2

DDL: I_ENGMNTPROJFCSTCUBE_2 SQL: IEPFCSTCUBE2 Type: view COMPOSITE Package: CPD_CDS

Forecast Info for Engmnt Project - Cube

I_EngmntProjFcstCube_2 (Composite)

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

R&D Engineering

I_EngmntProjFcstCube_2 is a Composite CDS View (Cube) that provides data about "Forecast Info for Engmnt Project - Cube" in SAP S/4HANA. It reads from 6 data sources and exposes 63 fields. It has 21 associations to related views. Part of development package CPD_CDS.

SAP Help Documentation

CategoryCDS Views for Customer and Internal Project Management
Data CategoryCube
StatusReleased
Purpose
This CDS view provides the prerequisites for answering the following business questions: What are the planned and actual efforts in a project or a work package? What are the planned and actual cost in a project or work package? What are the services (units) planned in a work package? Note This cube retrieves information per month and year. You may use the information to calculate key figures such as estimate to complete (ETC), estimate at completion (EAC), and percentage of completion (POC).

Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restrictions must be set to read access: Service Organization Subactivity for Master Project Authorization Project These restrictions are edited in the Maintain Business Roles app. Note To view the details of projects that involve blocked customers or business partners, you must have the additional authorization of an external auditor.

Structure
Object types This view is built on the following object type: EngagementProject Main CDS parameters and filters The main CDS parameters are: P_FiscalYearPeriod , used to retrieve actual posting information up to a specified month. Measures and attributes Some important measures and attributes are: Field Description Example Value in CDS View EngagementProject This field identifies the unique ID of a project. ProjectVisibility Indicates if a project is confidential. Y (Confidential) N (Not confidential) WorkPackage This field identifies the unique ID of a work package. WorkPackageType This field indicates the type of a work package. ' ' indicates a resource-based work package U indicates a service-based work package EngagementProjectForecastMonth Indicates the calendar month of the project forecast. EngagementProjectForecastYear Indicates the calendar year of the project forecast. RevenueAsSoldAmount Indicates the revenue contract in the corresponding sales document and sales document item. EngagementProjectResourceType This field identifies the type of resource planned in a work package. 0ACT (Team role) 0EXP (Expense) 0ADL (Additional resource) EngagementProjectResource This field indicates the resource or expense planned in a work package. ResourceIsOfUnitWorkPackage This field indicates whether a resource is planned in a service-based or resource-based work package. In this field, 1 indicates that the resource is planned for a service-based work package, whereas 0 indicates that the resource is planned for a resource-based work package. FiscalYearPeriod This field indicates the year and the month up to which information is retrieved. UnitOfMeasure This field indicates the unit of measure for services and effort planned in a work package. ActualPlanDeviationCost This field indicates the deviation between planned and actual cost of effort and expenses up to a particular month. ActualPlanDeviationEffort This field indicates the deviation between planned and actual effort up to a particular month. UnitCompltnRateInPercent This field indicates the percentage of completion of services, up to a particular month. The formula to calculate this value is (ActualUnitQty / PlanUnitQuantity) * 100 .

Constraints
This cube does not provide revenue-related information to evaluate key figures such as actual margin, revenue as sold, or margin as sold.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessR&D Engineering
Application ComponentCA-CPD-SS
CapabilitiesData Provider for Analytical Queries
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not 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>What are the planned and actual efforts in a project or a work package?</p></li> <li><p>What are the planned and actual cost in a project or work package?</p></li> <li><p>What are the services (units) planned in a work package?</p></li> </ul>

Documentation

Data Sources (6)

SourceAliasJoin Type
I_EngagementProject EngagementProject from
I_EngagementProjFinancialPlan EngagementProjFinancialPlan inner
P_EngmntProjPlnActlAsSoldRevn EngmntProjWrkPckgPlanActual inner
I_EngmntProjUnitCompltnPct I_EngmntProjUnitCompltnPct left_outer
I_SalesOrderItem SalesOrderItem left_outer
I_WorkPackage WorkPackage left_outer

Parameters (1)

NameTypeDefault
P_Language sylangu

Associations (21)

CardinalityTargetAliasCondition
[0..1] I_EngagementProject _EngagementProject $projection.EngagementProject = _EngagementProject.EngagementProject
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_EngagementProjectStage _EngagementProjectStage $projection.EngagementProjectStage = _EngagementProjectStage.EngagementProjectStage
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[0..*] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_WorkPackage _WorkPackage $projection.WorkPackage = _WorkPackage.WorkPackage
[0..1] I_SalesOrder _SalesOrder $projection.SalesOrder = _SalesOrder.SalesOrder
[0..1] I_SalesOrderItem _SalesOrderItem $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem and $projection.SalesOrder = _SalesOrderItem.SalesOrder
[0..1] I_EngagementProjectResource _EngagementProjectResource $projection.EngagementProjectResource = _EngagementProjectResource.EngagementProjectResource and $projection.EngagementProjectResourceType = _EngagementProjectResource.EngagementProjectResourceType
[0..1] I_WorkPackageWorkItem _WorkItem $projection.WorkItem = _WorkItem.WorkItem and $projection.WorkPackage = _WorkItem.WorkPackage
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure
[0..1] I_UnitOfMeasure _WorkPackageUnitUoM $projection.WorkPackageUnitUoM = _WorkPackageUnitUoM.UnitOfMeasure
[0..1] I_EngagementProjectSrvcOrg _EngmntProjectDeliveryOrg $projection.EngmntProjectDeliveryOrg = _EngmntProjectDeliveryOrg.EngagementProjectServiceOrg
[0..1] I_EngagementProjectSrvcOrg _EngagementProjectSrvcOrg $projection.EngagementProjectServiceOrg = _EngagementProjectSrvcOrg.EngagementProjectServiceOrg
[0..1] I_EngmntProjResourceType _EngagementProjectResourceType $projection.EngagementProjectResourceType = _EngagementProjectResourceType.EngagementProjectResourceType
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.WBSElement = _WBSElementBasicData.WBSElementInternalID
[0..1] I_WBSElementBasicData _WBSElementBasicData_2 $projection.WBSElementInternalID = _WBSElementBasicData_2.WBSElementInternalID
[0..1] I_EngmntProjFinPlanStatus _EngmntProjFinPlanStatus $projection.EngagementProjectReviewStatus = _EngmntProjFinPlanStatus.EngagementProjectReviewStatus

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IEPFCSTCUBE2 view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Forecast Info for Engmnt Project - Cube view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view

Fields (63)

KeyFieldSource TableSource FieldDescription
EngagementProject Project
EngagementProjectName I_EngagementProject EngagementProjectName Customer Project Name
EngagementProjectServiceOrg P_EngmntProjPlnActlAsSoldRevn CustomerProjectServiceOrg Service Organization
ProjectProfileCode P_EngmntProjPlnActlAsSoldRevn ProjectProfileCode Project Profile
EngagementProjFinPlanUUID P_EngmntProjPlnActlAsSoldRevn EngagementProjFinPlanUUID Financial Plan UUID
LastChangeDateTime P_EngmntProjPlnActlAsSoldRevn LastChangeDateTime Commercial Project Last Changed On
WorkPackage Work Package
WorkPackageName I_WorkPackage WorkPackageName Plan Item Description
WorkPackageStartDate I_WorkPackage WorkPackageStartDate Start Date
WorkPackageEndDate I_WorkPackage WorkPackageEndDate End Date
WorkItem Work Item
EngagementProjectResourceType P_EngmntProjPlnActlAsSoldRevn EngagementProjectResourceType Resource Type ID
EngagementProjectResource Role / Expense
FiscalPeriod P_EngmntProjPlnActlAsSoldRevn FiscalPeriod Period
FiscalYear P_EngmntProjPlnActlAsSoldRevn FiscalYear Fiscal Year
FiscalYearPeriod P_EngmntProjPlnActlAsSoldRevn FiscalYearPeriod Review Year Period
Currency P_EngmntProjPlnActlAsSoldRevn Currency Valuation Crcy
PlndCostAmt Planned Cost
SupplyEffortQty Staffed Effort
UnitOfMeasureendasUnitOfMeasure
ActualPlanDeviationCost P_EngmntProjPlnActlAsSoldRevn ActualPlanDeviationCost Cost Deviation
ActualPlanDeviationEffort P_EngmntProjPlnActlAsSoldRevn ActualPlanDeviationEffort Effort Deviation
EngmntProjectDeliveryOrg P_EngmntProjPlnActlAsSoldRevn EngagementProjectServiceOrg Delivery Organization
SalesOrder P_EngmntProjPlnActlAsSoldRevn SalesOrder Sales Document
SalesOrderItem P_EngmntProjPlnActlAsSoldRevn SalesOrderItem Sales Document Item
SalesOrderItemText I_SalesOrderItem SalesOrderItemText Short Text for Sales Order Item
WBSElement I_SalesOrderItem WBSElement Work Breakdown Structure Element (WBS Element)
WBSElementInternalID I_SalesOrderItem WBSElementInternalID WBS Internal ID
WBSElementExternalID _WBSElementBasicData_2 WBSElementExternalID Work Breakdown Structure Element (WBS Element) Edited
EngmntProjPlanLineType P_EngmntProjPlnActlAsSoldRevn EngmntProjPlanLineType Line type
WorkPackageTypeelseendasWorkPackageType Work Package Type
ProjectVisibility P_EngmntProjPlnActlAsSoldRevn ProjectVisibility Confidential Indicator for Commercial Project
IsMyProject P_EngmntProjPlnActlAsSoldRevn IsMyProject My Projects
RevenueAsSoldAmount P_EngmntProjPlnActlAsSoldRevn TotalNetAmount Net Value of the Document Item in Document Currency
EngagementProjectType P_EngmntProjPlnActlAsSoldRevn EngagementProjectType Engagement Project Type
EngagementProjectStage P_EngmntProjPlnActlAsSoldRevn EngagementProjectStage Commercial Project: Stage
EngagementProjectCategory P_EngmntProjPlnActlAsSoldRevn EngagementProjectCategory Project Type
Customer P_EngmntProjPlnActlAsSoldRevn Customer Customer Number
ControllingArea P_EngmntProjPlnActlAsSoldRevn ControllingArea Controlling area for the project
ProfitCenter P_EngmntProjPlnActlAsSoldRevn ProfitCenter Profit Center
CostCenter Cost Center
CompanyCode P_EngmntProjPlnActlAsSoldRevn EngmntProjectHeaderCompanyCode Company code for the project
_EngagementProject _EngagementProject
_WorkPackage _WorkPackage
_WorkItem _WorkItem
_EngagementProjectResourceType _EngagementProjectResourceType
_EngagementProjectResource _EngagementProjectResource
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure
_EngagementProjectSrvcOrg _EngagementProjectSrvcOrg
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
_EngmntProjectDeliveryOrg _EngmntProjectDeliveryOrg
_WorkPackageUnitUoM _WorkPackageUnitUoM
_EngmntProjFinPlanStatus _EngmntProjFinPlanStatus
_WBSElementBasicData _WBSElementBasicData
_WBSElementBasicData_2 _WBSElementBasicData_2
_EngagementProjectStage _EngagementProjectStage
_Customer _Customer
_ControllingArea _ControllingArea
_ProfitCenter _ProfitCenter
_CostCenter _CostCenter
_CompanyCode _CompanyCode

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_EngmntProjFcstCube_2.
-- 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: IEPFCSTCUBE2
-- Parameters: P_Language : sylangu

CREATE VIEW I_EngmntProjFcstCube_2 AS
SELECT
  cast(EngmntProjWrkPckgPlanActual.EngagementProject as /cpd/project ) AS EngagementProject,
  EngagementProject.EngagementProjectName AS EngagementProjectName,
  EngmntProjWrkPckgPlanActual.CustomerProjectServiceOrg AS EngagementProjectServiceOrg,
  EngmntProjWrkPckgPlanActual.ProjectProfileCode AS ProjectProfileCode,
  EngmntProjWrkPckgPlanActual.EngagementProjFinPlanUUID AS EngagementProjFinPlanUUID,
  EngmntProjWrkPckgPlanActual.LastChangeDateTime AS LastChangeDateTime,
  cast (WorkPackage.WorkPackage as /cpd/workpackage) AS WorkPackage,
  WorkPackage.WorkPackageName AS WorkPackageName,
  WorkPackage.WorkPackageStartDate AS WorkPackageStartDate,
  WorkPackage.WorkPackageEndDate AS WorkPackageEndDate,
  cast(EngmntProjWrkPckgPlanActual.WorkItem as /cpd/workitem ) AS WorkItem,
  EngmntProjWrkPckgPlanActual.EngagementProjectResourceType AS EngagementProjectResourceType,
  cast (EngmntProjWrkPckgPlanActual.EngagementProjectResource as /cpd/resource) AS EngagementProjectResource,
  EngmntProjWrkPckgPlanActual.FiscalPeriod AS FiscalPeriod,
  EngmntProjWrkPckgPlanActual.FiscalYear AS FiscalYear,
  EngmntProjWrkPckgPlanActual.FiscalYearPeriod AS FiscalYearPeriod,
  EngmntProjWrkPckgPlanActual.Currency AS Currency,
  cast(EngmntProjWrkPckgPlanActual.PlndCostAmt as /cpd/plan_cost) AS PlndCostAmt,
  cast(EngmntProjWrkPckgPlanActual.SupplyEffortQty as /cpd/planned_effort) AS SupplyEffortQty,
  case when EngmntProjWrkPckgPlanActual.EngagementProjectResourceType != '0SRV' then EngmntProjWrkPckgPlanActual.UnitOfMeasure end as UnitOfMeasure AS UnitOfMeasureendasUnitOfMeasure,
  EngmntProjWrkPckgPlanActual.ActualPlanDeviationCost AS ActualPlanDeviationCost,
  EngmntProjWrkPckgPlanActual.ActualPlanDeviationEffort AS ActualPlanDeviationEffort,
  EngmntProjWrkPckgPlanActual.EngagementProjectServiceOrg AS EngmntProjectDeliveryOrg,
  EngmntProjWrkPckgPlanActual.SalesOrder AS SalesOrder,
  EngmntProjWrkPckgPlanActual.SalesOrderItem AS SalesOrderItem,
  SalesOrderItem.SalesOrderItemText AS SalesOrderItemText,
  SalesOrderItem.WBSElement AS WBSElement,
  SalesOrderItem.WBSElementInternalID AS WBSElementInternalID,
  _WBSElementBasicData_2.WBSElementExternalID AS WBSElementExternalID,
  EngmntProjWrkPckgPlanActual.EngmntProjPlanLineType AS EngmntProjPlanLineType,
  case when WorkPackage.WorkPackageType = 'U' then WorkPackage.WorkPackageType else '' end as WorkPackageType AS WorkPackageTypeelseendasWorkPackageType,
  EngmntProjWrkPckgPlanActual.ProjectVisibility AS ProjectVisibility,
  EngmntProjWrkPckgPlanActual.IsMyProject AS IsMyProject,
  EngmntProjWrkPckgPlanActual.TotalNetAmount AS RevenueAsSoldAmount,
  EngmntProjWrkPckgPlanActual.EngagementProjectType AS EngagementProjectType,
  EngmntProjWrkPckgPlanActual.EngagementProjectStage AS EngagementProjectStage,
  EngmntProjWrkPckgPlanActual.EngagementProjectCategory AS EngagementProjectCategory,
  EngmntProjWrkPckgPlanActual.Customer AS Customer,
  EngmntProjWrkPckgPlanActual.ControllingArea AS ControllingArea,
  EngmntProjWrkPckgPlanActual.ProfitCenter AS ProfitCenter,
  cast(EngmntProjWrkPckgPlanActual.EngagementProjectCostCenter as kostl) AS CostCenter,
  EngmntProjWrkPckgPlanActual.EngmntProjectHeaderCompanyCode AS CompanyCode
FROM I_EngagementProject AS EngagementProject
INNER JOIN I_EngagementProjFinancialPlan AS EngagementProjFinancialPlan ON /* join condition not captured in parsed metadata */
INNER JOIN P_EngmntProjPlnActlAsSoldRevn AS EngmntProjWrkPckgPlanActual ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkPackage AS WorkPackage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EngmntProjUnitCompltnPct ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesOrderItem AS SalesOrderItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EngagementProject AS _EngagementProject ON EngagementProject = _EngagementProject.EngagementProject  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectStage AS _EngagementProjectStage ON EngagementProjectStage = _EngagementProjectStage.EngagementProjectStage  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter  -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON CostCenter = _CostCenter.CostCenter AND ControllingArea = _CostCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_WorkPackage AS _WorkPackage ON WorkPackage = _WorkPackage.WorkPackage  -- association [0..1]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder  -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON SalesOrderItem = _SalesOrderItem.SalesOrderItem AND SalesOrder = _SalesOrderItem.SalesOrder  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectResource AS _EngagementProjectResource ON EngagementProjectResource = _EngagementProjectResource.EngagementProjectResource AND EngagementProjectResourceType = _EngagementProjectResource.EngagementProjectResourceType  -- association [0..1]
LEFT OUTER JOIN I_WorkPackageWorkItem AS _WorkItem ON WorkItem = _WorkItem.WorkItem AND WorkPackage = _WorkItem.WorkPackage  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _WorkPackageUnitUoM ON WorkPackageUnitUoM = _WorkPackageUnitUoM.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectSrvcOrg AS _EngmntProjectDeliveryOrg ON EngmntProjectDeliveryOrg = _EngmntProjectDeliveryOrg.EngagementProjectServiceOrg  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectSrvcOrg AS _EngagementProjectSrvcOrg ON EngagementProjectServiceOrg = _EngagementProjectSrvcOrg.EngagementProjectServiceOrg  -- association [0..1]
LEFT OUTER JOIN I_EngmntProjResourceType AS _EngagementProjectResourceType ON EngagementProjectResourceType = _EngagementProjectResourceType.EngagementProjectResourceType  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElement = _WBSElementBasicData.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData_2 ON WBSElementInternalID = _WBSElementBasicData_2.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_EngmntProjFinPlanStatus AS _EngmntProjFinPlanStatus ON EngagementProjectReviewStatus = _EngmntProjFinPlanStatus.EngagementProjectReviewStatus  -- association [0..1]
;