cancel
Showing results for 
Search instead for 
Did you mean: 

Get all the Organisational Units within an organisational unit.

Former Member
0 Kudos

Hi Experts,

I have a requirement to get all organisational units within an organisational unit.

for example if there is an orgunit 5000001 and it had ten child nodes from 5000002- 5000011 and further this organisational unit have there own child nodes. I want to retrieve all the organisational units there child nodes, grand child nodes.

please let me know how to get all this details in an internal table.

Thanks in advance.

Saurabh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Either you can use the above path or the below one

SAP Easy Access --> Informaiton System --> Human Resource --> Reports --> Org Management

You can find many reports under this path.

Org Structure

Org Structure with positions

org Structure with Persons

and many more.

Please go thru them. Definitly your requirement will be fulfilled.

Have a Good Day...!

KK

Former Member
0 Kudos

Hi,

Please find the path below :

SAP Easy access

->Human Resources

->Organizational Management

->Info System

->Organizational Unit

->Organizational Structure

->S_AHR_61016493 - Organizational Structure

I hope it helps you!!!

Thanks

Cheera

Former Member
0 Kudos

Hi Cheera,

Thanks for the quick response, but i want all those organisational units in an internal table so that i can work on them.

Do you know any function module through which we can get all the organisational units?

Thanks.

Saurabh.

Former Member
0 Kudos

Hi,

Try using Function Module "RH_STRUC_GET" for all the sub org units.

Have a good day...!

KK

Former Member

Hi,

Please give the below inputs in "RH_STRUC_GET" Function Module

OTYPE - O

OBJID - 8digit org unit ID

WEGID - Evaluation Path (o-o or o-s-p, etc)

PLVAR - 01 (says Current Plan Version)

Execute and check the Result table

Have a Good Day...!

KK