12-09-2015 11:12 AM
Hi experts,
The standard PA authorizations P_ORGIN and P_ORGINCON do not have Personnel Subarea restrictions available unfortunately. The only standard options within these objects are Personnel Area, Employee Group and Employee Subgroup. I couldn't find any standard authorization objects for personnel subarea, I want to restrict the users at personnel subarea level where should I protect it. or the only way to create custom authorization object for personnel subarea. anyone knows kindly guide me.
Thanks,
Shassha.
12-09-2015 6:21 PM
12-10-2015 5:28 AM
Hi Martin
Thank you for reply..
My question is i want to restrict personnel subarea authorization object level in the role. i couldn't find any authorization objects for personnel subarea.how/where i can get it and how i can restrict in the role??
Thank you,
Shassha.
12-10-2015 5:50 PM
Hi,
not every requirement can be addressed using authorization objects delivered by SAP. Fortunately, SAP thought about it in case of HR and delivers a BADI that allows you to implement a custom authorization check. That blog describes how to do it. The main idea is that you still execute standard checks plus you introduce a new object that will work for your use case. In your case personnel subarea. Other than implementing this BADI you then have to update SU24 for all relevant transactions.
Cheers
12-10-2015 9:29 AM
Good morning Shasha,
Maybe you can use any of these authorization objects:
This authorization object are checking the Personel Subarea (BTRTL), you need to choose which authorization object is more usefull according with your requirement.
In the other side, you can create an Z authorization object assinging the field: BTRTL.
When you have the required authorization object (standard or non standard) you need assignt an Authority-Check (to check your auth.object) in the correspondint user-exit, etc. (standard program) or directly in the code (non standard program).
Please check it and let us know with anything.
Thank you very much.
Best regards.
12-10-2015 9:53 AM
Dear Alejandro,
thank you for valuable information. i found it and am able to restrict now anything.
Thank you,
Shasha
12-10-2015 9:57 AM
A pleasure Shasha,
If any comment on this post was usefull for you, please add it as answered, etc. to know that it was solved
Thank you very much and if you have any doubt please let us know.
Best regards.