Skip to Content
0
Apr 22, 2009 at 05:26 AM

How to find the all the org units of chief org unit

38 Views

Hi All,

i have one cheif org unit which belongs to IT. i Just need to take all the org units into one internal table upto last org unit.

ex: 500000 is the chief org unit then we check that belongs to taht

550000 and 560000

and agian 550000 is having or units

556000 and 557000 ....

now requirement is now i input on 500000 on selection--screen and i need to get

550000

556000

557000

560000

I used evaluation path as o-o and used call function 'HRCM_ORGSTRUC_INFO_TABLE_GET'.

but able to get only the just next level org units.ie. 550000 and 560000 Not others ..So is there any way where we can find all the org units that comes under the MAIN ORG UNIT 5000000.

waiting for your valuable inputs...

Regards

sas