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

Chief Position of a organisation Unit.

Hi All,

I am working with HCM implementation ,

In a query there is a need to Show Name of Chief Position of a organisation Unit.

This is very important , any will help me .

Thanks in advance

With Regards

A Venai

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 16, 2010 at 08:36 AM

    Go to Tcode PPSS

    and give the evaluation path BOSSONLY and execute

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2011 at 01:18 PM

    Hi,

    Check the below code

    DATA: it_result_tab TYPE swhactor OCCURS 0 WITH HEADER LINE,

    it_result_objec TYPE objec OCCURS 0 WITH HEADER LINE,

    it_result_struc TYPE struc OCCURS 0 WITH HEADER LINE.

    CALL FUNCTION 'RH_STRUC_GET'

    EXPORTING

    act_otype = 'O'

    act_objid = '30002330'

    act_wegid = 'BOSSONLY'

    • ACT_INT_FLAG =

    act_plvar = '01'

    act_begda = sy-datum

    act_endda = sy-datum

    • ACT_TDEPTH = 0

    • ACT_TFLAG = 'X'

    • ACT_VFLAG = 'X'

    • AUTHORITY_CHECK = 'X'

    • TEXT_BUFFER_FILL =

    • BUFFER_MODE =

    • IMPORTING

    • ACT_PLVAR =

    TABLES

    result_tab = it_result_tab

    result_objec = it_result_objec

    result_struc = it_result_struc

    EXCEPTIONS

    no_plvar_found = 1

    no_entry_found = 2

    OTHERS = 3

    .

    IF sy-subrc <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    The internal tables it_result_tab, it_result_objec and it_result_struc contain the chief position information.

    Regards,

    Velangini Kumar Bandanadham

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello

        CALL FUNCTION 'HRCM_ORGUNIT_MANAGER_GET'
          EXPORTING
            plvar              = lv_plvar                '01
            otype              = gc_otype_o         "O
            objid              = ip_orgeh               "org uni number you want the chief for
            begda              = ip_bedga           "start date
            endda              = ip_endda           "end date
            path_id            = gc_evpath_bossonly "BOSSONLY
          TABLES
            manager_info_table = ip_org_chief
          EXCEPTIONS
            path_error         = 1
            root_error         = 2
            nothing_found      = 3
            OTHERS             = 4.
      

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.