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 get details

Former Member
0 Kudos

Hi Friends,

I need get the details of below persons.

If i provide superior ( user id OR Name OR personnel number ) i need to get all persons under that superior.

Is there any BAPI or Function module or any standard report.

Thanks,

Kumar

7 REPLIES 7

rainer_hbenthal
Active Contributor
0 Kudos

Try RH_GET_ASSIGNED_PERSONS

0 Kudos

Hi Rainer,

Can you please let me know the parameters.

WEGID (evaluation path) and other.

I tried all ways i am not getting the result.

Regards,

Kumar.

0 Kudos

hi,

use these parameters.

DATA objec_tab LIKE objec OCCURS 0 WITH HEADER LINE.

DATA i_act_plvar TYPE plvar.

DATA min_begda TYPE begdatum.

DATA max_begda TYPE begdatum VALUE '99991231'.

wegid = 'MDTSBESX'

act_plvar = i_act_plvar

endda = max_begda

begda = min_begda

TABLES

objects_tab = objec_tab.

0 Kudos

Hi Gautham,

Thanks for reply. I tried as you suggested. But no output from that function module.

Any other solution .

Former Member
0 Kudos

HI,

Please Try

RH_PM_GET_STRUCTURE

This May help You.

Regards

Sumit Agarwal

0 Kudos

Hi All,

Those function modules giving Hole Org unit. But my Requirement is not like that i need only Approver's below persons (Only one level).

Is it possible.

This is for ESS single level approver report. Like

A is CEO under A -> B,C are Managers.

Under B another 2 persons -> D,E

Under D another 2 persons -> F,G.

Under E another 2 Persons -> H,I.

I need functional module like if i provide D i need to get F,G

If i provide A i need to get B,C only not hole unit. I need only one level. Not all levels. I tried all functional modules. All are giving hole unit. I dont want hole unit. I want only one level.

Anybody please...

Thanks in advance,

Kumar.

Former Member
0 Kudos

Hi ,

check table HRP1001.

just play around the data.

regards

Prabhu