I_WorkforcePersonSrchHelp

DDL: I_WORKFORCEPERSONSRCHHELP SQL: IWFPERSONSHLP Type: view COMPOSITE

Search Help for Workforce Person

I_WorkforcePersonSrchHelp is a Composite CDS View that provides data about "Search Help for Workforce Person" in SAP S/4HANA. It reads from 2 data sources (I_PersonWorkAgrmtStatus, I_PersonWorkAgreement_1) and exposes 19 fields with key field Person.

Data Sources (2)

SourceAliasJoin Type
I_PersonWorkAgrmtStatus b left_outer
I_PersonWorkAgreement_1 employment left_outer

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IWFPERSONSHLP view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Search Help for Workforce Person view
Search.searchable true view
Consumption.ranked true view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Person a Person
LastName Last Name
FirstName First Name
PersonExternalID a PersonExternalID Person ID
PersonFullName a PersonFullName
UserID c UserID
AuthorizationGroup a AuthorizationGroup
IsBusinessPurposeCompleted a IsBusinessPurposeCompleted
DataControllerSet
DataController1
DataController2
DataController3
DataController4
DataController5
DataController6
DataController7
DataController8
DataController9
DataController10
@AbapCatalog.sqlViewName: 'IWFPERSONSHLP'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Search Help for Workforce Person' 
@Search.searchable: true
@Consumption.ranked: true
@ObjectModel.dataCategory:#VALUE_HELP
@Metadata.ignorePropagatedAnnotations: true
define view I_WorkforcePersonSrchHelp  as select distinct from I_WorkforcePerson as a

//left outer join I_PersonWorkAgreement as employment on a.Person = employment.Person "Deprecation of I_Personworkagreement

left outer join I_PersonWorkAgreement_1 as employment on a.Person = employment.Person 

left outer join I_PersonWorkAgrmtStatus as b on employment.PersonWorkAgreement = b.PersonWorkAgreement
                                             and b.EndDate >= $session.system_date //current and future employments


left outer to one join I_BusinessUser as c on a.BusinessPartnerUUID = c.BusinessPartnerUUID
{
   @Search.defaultSearchElement: true
   @Search.ranking: #HIGH
   @Search.fuzzinessThreshold: 0.8 
   key a.Person,
   @EndUserText.label: 'Last Name'
   a._BusinessPartner.BPLastNameSearchHelp as LastName,
   @EndUserText.label: 'First Name'
   a._BusinessPartner.BPFirstNameSearchHelp as FirstName,
   @EndUserText.label: 'Person ID'   
   a.PersonExternalID ,
   @Search.defaultSearchElement: true
   @Search.ranking: #LOW   
   @Search.fuzzinessThreshold: 0.9 
   a.PersonFullName,
   c.UserID,
   @UI.hidden: true
   a.AuthorizationGroup,
   @UI.hidden: true
   @Semantics.booleanIndicator: true
   a.IsBusinessPurposeCompleted,
   
   //Added only for DCL check

   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataControllerSet,                                                                                                                                                                      
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController1,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController2,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController3,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController4,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController5,                                                                                                                                                                       
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController6,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController7,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController8,
   @Consumption.hidden:true
   @UI.hidden:true 
   a._BusinessPartner.DataController9,
   @Consumption.hidden:true
   @UI.hidden:true
   a._BusinessPartner.DataController10
 }
 
where WorkAgreementStatus = '1'




/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_BUSINESSUSER",
"I_PERSONWORKAGREEMENT_1",
"I_PERSONWORKAGRMTSTATUS",
"I_WORKFORCEPERSON"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/