cancel
Showing results for 
Search instead for 
Did you mean: 

How to find Manager of the USER from org Structure

PritamKunal
Participant
0 Kudos

Hello Experts,

I have got the FM RH_STRUC_GET and SWX_GET_MANAGER to find the manager. I am unable to use this FM, Can you please let me know which FM can be used to find the manager.

If RH_STRUC_GET is being used to find the manager what will be WEGID for this?

Please help.

Accepted Solutions (0)

Answers (3)

Answers (3)

saumya_govil
Active Contributor
0 Kudos

Dear Pritam,

Check the table HRP1001. There you can find the relationship from the field RELAT and get the manager for a user.

FM RH_STRUC_GET can also be used using the correct WEGID to find the manager.

Regards,

Saumya

former_member186746
Active Contributor
0 Kudos

Hi,

I usually use transaction PPSS to determine which evaluation path I can use.

And then use this one in RH_STRUC_GET (just do a where used list for this function module to get an idea on how to populate the exporting parameters.).

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi,

In this parameter WEGID you have to pass the evaluation path.

You can pass the 'MANAGER' to get the manager of the user.

Thanks,

Viji.

PritamKunal
Participant
0 Kudos

Viji - Value table of Evaluation path is T778A. It doesn't have the value MANAGER. Is there any customizing to include the value?

bpawanchand
Active Contributor
0 Kudos

Hi,

Then Why don't you try with WEGID US_CHEF

I think You can just create a entry from the transaction as MANAGER with the below evaluations paths

* B 008 Holder * S

S A 003 Belongs to * O

O B 012 Is managed by... * S

US A 208 Is identical to * P

Regards

Pavan

Edited by: Pavan Bhamidipati on May 30, 2011 2:28 PM