Deprecated PUBLIC_LOCAL_API
This CDS view is deprecated in S/4HANA. Use I_DevProjRoleStaffing_2 instead. View all deprecated CDS views →

I_DevProjRoleStaffing

DDL: I_DEVPROJROLESTAFFING SQL: IDEVPROJROLESTAF Type: view BASIC

PPM Role Staffing Details

I_DevProjRoleStaffing (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

R&D Engineering

I_DevProjRoleStaffing is a Basic CDS View that provides data about "PPM Role Staffing Details" in SAP S/4HANA. It reads from 3 data sources (dpr_bupa_link, I_FMEANodeHierarchy, /s4ppm/role) and exposes 13 fields with key fields ProjectRoleUUID, ProjectUUID, BusinessPartnerUUID. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Project Management
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides the prerequisites for answering the following business questions: Which business partners are staffed to a project role? What is the assigned effort of a business partner for a project role? It is not intended for use in SAP S/4HANA cloud.

Structure
Measures and Attributes Some important attributes are ProjectRoleUUID, ProjectUUID, BusinessPartnerUUID , including other entity related information such as dates or assigned effort.

View on SAP Help Portal →

SAP API Hub

StateDeprecated
Line of BusinessR&D Engineering
Application ComponentPPM-PRO-EXT-API
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (3)

SourceAliasJoin Type
dpr_bupa_link _BupaLink inner
I_FMEANodeHierarchy _Hierarchy inner
/s4ppm/role _Role from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_DevProjRoleEntityLink _EntityLink _EntityLink.BusinessPartnerUUID = _Hierarchy.FMEANodeUUID and _EntityLink.DevProjElmntObjectType = 'TTO' and _EntityLink.IsBusinessPartnerResponsible <> 'X'

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IDEVPROJROLESTAF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PPM Role Staffing Details view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_DevProjRoleStaffing_2 view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ProjectRoleUUID Entity Guid
KEY ProjectUUID /s4ppm/role project_guid Project GUID
KEY BusinessPartnerUUID dpr_bupa_link bupa_guid Business Partner GUID
DevProjElmntUUID _EntityLink DevProjElmntUUID Application Object GUID
DevProjRoleStfngShadowRoleUUID Entity Guid
StaffingUUID dpr_bupa_link guid Application Object GUID
clientNULLasDevProjRoleStfngBeginDate Role Staffing Begin Date
clientNULLasDevProjRoleStfngEndDate Project Staffing End Date
PlannedWorkQuantity dpr_bupa_link work_effort Assigned Effort
PlannedWorkQuantityUnit dpr_bupa_link work_unit Unit for Work
DevProjRoleStfngBookingType dpr_bupa_link booking_type Booking Type
clientNULLasPlannedStartDate Planned Start Date
_EntityLink _EntityLink

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 I_DevProjRoleStaffing.
-- 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: IDEVPROJROLESTAF

CREATE VIEW I_DevProjRoleStaffing AS
SELECT
  cast(_Role.guid as /s4ppm/tv_entity_guid preserving type ) AS ProjectRoleUUID,
  _Role.project_guid AS ProjectUUID,
  _BupaLink.bupa_guid AS BusinessPartnerUUID,
  _EntityLink.DevProjElmntUUID AS DevProjElmntUUID,
  cast(_Hierarchy.FMEANodeUUID as /s4ppm/tv_entity_guid preserving type ) AS DevProjRoleStfngShadowRoleUUID,
  _BupaLink.guid AS StaffingUUID,
  tstmp_to_dats( _BupaLink.beg_tmstmp , abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as DevProjRoleStfngBeginDate AS clientNULLasDevProjRoleStfngBeginDate,
  tstmp_to_dats( _BupaLink.end_tmstmp, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as DevProjRoleStfngEndDate AS clientNULLasDevProjRoleStfngEndDate,
  _BupaLink.work_effort AS PlannedWorkQuantity,
  _BupaLink.work_unit AS PlannedWorkQuantityUnit,
  _BupaLink.booking_type AS DevProjRoleStfngBookingType,
  tstmp_to_dats( _BupaLink.planstart , abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as PlannedStartDate AS clientNULLasPlannedStartDate
FROM /s4ppm/role AS _Role
INNER JOIN I_FMEANodeHierarchy AS _Hierarchy ON /* join condition not captured in parsed metadata */
INNER JOIN dpr_bupa_link AS _BupaLink ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DevProjRoleEntityLink AS _EntityLink ON _EntityLink.BusinessPartnerUUID = _Hierarchy.FMEANodeUUID AND _EntityLink.DevProjElmntObjectType = 'TTO' AND _EntityLink.IsBusinessPartnerResponsible <> 'X'  -- association [1..*]
;