S_SrcgProjWorkflowRecipientVH

DDL: S_SRCGPROJWORKFLOWRECIPIENTVH SQL: SSWFLRECIP Type: view

People Picker for Sourcing Project Approver

S_SrcgProjWorkflowRecipientVH is a CDS View that provides data about "People Picker for Sourcing Project Approver" in SAP S/4HANA. It reads from 4 data sources (I_PersonWorkAgrmtOrglDetails, I_PersonWorkAgrmtStatus, I_PersonWorkAgreement_1, I_WorkforcePerson) and exposes 5 fields with key field UserID. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
I_PersonWorkAgrmtOrglDetails _EmployOrgDet inner
I_PersonWorkAgrmtStatus _EmployStatDet inner
I_PersonWorkAgreement_1 _PersonWorkAgreement inner
I_WorkforcePerson _WorkforcePerson inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] S_SrcgProjUserToAuthPrfl _SrcgProjUserToAuthPrfl $projection.UserID = _SrcgProjUserToAuthPrfl.UserID

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName SSWFLRECIP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label People Picker for Sourcing Project Approver view
UI.headerInfo.typeName Sourcing Project User view
UI.headerInfo.typeNamePlural Sourcing Project Users view
ObjectModel.semanticKey UserID view
ObjectModel.representativeKey UserID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY UserID _User UserID
FullName _User PersonFullName
EmployeeFullName _User PersonFullName
Employee
_SrcgProjUserToAuthPrfl _SrcgProjUserToAuthPrfl
@AbapCatalog.sqlViewName: 'SSWFLRECIP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@Search.searchable: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'People Picker for Sourcing Project Approver'
@UI.headerInfo:{
  typeName:       'Sourcing Project User',
  typeNamePlural: 'Sourcing Project Users'
 }
@ObjectModel: {
   semanticKey: 'UserID',
   representativeKey: 'UserID',
   usageType.serviceQuality: #C,
   usageType.sizeCategory: #L,
   usageType.dataClass: #MIXED
}
define view S_SrcgProjWorkflowRecipientVH
  as select distinct from I_BusinessUser               as _User
    inner join            I_WorkforcePerson            as _WorkforcePerson     on _WorkforcePerson.BusinessPartnerUUID = _User.BusinessPartnerUUID
    inner join            I_PersonWorkAgreement_1      as _PersonWorkAgreement on _PersonWorkAgreement.Person = _WorkforcePerson.Person
    inner join            I_PersonWorkAgrmtOrglDetails as _EmployOrgDet        on _EmployOrgDet.PersonWorkAgreement = _PersonWorkAgreement.PersonWorkAgreement
    inner join            I_PersonWorkAgrmtStatus      as _EmployStatDet       on  _EmployOrgDet.PersonWorkAgreement =  _EmployStatDet.PersonWorkAgreement
                                                                               and _EmployStatDet.StartDate          <= _EmployOrgDet.EndDate
                                                                               and _EmployStatDet.EndDate            >= _EmployOrgDet.StartDate
  association [0..1] to S_SrcgProjUserToAuthPrfl as _SrcgProjUserToAuthPrfl on $projection.UserID = _SrcgProjUserToAuthPrfl.UserID
{
      @ObjectModel.text.element: 'FullName'
      @Search: { defaultSearchElement: true, ranking: #MEDIUM }
  key _User.UserID                                              as UserID,

      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      _User.PersonFullName                                      as FullName,

      @Semantics.text: true
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      _User.PersonFullName                                      as EmployeeFullName,
      cast( _User.BPIdentificationNumber as mmpur_employee_id ) as Employee,

      _SrcgProjUserToAuthPrfl
}
where
      _EmployOrgDet.StartDate            <= $session.system_date
  and _EmployOrgDet.EndDate              >= $session.system_date
  and _EmployStatDet.WorkAgreementStatus = '1'
  and _User.IsBusinessPurposeCompleted   = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSUSER",
"I_PERSONWORKAGREEMENT_1",
"I_PERSONWORKAGRMTORGLDETAILS",
"I_PERSONWORKAGRMTSTATUS",
"I_WORKFORCEPERSON"
],
"ASSOCIATED":
[
"S_SRCGPROJUSERTOAUTHPRFL"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/