I_EntProjUsrIsInRole
Ent proj where the logged in user is assigned project role
I_EntProjUsrIsInRole is a Composite CDS View that provides data about "Ent proj where the logged in user is assigned project role" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 2 fields with key field ProjectUUID. Part of development package VDM_PPM_OBJECTS_TEAMMEMBER.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | User | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_ProjectRoleCategory | domvalue_l |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Ent proj where the logged in user is assigned project role | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.representativeKey | ProjectUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | TeamMbrRoleStaffing | ProjectUUID | |
| IsInRoleCategory |
@EndUserText.label: 'Ent proj where the logged in user is assigned project role'
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
representativeKey: 'ProjectUUID',
usageType: {
serviceQuality: #C,
dataClass: #MIXED,
sizeCategory: #M
}
}
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED
define view entity I_EntProjUsrIsInRole
with parameters P_ProjectRoleCategory : domvalue_l
as select distinct from I_EntProjTeamMbrRoleStaffing as TeamMbrRoleStaffing
inner join I_User as User on TeamMbrRoleStaffing.BusinessPartnerUUID = User.BusinessPartnerUUID
{
key TeamMbrRoleStaffing.ProjectUUID,
cast( 'X' as boolean ) as IsInRoleCategory
} where TeamMbrRoleStaffing.ProjectRoleCategory = $parameters.P_ProjectRoleCategory
and User.UserID = $session.user
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