I_PERSWRKAGRMTSRCHHELP_1
Search Help for WorkAgreements
I_PERSWRKAGRMTSRCHHELP_1 is a CDS View in S/4HANA. Search Help for WorkAgreements. It contains 4 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_EngmntProjectRolesStdVH | view | from | COMPOSITE | Value help CDS for Project Manager and Roles |
| I_EntProjWrkAgrmtDetails | view | from | COMPOSITE | Person Work Agreement Details |
| P_BPPartnerFunctionNumber | view | union | COMPOSITE |
Fields (4)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | PersonExternalID | Employee | 1 |
| KEY | PersonWorkAgreement | EmploymentInternalID | 1 |
| Person | Person | 1 | |
| PersonFullName | EmployeeFullName | 1 |
@AbapCatalog.sqlViewName: 'IPERSWKAGRMTSHP1'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Search Help for WorkAgreements'
@VDM.viewType: #COMPOSITE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@Search.searchable: true
@Consumption.ranked: true
@ObjectModel.dataCategory:#VALUE_HELP
@Metadata.ignorePropagatedAnnotations: true
define view I_PersWrkAgrmtSrchHelp_1
as select distinct from I_PersonWorkAgreement_1 as employment
inner join I_PersonWorkAgrmtOrglDetails as a on employment.PersonWorkAgreement = a.PersonWorkAgreement
and a.EndDate >= $session.system_date // all current and future org assignments
inner join I_PersonWorkAgrmtStatus as b on a.PersonWorkAgreement = b.PersonWorkAgreement
and b.StartDate <= a.EndDate
and b.EndDate >= a.StartDate //find appropriate status record
and b.EndDate >= $session.system_date
and b.WorkAgreementStatus = '1'
inner join I_WorkforcePerson as c on employment.Person = c.Person
left outer to one join I_BusinessUser as d on d.BusinessPartnerUUID = c.BusinessPartnerUUID
{
@EndUserText.label: 'Personnel Number'
@EndUserText.quickInfo: 'Personnel Number'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key employment.PersonWorkAgreement,
employment.Person,
@EndUserText.label: 'Last Name'
c.LastName,
@EndUserText.quickInfo: 'Family Name'
@EndUserText.label: 'Family Name'
c._BusinessPartner.BPLastNameSearchHelp as FamilyName,
@EndUserText.label: 'First Name'
c.FirstName,
@EndUserText.quickInfo: 'Given Name'
@EndUserText.label: 'Given Name'
c._BusinessPartner.BPFirstNameSearchHelp as GivenName,
c.PersonExternalID,
d.UserID,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.9
@Search.ranking: #LOW
@Semantics.text: true
c.PersonFullName,
a.CompanyCode,
a._CompanyCode.CompanyCodeName,
a.CostCenter,
a._CostCenter._Text[1: Language = $session.system_language ].CostCenterName,
a.Job,
@EndUserText.label: 'Job Name'
a._PersonWorkAgrmtJobText[1:Language = $session.system_language].JobName as JobName,
@EndUserText.label: 'Organizational Unit Name'
@EndUserText.quickInfo: 'Organizational Unit Name'
a._OrganizationalUnitText[1:Language = $session.system_language].OrganizationalUnitName as OrganizationalUnitName,
@UI.hidden
a.PersonWorkAgrmtAuthznGrpg,
@UI.hidden
c. AuthorizationGroup,
@UI.hidden
@Semantics.booleanIndicator: true
c.IsBusinessPurposeCompleted,
//Added only for DCL check
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataControllerSet,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController1,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController2,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController3,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController4,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController5,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController6,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController7,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController8,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController9,
@Consumption.hidden:true
@UI.hidden:true
c._BusinessPartner.DataController10
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"I_BUSINESSUSER",
"I_COMPANYCODE",
"I_COSTCENTER",
"I_COSTCENTERTEXT",
"I_ORGANIZATIONALUNITTEXT",
"I_PERSONWORKAGREEMENT_1",
"I_PERSONWORKAGRMTJOBTEXT",
"I_PERSONWORKAGRMTORGLDETAILS",
"I_PERSONWORKAGRMTSTATUS",
"I_WORKFORCEPERSON"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/