I_DevProjRoleStaffing
PPM Role Staffing Details
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.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| dpr_bupa_link | _BupaLink | inner |
| I_FMEANodeHierarchy | _Hierarchy | inner |
| /s4ppm/role | _Role | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_DevProjRoleEntityLink | _EntityLink | _EntityLink.BusinessPartnerUUID = _Hierarchy.FMEANodeUUID and _EntityLink.DevProjElmntObjectType = 'TTO' and _EntityLink.IsBusinessPartnerResponsible <> 'X' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDEVPROJROLESTAF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | 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 | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectRoleUUID | |||
| KEY | ProjectUUID | /s4ppm/role | project_guid | |
| KEY | BusinessPartnerUUID | dpr_bupa_link | bupa_guid | |
| DevProjElmntUUID | _EntityLink | DevProjElmntUUID | ||
| DevProjRoleStfngShadowRoleUUID | ||||
| StaffingUUID | dpr_bupa_link | guid | ||
| clientNULLasDevProjRoleStfngBeginDate | ||||
| clientNULLasDevProjRoleStfngEndDate | ||||
| PlannedWorkQuantity | dpr_bupa_link | work_effort | ||
| PlannedWorkQuantityUnit | dpr_bupa_link | work_unit | ||
| DevProjRoleStfngBookingType | dpr_bupa_link | booking_type | ||
| clientNULLasPlannedStartDate | ||||
| _EntityLink | _EntityLink |
@AbapCatalog.sqlViewName: 'IDEVPROJROLESTAF'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'PPM Role Staffing Details'
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XL
}
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
define view I_DevProjRoleStaffing
as select from /s4ppm/role as _Role
inner join I_FMEANodeHierarchy as _Hierarchy on _Hierarchy.FMEAParentNodeUUID = _Role.guid
inner join dpr_bupa_link as _BupaLink on _BupaLink.participant_guid = _Hierarchy.FMEANodeUUID
association [1..*] to I_DevProjRoleEntityLink as _EntityLink on _EntityLink.BusinessPartnerUUID = _Hierarchy.FMEANodeUUID
and _EntityLink.DevProjElmntObjectType = 'TTO'
and _EntityLink.IsBusinessPartnerResponsible <> 'X'
{
key cast(_Role.guid as /s4ppm/tv_entity_guid preserving type ) as ProjectRoleUUID,
key _Role.project_guid as ProjectUUID,
key _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,
tstmp_to_dats( _BupaLink.end_tmstmp,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as DevProjRoleStfngEndDate,
@Semantics.quantity.unitOfMeasure : 'PlannedWorkQuantityUnit'
_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,
tstmp_to_dats( _BupaLink.planfinish ,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as DevProjRoleStfngPlndFinishDate,
_EntityLink
}
where
_Hierarchy.FMEANodeHierarchyLevelValue = 2
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DEVPROJROLEENTITYLINK",
"I_FMEANODEHIERARCHY",
"/S4PPM/ROLE",
"DPR_BUPA_LINK"
],
"ASSOCIATED":
[
"I_DEVPROJROLEENTITYLINK"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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