I_PPM_TeamMemberIsInRole

DDL: I_PPM_TEAMMEMBERISINROLE Type: view COMPOSITE Package: VDM_PPM_OBJECTS_TEAMMEMBER

returns X, when the user is in the given ProjectRoleCateg.

I_PPM_TeamMemberIsInRole is a Composite CDS View that provides data about "returns X, when the user is in the given ProjectRoleCateg." 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)

SourceAliasJoin Type
I_User User inner

Parameters (1)

NameTypeDefault
P_ProjectRoleCategory domvalue_l

Annotations (13)

NameValueLevelField
EndUserText.label returns X, when the user is in the given ProjectRoleCateg. view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName IPPMTEAMMBRINRL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey ProjectUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID ProjectUUID
IsInRoleCategory
@EndUserText.label: 'returns X, when the user is in the given ProjectRoleCateg.'

@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API

@AbapCatalog: { 
    sqlViewName: 'IPPMTEAMMBRINRL',
    compiler.compareFilter: true,
    preserveKey:true
}

@ObjectModel: {
   representativeKey: 'ProjectUUID',
   usageType: {
     serviceQuality:  #C,
     dataClass:       #MIXED,
     sizeCategory:    #L
   }
}

@ClientHandling.algorithm: #SESSION_VARIABLE

@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED

define view I_PPM_TeamMemberIsInRole 
            with parameters P_ProjectRoleCategory : domvalue_l
    as select distinct from I_PPM_TeamMemberRoleStaffing as Staffing
            inner join I_User   as User on Staffing.BusinessPartnerUUID = User.BusinessPartnerUUID 
{
    key ProjectUUID,    
    cast( 'X' as boolean ) as IsInRoleCategory
} where ProjectRoleCategory = $parameters.P_ProjectRoleCategory
    and User.UserID = $session.user