I_PPM_SINGLERESPONSIBLEFORPROJ

CDS View

Returns the calculated single responsible for a project

I_PPM_SINGLERESPONSIBLEFORPROJ is a CDS View in S/4HANA. Returns the calculated single responsible for a project. It contains 2 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_PPM_Prstcm_ProjData view left_outer CONSUMPTION

Fields (2)

KeyField CDS FieldsUsed in Views
_BusinessUser _BusinessUser 1
BusinessPartnerUUID ProjectManagerUUID 1
@EndUserText.label: 'Returns the calculated single responsible for a project'
@VDM.viewType: #COMPOSITE

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

@ObjectModel: {
   representativeKey: 'ProjectUUID',
   alternativeKey: [ { id : 'ProjectSummaryTaskUUID', uniqueness: #UNIQUE, element: 'ProjectSummaryTaskUUID' } ],
   usageType: {
     serviceQuality:  #C,
     dataClass:       #TRANSACTIONAL,
     sizeCategory:    #L
   }
}

@ClientHandling.algorithm: #SESSION_VARIABLE
// this view will only show GUIDs, no data

@AccessControl.authorizationCheck: #NOT_ALLOWED
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED

@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API

define view I_PPM_SingleResponsibleForProj
  as select distinct from P_PPM_SingleResponsibleForObj as Responsible
    inner join            I_PPM_ProjectSummaryTask      as Project on Project.ProjectSummaryTaskUUID = Responsible.ReferencedObjectUUID


  association [0..1] to I_BPUsrExternalID as _BPUsrExternalID on $projection.businesspartner        = _BPUsrExternalID.BusinessPartner
                                                              and(
                                                                _BPUsrExternalID.BPIdentificationType = 'HCM001'
                                                                or // HCM001 - Employee ID

                                                                _BPUsrExternalID.BPIdentificationType = 'HCM030'
                                                                or // HCM030 - Service Agent

                                                                _BPUsrExternalID.BPIdentificationType = 'HCM031'
                                                              )    // HCM031 - Freelancer

{
  key Project.ProjectUUID,
  key Responsible.ReferencedObjectUUID          as ProjectSummaryTaskUUID,
      Responsible.BusinessPartnerUUID,

      Responsible.ProjectRoleUUID,

      _BusinessUser.BusinessPartner,
      
      _BusinessPartner,
      _BusinessUser,
      _ProjectRoleName,
      _BPUsrExternalID
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSUSERBASIC",
"I_PPM_PROJECTSUMMARYTASK",
"P_PPM_SINGLERESPONSIBLEFOROBJ"
],
"ASSOCIATED":
[
"I_BPUSREXTERNALID",
"I_BUSINESSPARTNER",
"I_BUSINESSUSERBASIC",
"I_PPM_TEXT"
],
"BASE":
[
"P_PPM_SINGLERESPONSIBLEFOROBJ"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/