Skip to Content
author's profile photo Former Member
Former Member

Get Chief PERNR of ORG Unit even when the position is vacant

Hi All,

I am new to HR, I know how to get the PERNR of a Chief in ORG Unit by using the FM HRCM_ORGUNIT_MANAGER_GET.

My problem is: If I go bottom up in the hierarchy and the immediate chief position is vacant in the ORG Unit, how can I go look further up in the hierarchy until I get the next available Chief?

Thanks in advance for your help!

Regards,

Abhinav

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2012 at 05:20 AM

    Hi

    Can you check this FM RH_GET_LEADER, If you are passing the emp id and getting position and checking the org unit A012 releationship, if that does not exists may be you need loop or check next level A012-manager with employee Org unit reports to another org unit - B002. (O-O)

    Tables - HRP1000 -Object, HRP1001 Relationship

    Hope this will help.

    Best Regards

    Venkata Manikanth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2012 at 05:47 AM

    Agree with Venkata.. try the function RH_GET_LEADER it also has a parameter CONSIDER_VAC_POS which should automatically take you up the org hierarchy till you get a filled manager position.

    - Puneet

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.