P_EngmntProjStaffingAnalysis
P_EngmntProjStaffingAnalysis is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_EngmntProjAssgmtToSessionUsr, P_EngagementProjTimeShtAnlys) and exposes 22 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjAssgmtToSessionUsr | A | from |
| P_EngagementProjTimeShtAnlys | B | inner |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEPSTAFANLYS | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | false | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| EngagementProject | P_EngagementProjTimeShtAnlys | EngagementProject | Engmnt Project ID | |
| WorkPackage | P_EngagementProjTimeShtAnlys | WorkPackage | Plan Item | |
| WorkItem | P_EngagementProjTimeShtAnlys | WorkItem | Work Item ID | |
| EngagementProjectResource | P_EngagementProjTimeShtAnlys | EngagementProjectResource | Resource ID | |
| EngagementProjectResourceType | P_EngagementProjTimeShtAnlys | EngagementProjectResourceType | ResourceTypeID | |
| PersonnelNumber | P_EngagementProjTimeShtAnlys | PersonnelNumber | Personnel No. | |
| CurrentDate | P_EngagementProjTimeShtAnlys | CurrentDate | ||
| ToFiscalYearPeriod | ||||
| FiscalYearPeriod | ||||
| FiscalYear | P_EngagementProjTimeShtAnlys | FiscalYear | G/L Fiscal Year | |
| FiscalPeriod | P_EngagementProjTimeShtAnlys | FiscalPeriod | Tax period | |
| UnitOfMeasure | P_EngagementProjTimeShtAnlys | UnitOfMeasure | Unit Protected Qty | |
| IsMyProject | I_EngmntProjAssgmtToSessionUsr | IsMyProject | ||
| ProjectManagerName | I_EngmntProjAssgmtToSessionUsr | ProjectManagerName | ||
| ProjectManagerExternalID | I_EngmntProjAssgmtToSessionUsr | ProjectManagerExternalID | ||
| ProjectManager | I_EngmntProjAssgmtToSessionUsr | ProjManagerUserID | Busn. Partner | |
| PlndEffortQty | P_EngagementProjTimeShtAnlys | PlndEffortQty | Total Quantity | |
| EngmntProjStaffedEffort | P_EngagementProjTimeShtAnlys | EngmntProjStaffedEffort | ||
| RecordedHours | P_EngagementProjTimeShtAnlys | RecordedHours | Hours | |
| UnapprovedHours | P_EngagementProjTimeShtAnlys | UnapprovedHours | ||
| ApprovedHours | P_EngagementProjTimeShtAnlys | ApprovedHours | ||
| ActlEffortQty | P_EngagementProjTimeShtAnlys | ActlEffortQty |
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_EngmntProjStaffingAnalysis.
-- 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.
CREATE VIEW P_EngmntProjStaffingAnalysis AS
SELECT
B.EngagementProject AS EngagementProject,
B.WorkPackage AS WorkPackage,
B.WorkItem AS WorkItem,
B.EngagementProjectResource AS EngagementProjectResource,
B.EngagementProjectResourceType AS EngagementProjectResourceType,
B.PersonnelNumber AS PersonnelNumber,
B.CurrentDate AS CurrentDate,
concat(left(B.CurrentDate, 4), concat('0', substring(B.CurrentDate, 5, 2))) AS ToFiscalYearPeriod,
concat(B.FiscalYear, B.FiscalPeriod) AS FiscalYearPeriod,
B.FiscalYear AS FiscalYear,
B.FiscalPeriod AS FiscalPeriod,
B.UnitOfMeasure AS UnitOfMeasure,
A.IsMyProject AS IsMyProject,
A.ProjectManagerName AS ProjectManagerName,
A.ProjectManagerExternalID AS ProjectManagerExternalID,
A.ProjManagerUserID AS ProjectManager,
B.PlndEffortQty AS PlndEffortQty,
B.EngmntProjStaffedEffort AS EngmntProjStaffedEffort,
B.RecordedHours AS RecordedHours,
B.UnapprovedHours AS UnapprovedHours,
B.ApprovedHours AS ApprovedHours,
B.ActlEffortQty AS ActlEffortQty
FROM I_EngmntProjAssgmtToSessionUsr AS A
INNER JOIN P_EngagementProjTimeShtAnlys AS B ON /* join condition not captured in parsed metadata */
;
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