cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to show all jobs in that Org Unit.

Former Member
0 Kudos

Does any one know is there any Function Module which gives all the jobs that comes under that Org Unit. for example if org unit 10 has 2 Sub Org Units(11 and 12) and 3 jobs(20, 21 and 22) under it. and the Sub Org Unit 11 and 12 has 1 job each( 30 and 40). When you run for org unit 10 it should give all 5 jobs (20, 21, 22, 30 and 40).

Accepted Solutions (1)

Accepted Solutions (1)

former_member214498
Contributor
0 Kudos

Hi Fayyaz

Well you use a FM RH_READ_INFTY_1001 to discover the relationships between an ORG Unit and Jobs.

Alternative, you can write a simple query to extract data from HRP1001 to find the jobs under an Org Unit. Because Jobs are related to an Org Unit and this relationship is stored in Infotype 1001/HRP1001.

Reward Points, If helpful.

Regards

Waz

Answers (4)

Answers (4)

Former Member
0 Kudos

create custom FM to do the job

Former Member
0 Kudos

Hi,

You need to use RH_READ_INFTY. Then delete all other OTYPEs except 'C'.

Loop at the table & check for the relationship for each & every jon with the given Org Unit.

Regards,

Dharitree

Former Member
0 Kudos

The organization where I am working, does not have direct relation from Org to Job therefore I asked for the help. I finally write my quires to resolve my problem.

thanks for your input.

Former Member
0 Kudos

Hi,

Check Function module RH_STRUCT_GET.

Regards,

Manoj.