Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Depth-First sort of organisational hierarchy

Former Member
0 Kudos


we need to perform a depth-first sort of the organisational hierarchy in order to sort some output (remuneration statements).

Is there any standard functionality for getting a depth-first on organisational hierarchy?

Is there any good function modules that could help, in stead of going straight for the relelation table for all organizational units.

Thank you for your help


Former Member
0 Kudos

Hello Michael

May be you can use the FM "RH_STRUC_GET" with different evalaution paths which is suitable to you. You can check the evaluation paths in tcode OOAW, if you need one you can build one as per your req. And you can use with the FM mentioned before.