S_SuplrConfWorkFlowRecipientVH

DDL: S_SUPLRCONFWORKFLOWRECIPIENTVH SQL: SSCPPWFL Type: view

People Picker for Supplier Confirmation Approver

S_SuplrConfWorkFlowRecipientVH is a CDS View that provides data about "People Picker for Supplier Confirmation 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_SuplrConfUsersToAuthProfile _PotentialApprovers _User.UserID = _PotentialApprovers.UserID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName SSCPPWFL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
Search.searchable true view
EndUserText.label People Picker for Supplier Confirmation Approver 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
_PotentialApprovers _PotentialApprovers
@AbapCatalog.sqlViewName: 'SSCPPWFL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AbapCatalog.preserveKey:true
@Search.searchable: true
@EndUserText.label: 'People Picker for Supplier Confirmation Approver'
@ObjectModel: {
    semanticKey: 'UserID',
    representativeKey: 'UserID',
    usageType.serviceQuality: #C,
    usageType.sizeCategory: #L,
    usageType.dataClass: #MIXED
}
define view S_SuplrConfWorkFlowRecipientVH
  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_SuplrConfUsersToAuthProfile as _PotentialApprovers on _User.UserID = _PotentialApprovers.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,
      _PotentialApprovers
}
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_SUPLRCONFUSERSTOAUTHPROFILE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/