Skip to Content
0
Former Member
Jun 04, 2008 at 06:24 AM

Restrict user to exceute others report

45 Views

Hi,

I want to know how can we control an user belonging to a payroll area ( say R1) should be able to execute the remuneration statement of his own, but he should not be able to do for others in the same payroll area( that is R1).

For Ex

Employee A and Employee B belongs to payroll area R1.

Employee A should be able to view his remuneration statement only but he should not be able to view other employee B remuneration statement.

For this i created one role

In the role under HR

For P_ABAP object (HR: Reporting)

Degree of simplification for a : i gave 1 ( that is report should be executed Infotype authorization independent of org. assignment )

ABAP Program Name I gave the program name of remuneration statement..

For P_PERNR object (HR: Master Data - Personnel Number Check)

Authorization level : M, R

Infotype : 0000, 0001, 0002, 2003-2005

Interpretation of assigned per : I

Subtype : *

With this setting the employee is able to run his remuneration satetment as well as other employees also. But in "Interpretation of assigned per " if i change it as "E'" the employee is able to run others remuneration statement but not his own remuneration. This is just opposite to what I want. Please suggest me what are the other things i need to do in this case.

Thanks and Regards,

Visali.Malepati.