Hi,
I am facing a strange problem in SAP HR.
I have made a Z program and it fetches data from table PA0001. Now the requirement is that if a user from one country is logged on then he/she can't see data of an employee from another country.
For e.g. a french employee can not see an Indian Employee's records.
I am using authority check P_ORGINCON and it is not working I have also tried Function Module HR_CHECK_AUTHORITY_PERNR that too did not work.
An employee from one country can still read data from PA0001 of employee of another country.
Can anyone please help me on this.
regards
Abhishek Sahi