Hi Team,
i am creating a employee Hierarchy report in HR, it should be as it is in standard transaction PPOME, for this i have written my code. Firstly i have used many FM related to that, like RH_STRUC_GET,RH_PM_GET_STRUCTURE ,STRUCTURE_ENTRY_GET
But i am noy getting the desired result. I have to wtite a Top-To-Bottom Hierarchy Report, and there are upto 10 levels . Problem is that , while doing it with looping if i will assign a level for each level then i get my data in 10 different internal tables. Now if i will append all these data into a single main table (so that i can show it into a Tree structure ). Then i am not able to assign correct relationship with each employee correctly.
(That means the employee in third level is not able to correctly assigned to its 2nd level employee).
Did anyone have created a Top-To-Bottom Employee Hierarchy Custom report, then please tell me the logic , because i get struck at this point, and not able to solve
how to solve this scenario. Or anyone have done any enhancement in PGOM, or PPOME , please tell me the process.
I have posted the same query in ABAP forum, but not getting any answer, so i have posted it here too.
Thanks In Advance