P_EngmntProjStaffingAnalysis

DDL: P_ENGMNTPROJSTAFFINGANALYSIS Type: view COMPOSITE

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)

SourceAliasJoin Type
I_EngmntProjAssgmtToSessionUsr A from
P_EngagementProjTimeShtAnlys B inner

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;