2009 Nov 11 5:17 PM
Hello all,
I have a requirement wherein I need to check if there is a chief position existing for a particular Org Unit. I can do this by checking in HRP1001 with appropriate obj type etc. But if I fail to find the chief position, I need to check if the Ord Unit has a superior Org Unit and then find the chief position of that Superior Org Unit.
This means we need to hit HRP1001 till we find a chief position, which is highly performance deteriorating. Is there any other way that would improve the performance in this logic?
Useful answers will be awarded with points.
Thanks,
Anil
2009 Nov 12 2:25 AM
Hi <li>Try to use RH_GET_LEADER function module to get manager. Thanks Venkat.O
Hello all,
I have a requirement wherein I need to check if there is a chief position existing for a particular Org Unit. I can do this by checking in HRP1001 with appropriate obj type etc. But if I fail to find the chief position, I need to check if the Ord Unit has a superior Org Unit and then find the chief position of that Superior Org Unit.
This means we need to hit HRP1001 till we find a chief position, which is highly performance deteriorating. Is there any other way that would improve the performance in this logic?
Useful answers will be awarded with points.
Thanks,
Anil
2009 Nov 12 2:25 AM
Hi <li>Try to use RH_GET_LEADER function module to get manager. Thanks Venkat.O
2009 Nov 12 10:59 AM
Thanks a lot venkat.... it solved the problem, though i am not sure of the improvement in performance.