02-12-2010 9:04 PM
Hi,
I am developing a report related to HR org management. Could anybody suggest me how to get chief of a organization unit using function module or select stmt. I have PERNR and I need to get who if the chief of that PERNR.
Thanks,
Ram
02-12-2010 11:23 PM
02-16-2010 3:34 PM
Could you please tell me how to use FM 'rh_get_leading_position'. When I call this FM in my program, I am not getting any value. Its always blank.
02-16-2010 3:41 PM
Hello
Use the FM SWX_GET_MANAGER by passing the AC_CONTAINER with the following values.
ELEMENT = 'ORG_OBJECT'.
ELEMLENGTH = '025'
TYPE = 'C'
VALUE = 'P <pernr>' " Make sure you have a space between character 'P' and <pernr> which you pass.
The return table ACTOR_TAB will have the personnel number of manager.
Regards
Ranganath
02-16-2010 3:44 PM
Hi,
- read EE's current org unit
- use i.e. FM HRCM_ORGUNIT_MANAGER_GET passing it as objid and otype = 'O' .
You will get this org unit Manager.
Note!
There are plenty of functions you can use to achieve the same. The above is just an example.
Regards
Marcin
02-16-2010 3:49 PM