cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get Organisation Structure - HR

Former Member
0 Kudos

Hi All,

I have to get the numbers of all the sub-organisations unit of a particular Organisation unit, as per the organisational structure defined in HR.

Please let me know if there is any Function Module in SAP.Or any another way to do it.

Mayank

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member

Hello,

You can use the FM RH_STRUC_GET.

Use O for ACT_OTYPE

Use the nr of the organizational unit for ACT_OBJID

Use the evaluation path O-O_DOWN for ACT_WEGID

The table RESULT_TAB contains all the entries found with that evaluation path

Hope it works

/Peter

Former Member
0 Kudos

Rip the code from report RHSTRU00.

Cheers,

Syd.

Former Member
0 Kudos

use HRCM_ORGSTRC_INFO_TABLE_GET to get the structure of Org. Unit.

Regards,

Abraham

Former Member
0 Kudos

Hi Mayank,

I'm not sure what you basically need. If you want to know JOB,POSITION and PERSON within the organization unit then you can get this info by using transaction code PPOM_OLD. Give the Org unit you are looking for. From next screen you can see the reporting structure. For POSITION the object type is 'S' similarly for JOB it's 'C' for ORG UNIT its 'O' and for PERSON it's 'P'.

Pls let me know if my reply gives you the answere what

you are looking . If yes pls reward me points.

Cheers

Alok