Skip to Content
0
Dec 03, 2009 at 10:27 AM

HR: Function Module Which returns data against Position

271 Views

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