Question:
we want to give a user a permission to run a hr report only to workers with a specific job. what is the best way?
can we prepare a specific varient with that specifuc job and permits the user to run this report only with this varient? how can we do it?
or the best is to define new transaction to that reports with that the field "job" on the screen that can not be changed and let the user role to this new transaction only?
Answer:
Create a custom transaction code and assign to relevant role
Answer:
Are you saying that only users with a particular job (PD object C) should be able to execute the report. This is possible, but I would review your business requirement before using a job as the basis for being able to run a report. It would make more sense to create a custom report and transaction. Use a custom object to limit access if needed and assign a role common to these users.
Answer:
well, you could also assign a report-group to the report (mind you - on SAP-standard reports this is a modification) and insert it in table TPGP. the submit-object can be restricted to report-groups, so there would be the connection.
_________________
rgds
fish
Answer:
Hello
Try implementing position based security (Relations ship B007 - Role assigned to a position). Once this is done, any person assigned to that position through HR master data will get access to that role. This is THE soultion for your kind of requirement.
Cheers!!
_________________
SAPFAN
Answer:
thank you
but i need to give permission to workers with the same job and not same position
there is hundreds of workers with the job "nurses" in diffrent position in diffrent ou.
i need to give the master nurses to report all the nurses
she is not manager of the nurses on ppome, only the proffesional manager
Answer:
In PA30 give all of the workers in a specified job an HR Adming code (eg NES). Have your Role allow access to then with auth object P_ORGXX authorisation SACHP.
Of course this will not work if you are using your HR admins codes for other things. We have centralised HR admin so do not need to use that code for HR management.
_________________
Sandi
~~~~
Apparently Father Christmas, the Easter Bunny, the Tooth Fairy and Star Wars aren't real
Tuly kiwi.