‎2008 Feb 29 9:11 AM
Hi to all
My requirement is....
I my company there is two types of salary processing.
senior staff salary(Upper management) and below that level salary.
Now our requirement is to impose a authorization only certain users can see senior staff salary.
But reports are common .
How to impose authorization.
Please guide me....
‎2008 Feb 29 9:14 AM
Hi,
First you have to create A role in that assign that transaction of report
and according to your requirement assign that role to the some persons of the lower staff.
HTH
Regards,
Dhruv Shah
‎2008 Feb 29 10:31 AM
Hi,
First create a Role with Tcode PFCG
Then maintain the authorization objects to this role. like DISPLAY
Assign the users who can view the salary...
Now write a BAdi method, where you check the Authorization object matches the one which has been set in above step. Return a message if user not authorized.
now call this BAdimethod in your code with the authorization code. if there is a message returned, that means user is not authorized...
Reward points if found helpful
Seema
‎2008 Feb 29 10:37 AM
Hi
create a an auth object and assign two values to it.
based on the value assigned to the auth object in the user master record run the select statement.
code ur select statement accordingly.
Thanks
Achu
Reward points if the reply is helpful to u.