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.
cancel
Showing results for 
Search instead for 
Did you mean: 

HR: Function Module Which returns data against Position

muhammad_sohail
Participant
0 Kudos

Dear Experts,

I need an HR function module which gives all the records against position.

e.g; When I pass position to function module it should return all the positions against entered position, All the employees against entered position.

I am using RH_READ_INFTY_1001 and RH_STRUC_GET; but these modules returns the data according to object type and only gives direct relationship. My requirement is to get all the data against the position.

For Example: 
If I entered position = 50000090
Then it should return the following records.
10000071           Staff Employee
10000072           Staff Employee
10000574           Staff Employee
10000554           Staff Employee
50001361           Another Position in the position 5000090
50004835           Another Position in the position 5000090 
50004861           Another Position in the position 5000090
10000195           Staff Employee
10000546           Staff Employee

Data may be up to bottom.

Means that a function module which should display the direct and in-direct relationship of the entered position.

Thanks and Regards,

Sohail

2 REPLIES 2

franois_henrotte
Active Contributor
0 Kudos

RH_STRUC_GET is ok if you pass the correct evaluation path

positions should not be linked directly to other positions, they should only be linked to organizational units

anyway you are able to create your own evaluation path (SM30 on table T778A)

Former Member
0 Kudos

HI

Look this FM:

RH_READ_OBJECT

RH_STRUC_GET

Regards

Gregory