C_EngmntProjFcstQuery_2

DDL: C_ENGMNTPROJFCSTQUERY_2 SQL: CEPFCSTQUERY2 Type: view CONSUMPTION

Engagement Project Forecast Query

C_EngmntProjFcstQuery_2 (Consumption)

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

R&D Engineering

C_EngmntProjFcstQuery_2 is a Consumption CDS View that provides data about "Engagement Project Forecast Query" in SAP S/4HANA. It reads from 1 data source (I_EngmntProjFcstCube_2) and exposes 59 fields.

SAP Help Documentation

CategoryCDS Views for Customer and Internal Project Management
Data CategoryQuery
StatusReleased
Corresponding DataSource2CCEPFCSTQUERY2
Purpose
This CDS query provides the prerequisites for answering the following business questions: Note Business questions related to revenue and margin are not applicable to internal projects. What is the total planned cost of a project or a work package? What is the cost of efforts planned in a project or work package? What is the total planned effort in a project or work package? What are the unit-based services planned in a project? How much of the planned effort has been staffed in a project or work package? What is the actual cost incurred in a project or work package? How many hours have been recorded against a project or work package? How much of unit-based services has been completed? What are the expenses planned in a work package? What are the expenses incurred in a work package? What is the effort estimated to complete a project or work package? What is the effort estimate at completion for a project or work package? What is the cost estimated to complete a project or work package? What is the cost estimate at completion for a project or work package? What is the percentage of completion in different work packages? What is the percentage of completion for a project? Which projects were changed relative to a particular date?

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 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 types: Engagement Project Main CDS parameters and filters The main parameters are as follows: Forecast Date This parameter specifies the date until which you want relevant information. You must enter an input in the format YYYY0MM , where MM is the numeric period corresponding to the calendar month. Service Organization can be used to filter results based on the service organization assigned to projects. Project can be used to retrieve results for a specific project. Work Package can be used to retrieve results for a specific work package. Sales Document can be used to retrieve results for a specific sales document. The main filters are: My Projects This field can be used to filter projects based on the user's assignment to any of the project roles. Enter X to retrieve only the user's projects or enter ' ' to retrieve projects that the user is authorized to access. Tip To experience optimal performance in filtering and displaying results, it is recommended that you use this parameter in combination with other parameters. Project Changed On This field can be used to search for projects that have been changed relative to a particular date. Enter the date in the format YYYYMMDDHHMMSS. Project Type This field indicates whether the project is a customer or an internal project, and can be used to narrow down the search results. Measures and attributes Note Transactions posted as periodic foreign currency valuations are excluded from the actual amounts. Some important measures are: Effort estimate to complete Cost estimate to complete Effort estimate at completion Cost estimate at completion Percentage of completion Some important attributes are: Field Description Example Values in CDS View EngagementProject A field that uniquely identifies a project. ProjectVisibility Indicates if a project is confidential. Y (Confidential) N (Not confidential) EngagementProjectServiceOrg Indicates the service organization for a project. WorkPackage A field that uniquely identifies a work package. WorkPackageType An identifier for the type of work package. U (Unit-based) Blank (Time-based) EngagementProjectForecastMonth Indicates the calendar month of the proj

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentCA-CPD-SS
CapabilitiesAnalytical Query
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_EngmntProjFcstCube_2 I_EngmntProjFcstCube_2 from

Parameters (2)

NameTypeDefault
P_Date sydatum
P_Language sylangu

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CEPFCSTQUERY2 view
ClientHandling.algorithm #SESSION_VARIABLE view
OData.publish true view
Analytics.query true view
Analytics.settings.zeroValues.handling #HIDE view
Analytics.settings.zeroValues.hideOnAxis #ROWS view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Engagement Project Forecast Query view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view

Fields (59)

KeyFieldSource TableSource FieldDescription
lookupEntityI_FiscalCalendarDate
resultElementFiscalYearPeriod
P_FiscalYearPeriod
EngagementProject Project
EngagementProjectName WorkPackageCube EngagementProjectName Customer Project Name
ProjectVisibility ProjectVisibility Confidential Indicator for Commercial Project
IsMyProject IsMyProject
EngagementProjectServiceOrg EngagementProjectServiceOrg Service Organization
EngmtProjectServiceOrgName Description of Organization Unit ID
WorkPackage WorkPackageCube WorkPackage Work Package
WorkPackageName WorkPackageCube WorkPackageName Plan Item Description
WorkPackageType WorkPackageCube WorkPackageType
WorkPackageStartDate WorkPackageCube WorkPackageStartDate Start Date
WorkPackageEndDate WorkPackageCube WorkPackageEndDate End Date
EngagementProjectResourceType WorkPackageCube EngagementProjectResourceType Resource Type ID
EngagementProjectResource WorkPackageCube EngagementProjectResource Role / Expense
EngagementProjResourceText Resource Description
WorkItem WorkPackageCube WorkItem Work Item ID
WorkItemName _WorkItem WorkItemName Work Item Name
EngmntProjectDeliveryOrg WorkPackageCube EngmntProjectDeliveryOrg Service Org.
EngagementProjDeliveryOrgName Description of Organization Unit ID
UnitOfMeasure WorkPackageCube UnitOfMeasure Base Unit of Measure
WorkPackageUnitUoM WorkPackageCube WorkPackageUnitUoM Work Package UoM
Currency WorkPackageCube Currency Valuation Crcy
FiscalPeriod WorkPackageCube FiscalPeriod Tax period
FiscalYear WorkPackageCube FiscalYear G/L Fiscal Year
FiscalYearPeriod WorkPackageCube FiscalYearPeriod Review Year Period
EngagementProjectReviewStatus WorkPackageCube EngagementProjectReviewStatus Forecast Status ID
EngagementProjReviewStatusText Status Description
SalesOrder WorkPackageCube SalesOrder Sales Document
SalesOrderItem WorkPackageCube SalesOrderItem Sales Document Item
SalesOrderItemText WorkPackageCube SalesOrderItemText Short text for sales order item
WBSElementExternalID WorkPackageCube WBSElementExternalID Work Breakdown Structure Element (WBS Element) Edited
EngagementProjectStage WorkPackageCube EngagementProjectStage Identified Stage
LastChangeDateTime WorkPackageCube LastChangeDateTime Commercial Project Last Changed On
EngagementProjectCategory WorkPackageCube EngagementProjectCategory Project Type
PlannedCostRate 1 Planned Cost Rate
AddlResourcePlannedCostRate 1 Other Resource Planned Cost Rate
CostVariance 1 Cost Variance
EffortVariance 1 Effort Variance
AddlRsceVarcOfQty 1 Other Resource Quantity Variance
CalculatedAdjustedRmngCost 1 Calculated Remaining Cost
CalculatedAdjustedRmngEffort 1 Calculated Remaining Effort
AddlRsceCalcdEstToCmpltQty 1
CalcdAdjustedRmngExpnCost 1 Calculated Remaining Expense Cost
EstimateToCompleteExpenseCost 1 Estimate To Complete Expense Cost
EstimateToCompleteEffort 1 ETC (Effort)
AddlRsceEstToCmpltQty 1 ETC (Addl Resource)
EstimateToCompleteEffortCost 1 Estimate To Complete Effort Cost
AddlRsceEstToCmpltCostAmount 1 ETC Cost (Addl Res.)
EstimateToCompleteCostAmount 1 ETC Cost
EstimateAtCompletionEffort 1 EAC (Effort)
AddlRsceEstAtCompltnQty 1 EAC (Addl Resource)
EstimateAtCompletionCost 1 EAC (Cost)
PercentageOfCompletionEffort 1 Effort PoC
UnitCompltnRateInPercent 1 PoC (Service)
DerivedEstAtCompltnCost 1 Extrapolated EAC
PercentageOfCompletionCost 1 PoC (Cost)
RevenueAsSoldAmount WorkPackageCube RevenueAsSoldAmount Net Value of the Document Item in Document Currency

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_EngmntProjFcstQuery_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: CEPFCSTQUERY2
-- Parameters: P_Date : sydatum, P_Language : sylangu

CREATE VIEW C_EngmntProjFcstQuery_2 AS
SELECT
  lookupEntity: 'I_FiscalCalendarDate' AS lookupEntityI_FiscalCalendarDate,
  resultElement: 'FiscalYearPeriod' AS resultElementFiscalYearPeriod,
  binding: [ { targetElement : 'CalendarDate' , type : #PARAMETER , value : 'P_Date' AS P_FiscalYearPeriod,
  WorkPackageCube.EngagementProjectName AS EngagementProjectName,
  ProjectVisibility,
  IsMyProject,
  EngagementProjectServiceOrg,
  _EngagementProjectSrvcOrg._Text[1:Language = $parameters.P_Language].EngmtProjectServiceOrgName AS EngmtProjectServiceOrgName,
  WorkPackageCube.WorkPackage AS WorkPackage,
  WorkPackageCube.WorkPackageName AS WorkPackageName,
  WorkPackageCube.WorkPackageType AS WorkPackageType,
  WorkPackageCube.WorkPackageStartDate AS WorkPackageStartDate,
  WorkPackageCube.WorkPackageEndDate AS WorkPackageEndDate,
  WorkPackageCube.EngagementProjectResourceType AS EngagementProjectResourceType,
  WorkPackageCube.EngagementProjectResource AS EngagementProjectResource,
  _EngagementProjectResource._Text[ 1:Language = $parameters.P_Language ].EngagementProjResourceText AS EngagementProjResourceText,
  WorkPackageCube.WorkItem AS WorkItem,
  _WorkItem.WorkItemName AS WorkItemName,
  WorkPackageCube.EngmntProjectDeliveryOrg AS EngmntProjectDeliveryOrg,
  _EngagementProjectSrvcOrg._Text[ 1:Language = $parameters.P_Language ].EngmtProjectServiceOrgName AS EngagementProjDeliveryOrgName,
  WorkPackageCube.UnitOfMeasure AS UnitOfMeasure,
  WorkPackageCube.WorkPackageUnitUoM AS WorkPackageUnitUoM,
  WorkPackageCube.Currency AS Currency,
  WorkPackageCube.FiscalPeriod AS FiscalPeriod,
  WorkPackageCube.FiscalYear AS FiscalYear,
  WorkPackageCube.FiscalYearPeriod AS FiscalYearPeriod,
  WorkPackageCube.EngagementProjectReviewStatus AS EngagementProjectReviewStatus,
  _EngmntProjFinPlanStatus._Text[ 1:Language = $parameters.P_Language ].EngagementProjReviewStatusText AS EngagementProjReviewStatusText,
  WorkPackageCube.SalesOrder AS SalesOrder,
  WorkPackageCube.SalesOrderItem AS SalesOrderItem,
  WorkPackageCube.SalesOrderItemText AS SalesOrderItemText,
  WorkPackageCube.WBSElementExternalID AS WBSElementExternalID,
  WorkPackageCube.EngagementProjectStage AS EngagementProjectStage,
  WorkPackageCube.LastChangeDateTime AS LastChangeDateTime,
  WorkPackageCube.EngagementProjectCategory AS EngagementProjectCategory,
  1 AS PlannedCostRate,
  1 AS AddlResourcePlannedCostRate,
  1 AS CostVariance,
  1 AS EffortVariance,
  1 AS AddlRsceVarcOfQty,
  1 AS CalculatedAdjustedRmngCost,
  1 AS CalculatedAdjustedRmngEffort,
  1 AS AddlRsceCalcdEstToCmpltQty,
  1 AS CalcdAdjustedRmngExpnCost,
  1 AS EstimateToCompleteExpenseCost,
  1 AS EstimateToCompleteEffort,
  1 AS AddlRsceEstToCmpltQty,
  1 AS EstimateToCompleteEffortCost,
  1 AS AddlRsceEstToCmpltCostAmount,
  1 AS EstimateToCompleteCostAmount,
  1 AS EstimateAtCompletionEffort,
  1 AS AddlRsceEstAtCompltnQty,
  1 AS EstimateAtCompletionCost,
  1 AS PercentageOfCompletionEffort,
  1 AS UnitCompltnRateInPercent,
  1 AS DerivedEstAtCompltnCost,
  1 AS PercentageOfCompletionCost,
  WorkPackageCube.RevenueAsSoldAmount AS RevenueAsSoldAmount
FROM I_EngmntProjFcstCube_2
;