Skip to Content
avatar image
Former Member

How to find cheif of Organization Unit.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 16, 2010 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 12, 2010 at 11:23 PM

    hi,

    check function module:

    rh_get_leading_position.

    regards,darek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Feb 16, 2010 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 16, 2010 at 03:49 PM

    chk fm,

    RH_ACT_LEADING_POSITION - to get Superior (chief position))

    RH_GET_LEADING_POSITION - using in this module RH_ACT_LEADING_POSITION

    chk this thread too.

    Org unit head of an org unit of an employee

    Add comment
    10|10000 characters needed characters exceeded