I_DevProjRoleStaffing_2

DDL: I_DEVPROJROLESTAFFING_2 Type: view_entity BASIC

PPM Role Staffing Details

I_DevProjRoleStaffing_2 (Basic)

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

DevelopmentProjectRoleStaffing · R&D Engineering

I_DevProjRoleStaffing_2 is a Basic CDS View (Dimension) that provides data about "PPM Role Staffing Details" in SAP S/4HANA. It reads from 3 data sources (dpr_bupa_link, /s4ppm/role, I_FMEANodeHierarchy) and exposes 13 fields with key fields ProjectUUID, ProjectRoleUUID, DevProjRoleStfngShadowRoleUUID. It has 2 associations 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, DevProjRoleStfngShadowRoleUUID, BusinessPartnerUUID, StaffingUUID , including other entity related information such as PlannedWorkQuantity, PlannedWorkQuantityUnit, DevProjRoleStfngBookingType .

View on SAP Help Portal →

SAP API Hub

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

Documentation

Data Sources (3)

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

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_DevelopmentProjectRole _ProjectRole $projection.ProjectRoleUUID = _ProjectRole.ProjectRoleUUID
[1..1] I_DevelopmentProject _Project $projection.ProjectUUID = _Project.ProjectUUID

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label PPM Role Staffing Details view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey DevProjRoleStfngShadowRoleUUID view
ObjectModel.sapObjectNodeType.name DevelopmentProjectRoleStaffing view
ObjectModel.modelingPattern #NONE view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID /s4ppm/role project_guid Project GUID
KEY ProjectRoleUUID Entity Guid
KEY DevProjRoleStfngShadowRoleUUID Entity Guid
BusinessPartnerUUID dpr_bupa_link bupa_guid Business Partner 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
_ProjectRole _ProjectRole
_Project _Project

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_2.
-- 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 I_DevProjRoleStaffing_2 AS
SELECT
  _Role.project_guid AS ProjectUUID,
  cast(_Role.guid as /s4ppm/tv_entity_guid preserving type ) AS ProjectRoleUUID,
  cast(I_FMEANodeHierarchy.FMEANodeUUID as /s4ppm/tv_entity_guid preserving type ) AS DevProjRoleStfngShadowRoleUUID,
  _BupaLink.bupa_guid AS BusinessPartnerUUID,
  _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 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_DevelopmentProjectRole AS _ProjectRole ON ProjectRoleUUID = _ProjectRole.ProjectRoleUUID  -- association [1..1]
LEFT OUTER JOIN I_DevelopmentProject AS _Project ON ProjectUUID = _Project.ProjectUUID  -- association [1..1]
;