cancel
Showing results for 
Search instead for 
Did you mean: 

Job Apply Validation

Former Member
0 Kudos

Hi,

We are trying to do validation that After searching for the Job opening User(Internal Candidate) must not able to apply, If Region of Job and of User are different and error message to be shown.

We come across below BADI's and most of them are for Data Sync,

HRBAS00INFTY

HRFPM_FTE_DISPATCHER

LSO_CORRESPONDENCE41

HRBAS00_CL_AUTHC

HRBAS00_GET_PROFL

HRBAS00_STRUAUTH

BUPA_ADDR_UPDATE

BUPA_BANK_UPDATE

BUPA_IDENT_UPDATE

BUPA_INDSEC_UPDATE

BUPA_CARDS_UPDATE

BUPA_ROLES_UPDATE

BUPA_RELATSHP_UPDATE

PARTNER_UPDATE

BUPA_SAVE_CONTROL

HRPADAUTH_AC_UNIT

HRPAD00AUTH_TIME

HRSYNC_P

BUPA_LOCK

BUPA_FURTHER_CHECKS

ADDR_LANGU_TO_VERS

From which we implemented HRBAS00_CL_AUTHC but implementation is not getting called. So is there any other way out ?

Regards,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

romanweise
Active Contributor
0 Kudos

Hi Alex,

instead of providing a search result which is not really useful for the internal candidate as he has to search through / test which jobs he can actually apply, why not restricting the search result to the jobs he can apply in the first place? This could be done using the HRRCF_SEARCH_HIDDEN_INFO BAdI and depending on the requisition reference data an addition to the search profile of the publication.

For application consistency make sure NOT to offer a region select option in the search itself as this would indicate a function which does not exist for the candidate.

Kind Regards

Roman

Former Member
0 Kudos

Hi Roman,

Given BADI HRRCF_SEARCH_HIDDEN_INFO  can be used to provide hidden information rather than hiding them. We also tried searching BADI when Start button is clicked in search query but unable to find one.

Regards,

Alex

romanweise
Active Contributor
0 Kudos

Hi Alex,

the HIDDEN_INFO BAdI can hide search results. The naming might be a bit confusng but what it basically does is adding additional search criteria to the search which cannot be changed by the user. I used this in one case to restrict the quicksearch of the recruiter to return only external candidates simply by adding the candidate type as additional criterion.

In your case you have to derive the valid region information from the current internal candidate executing the search and add it as search criterion to the job search. So he will only get results he is allowed to apply. A very big plus on this solution compared to any later filtering is that you do not get any trouble with the max result count. If you have a lot of publications so their number exceeds the max count of the search you might miss valid results as the process gets a lot of invalid resulds which crowd the result list but are later removed while other valid results won't be retrieved in the search. By passing the restriction as search criterion you only get valid results till max count.

In the easiest case you can map the region information directly to an existing search field like the company of the requisition. If there is no direct mapping you might need to add an additional field in the searchprofile of the requisition / posting which is then used for the BAdI.

Kind Regards

Roman  

Former Member
0 Kudos

Hi Roman,

This method ADD_HIDDEN_INFO_VALUES is not getting triggered when I click on Start search button. I request you to provide sample code if you have so it will be of really helpful.

Regards.

Alex

Former Member
0 Kudos

Bump!

Former Member
0 Kudos

Bump!

Former Member
0 Kudos

Hi Roman,

We fail to hide the jobs for which Employees region is not matching so we did an overwrite-exit to the webdynpro Apply for Job Method.

Regards,

Alex

Answers (0)