Question:
Hello:
I have been following the requirements in order to create "generic" Structural Authorization profiles, which in my understanding should work with the use of the function modules RH_GET_MANAGER_ASSIGNMENT or RH_GET_ORG_ASSIGNMENT, et least.
I followed the instructions given by SAP, and in our Org Unit we have:
1. A position with a relation A012 is manager of [that org unit];
2. The position has somebody assigned to it,
However, every time we run the program RHPROFL0, it brings me somebody else from the org chart that has not relation A012 to the mentioned Org Unit, not even her position has that relation, and that person even reports to the person holding the position that has the A012 relation to the Org Unit. In other words, it is not piccking up the correct employee.
I do not know were else to find help. The SAP documentation gives the theory but there is no real example, at least one specific for table T77PR, that can be followed.
If anyone has got deep into this, a help will be really appreciated.
_________________
Thanks and best regards,
Juan-Carlos Garcia
SAP Basis and OS/DB Migration
Certified
Answer:
Hello,
I use the same functionality. I would check 2 things.
1. Valid communication type for users (infotype 0105, subtype 0001)
2. Valid US entry in org chart for employee
We have found that the structual auths and the position based role assignment will not work correctly if the above is not correct.
That may not solve the problem but may be a good place to start.
Answer:
Hello:
Many thanks indeed for the help. It is working very well, but I do not know where I should make the connection you mentioned: "Valid US entry in org chart for EE". What is the transaction to get to the org chart?
On the oher hand, do you know about any tool that can be used in order to evaluate why a EE search with structural authorization loops? We test it in OOSP, byt clicking the i button and it tells us correctly the EEs that profile has access to. We assign it to an EE (T77UA), and we try to make it work, but it loops on the searches.
_________________
Thanks and best regards,
Juan-Carlos Garcia
SAP Basis and OS/DB Migration
Certified
Answer:
Dear Chuan-Carlos,
I think you have mixed more things in one big ball.
First - the function modules you have mentioned serve only to determine the start object for the structual profile. The list of objects granted by this profile is determined by the evaluation path used in this profile.
Second - the report RHPROFL0 gives the structual profile to every user found in the org.structure, if some of the related object have it in the infotype 1017.
So - user, who is related to some not chief position could be granted by the structural profile XY, in which the start object is determined using function module RH_GET_MANAGER_ASSIGNMENT - but the object list for this user will be empty, because there is no relation A012 between his position and personal number.
Is it more clear now?
Patla
Answer:
Hello everyone:
Many thanks again for the useful answers and I apologize for not getting back earlier to close this ticket. We fixed our second problem, which is that a search was looping and no EE records were being retreived.
We fixed that problem by going to the relationship: SPRO --> Personnel Managemt --> Personnel Development --> Basis functions --> Maintaing Relationships --> we picked up the relationship we were having problems with, and once we chose it, we select the button "additional relationship data". In there we put a check mark on "No recursiveness check", which basically stopped the loops from happening.
As I see it, once a search finds the record it stops continuing throuhgout the org structure via the evaluation path we were using.
_________________
Thanks and best regards,
Juan-Carlos Garcia
SAP Basis and OS/DB Migration
Certified