P_EngmtProjSalesActualByPerd
Engagement Project Actual Sales By Period
P_EngmtProjSalesActualByPerd is a Composite CDS View that provides data about "Engagement Project Actual Sales By Period" in SAP S/4HANA. It reads from 1 data source (P_EngmntProjActCostAndRevn) and exposes 25 fields. Part of development package CPD_CDS_MONITOR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EngmntProjActCostAndRevn | P_EngmntProjActCostAndRevn | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PEPSLSACTBYPRD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| EngagementProject | P_EngmntProjActCostAndRevn | EngagementProject | Engmnt Project ID | |
| EngagementProjFinPlanUUID | P_EngmntProjActCostAndRevn | EngagementProjFinPlanUUID | Engagement Project | |
| WorkPackage | P_EngmntProjActCostAndRevn | WorkPackage | Plan Item | |
| WorkItem | P_EngmntProjActCostAndRevn | WorkItem | Work Item ID | |
| Currency | P_EngmntProjActCostAndRevn | Currency | Valuation Crcy | |
| SalesOrder | P_EngmntProjActCostAndRevn | SalesOrder | SD Document | |
| SalesOrderItem | P_EngmntProjActCostAndRevn | SalesOrderItem | Sales Order Item | |
| Confirmed | P_EngmntProjActCostAndRevn | Confirmed | Confirmed | |
| AccountingDocumentStatus | P_EngmntProjActCostAndRevn | AccountingDocumentStatus | ||
| EngagementProjectResourceType | P_EngmntProjActCostAndRevn | EngagementProjectResourceType | ResourceTypeID | |
| CompanyCodeCurrency | P_EngmntProjActCostAndRevn | CompanyCodeCurrency | Local Currency | |
| PlanVersion | ||||
| ActlCostAmtInCoCodeCrcy | ||||
| ActlCostAmtInPlanCrcy | ||||
| ActlRevnAmtInCoCodeCrcy | ||||
| ActlRevnAmtInPlanCrcy | ||||
| PersonnelNumber | P_EngmntProjActCostAndRevn | PersonnelNumber | Personnel No. | |
| FiscalYear | P_EngmntProjActCostAndRevn | FiscalYear | G/L Fiscal Year | |
| FiscalPeriod | P_EngmntProjActCostAndRevn | FiscalPeriod | Tax period | |
| FiscalYearPeriod | ||||
| BaseUnit | P_EngmntProjActCostAndRevn | Unit | UoM | |
| BilledEffort | ||||
| ActlEffortQty | ||||
| IsMyProject | P_EngmntProjActCostAndRevn | IsMyProject | ||
| EngagementProjectCategory | P_EngmntProjActCostAndRevn | EngagementProjectCategory |
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 P_EngmtProjSalesActualByPerd.
-- 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: PEPSLSACTBYPRD
CREATE VIEW P_EngmtProjSalesActualByPerd AS
SELECT
P_EngmntProjActCostAndRevn.EngagementProject AS EngagementProject,
P_EngmntProjActCostAndRevn.EngagementProjFinPlanUUID AS EngagementProjFinPlanUUID,
P_EngmntProjActCostAndRevn.WorkPackage AS WorkPackage,
P_EngmntProjActCostAndRevn.WorkItem AS WorkItem,
P_EngmntProjActCostAndRevn.Currency AS Currency,
P_EngmntProjActCostAndRevn.SalesOrder AS SalesOrder,
P_EngmntProjActCostAndRevn.SalesOrderItem AS SalesOrderItem,
P_EngmntProjActCostAndRevn.Confirmed AS Confirmed,
P_EngmntProjActCostAndRevn.AccountingDocumentStatus AS AccountingDocumentStatus,
P_EngmntProjActCostAndRevn.EngagementProjectResourceType AS EngagementProjectResourceType,
P_EngmntProjActCostAndRevn.CompanyCodeCurrency AS CompanyCodeCurrency,
cast('1' as /cpd/pfp_version_id ) AS PlanVersion,
sum(P_EngmntProjActCostAndRevn.ActlCostAmtInCoCodeCrcy) AS ActlCostAmtInCoCodeCrcy,
sum(P_EngmntProjActCostAndRevn.ActlCostAmtInPlanCrcy) AS ActlCostAmtInPlanCrcy,
sum(P_EngmntProjActCostAndRevn.ActlRevnAmtInCoCodeCrcy) AS ActlRevnAmtInCoCodeCrcy,
sum(P_EngmntProjActCostAndRevn.ActlRevnAmtInPlanCrcy) AS ActlRevnAmtInPlanCrcy,
P_EngmntProjActCostAndRevn.PersonnelNumber AS PersonnelNumber,
P_EngmntProjActCostAndRevn.FiscalYear AS FiscalYear,
P_EngmntProjActCostAndRevn.FiscalPeriod AS FiscalPeriod,
cast(concat(P_EngmntProjActCostAndRevn.FiscalYear,P_EngmntProjActCostAndRevn.FiscalPeriod) as /cpd/pfp_review_year_period) AS FiscalYearPeriod,
P_EngmntProjActCostAndRevn.Unit AS BaseUnit,
sum(P_EngmntProjActCostAndRevn.BilledEffort) AS BilledEffort,
sum(P_EngmntProjActCostAndRevn.ActlEffortQty) AS ActlEffortQty,
P_EngmntProjActCostAndRevn.IsMyProject AS IsMyProject,
P_EngmntProjActCostAndRevn.EngagementProjectCategory AS EngagementProjectCategory
FROM P_EngmntProjActCostAndRevn
;
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