C_EngmntProjFcstQuery_2
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
| Category | CDS Views for Customer and Internal Project Management |
|---|---|
| Data Category | Query |
| Status | Released |
| Corresponding DataSource | 2CCEPFCSTQUERY2 |
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
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | CA-CPD-SS |
| Capabilities | Analytical Query |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjFcstCube_2 | I_EngmntProjFcstCube_2 | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_Date | sydatum | |
| P_Language | sylangu |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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