P_EngagementProjTimeShtAnlys

DDL: P_ENGAGEMENTPROJTIMESHTANLYS Type: view COMPOSITE

P_EngagementProjTimeShtAnlys is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (P_ActlHrsInLdgrForProjects, I_EngmntProjActyRsceType, P_EngmntProjPlndAndStaffedHrs, P_TimeShtHrsAnlysForProjects) and exposes 48 fields.

Data Sources (4)

SourceAliasJoin Type
P_ActlHrsInLdgrForProjects A union_all
I_EngmntProjActyRsceType B inner
P_EngmntProjPlndAndStaffedHrs P_EngmntProjPlndAndStaffedHrs from
P_TimeShtHrsAnlysForProjects P_TimeShtHrsAnlysForProjects union_all

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PEPROJTIMESHEET 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.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 (48)

KeyFieldSource TableSource FieldDescription
EngagementProject EngagementProject Engmnt Project ID
WorkPackage WorkPackage Plan Item
WorkItem WorkItem Work Item ID
EngagementProjectResource EngagementProjectResource Resource ID
EngagementProjectResourceType EngagementProjectResourceType ResourceTypeID
PersonnelNumber EmploymentInternalID Personnel No.
CurrentDate
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
BillableControl BillableControl Billable Control
UnitOfMeasure UnitOfMeasure Unit Protected Qty
PlndEffortQty PlndEffortQty Total Quantity
EngmntProjStaffedEffort EngmntProjStaffedEffort Total Quantity
RecordedHours Hours
UnapprovedHours
ApprovedHours
WorkPackage WBSElement Plan Item
WorkItem WorkItem Work Item ID
EngagementProjectResource ActivityType Resource ID
EngagementProjectResourceType ResourceTypeID
PersonnelNumber PersonWorkAgreement Personnel No.
CurrentDate
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
BillableControl AccountingIndicatorCode Billable Control
UnitOfMeasure HoursUnitOfMeasure Unit Protected Qty
PlndEffortQty 0 Total Quantity
EngmntProjStaffedEffort 0 Total Quantity
RecordedHours RecordedHours Hours
UnapprovedHours UnapprovedHours
ApprovedHours ApprovedHours
ProjectasEngagementProject
WorkPackage P_ActlHrsInLdgrForProjects WorkPackage Plan Item
WorkItem P_ActlHrsInLdgrForProjects WorkItem Work Item ID
EngagementProjectResource P_ActlHrsInLdgrForProjects EngagementProjectResource Resource ID
EngagementProjectResourceType I_EngmntProjActyRsceType EngagementProjectResourceType ResourceTypeID
PersonnelNumber P_ActlHrsInLdgrForProjects PersonnelNumber Personnel No.
CurrentDate
FiscalYear G/L Fiscal Year
FiscalPeriod Tax period
BillableControl P_ActlHrsInLdgrForProjects BillableControl Billable Control
UnitOfMeasure P_ActlHrsInLdgrForProjects UnitOfMeasure Unit Protected Qty
PlndEffortQty 0 Total Quantity
EngmntProjStaffedEffort 0 Total Quantity
RecordedHours 0 Hours
UnapprovedHours 0
ApprovedHours 0
ActlEffortQty P_ActlHrsInLdgrForProjects ActlEffortQty Value

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_EngagementProjTimeShtAnlys.
-- 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_EngagementProjTimeShtAnlys AS
SELECT
  EngagementProject,
  WorkPackage,
  WorkItem,
  EngagementProjectResource,
  EngagementProjectResourceType,
  EmploymentInternalID AS PersonnelNumber,
  $session.system_date AS CurrentDate,
  FiscalYear,
  FiscalPeriod,
  BillableControl,
  UnitOfMeasure,
  PlndEffortQty,
  EngmntProjStaffedEffort,
  cast(0 as abap.quan( 15, 3 )) AS RecordedHours,
  cast(0 as abap.quan( 15, 3 )) AS UnapprovedHours,
  cast(0 as abap.quan( 15, 3 )) AS ApprovedHours,
  0 as ActlEffortQty AS ProjectasEngagementProject,
  A.ActlEffortQty AS ActlEffortQty
FROM P_EngmntProjPlndAndStaffedHrs
INNER JOIN I_EngmntProjActyRsceType AS B ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_TimeShtHrsAnlysForProjects, P_ActlHrsInLdgrForProjects
;