09-15-2008 8:36 AM
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
09-15-2008 8:44 AM
09-15-2008 9:10 AM
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.
09-15-2008 9:44 AM
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.
09-15-2008 9:52 AM
Hi Gautham,
Thanks for reply. I tried as you suggested. But no output from that function module.
Any other solution .
09-18-2008 8:59 AM
HI,
Please Try
RH_PM_GET_STRUCTURE
This May help You.
Regards
Sumit Agarwal
09-19-2008 8:05 AM
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.
09-22-2008 8:23 AM