Hi,
Does anybody know if HR_EMPLOYEE_SEARCH does structural authorization before returning the list of employees for an organization unit.
If not what is the best way to get the list of employees for an organization unit restricting the return with appropriate structural authorization.
Thanks,
Girish
Hi Girish,
I took a look to HR_EMPLOYEE_SEARCH via debugging. Looks like it doesn't care about structural authorization - on the first glance.
If this function doesn't care about structural authorization you may check for authorization after it delivers the PERNR list. Function RH_STRU_AUTHORITY_CHECK will help you for checking structural authorization.
Cheers, Bertram
Add a comment