S_SESWorkflowRecipientVH

DDL: S_SESWORKFLOWRECIPIENTVH SQL: SSESPPWFL Type: view

People Picker for Service Entry Sheet Approver

S_SESWorkflowRecipientVH is a CDS View that provides data about "People Picker for Service Entry Sheet 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_1 inner
I_WorkforcePerson _WorkforcePerson inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] S_SESUsersToAuthProfile _PotentialApprovers $projection.UserID = _PotentialApprovers.UserID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName SSESPPWFL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Search.searchable true view
EndUserText.label People Picker for Service Entry Sheet 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: 'SSESPPWFL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED 
@Search.searchable: true
@EndUserText.label: 'People Picker for Service Entry Sheet Approver'
@ObjectModel: {
    semanticKey: 'UserID',
    representativeKey: 'UserID',
    usageType.serviceQuality: #C,
    usageType.sizeCategory: #L, 
    usageType.dataClass: #MIXED 
} 
define view S_SESWorkflowRecipientVH
  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_1 on _PersonWorkAgreement_1.Person        =  _WorkforcePerson.Person
  inner join I_PersonWorkAgrmtOrglDetails  as _EmployOrgDet          on _EmployOrgDet.PersonWorkAgreement    =  _PersonWorkAgreement_1.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_SESUsersToAuthProfile as _PotentialApprovers on $projection.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 preserving type ) as Employee,
      _PotentialApprovers
}
where _EmployOrgDet.StartDate             <= $session.system_date
  and _EmployOrgDet.EndDate               >= $session.system_date
  and _EmployStatDet.WorkAgreementStatus = '1'
  and _User.IsBusinessPurposeCompleted   = ''