How to find departments under manager

Hi,
please suggest any fm for to finding departments under manager.
Thanks & Regards
Rao

It's solved, thanks for all, Now I know how powerfule "RH_STRUC_GET" function, Its really cool and When I read following link
http://help.sap.com/saphelp_erp2005/helpdata/EN/1b/16a7375de78668e10000009b38f889/frameset.htm
See the Link "Reports in Organizational Management " in Tree view. We know abot all type reports we can do above function module.
once again thanks all.
Thanks & Regards
Rao

Similar Messages

  • How to find HR Line manager of a PERNR present in PA0000

    Dear All,
    I am new to HR module. Can anyone tell me how to find the line manager of any user Id fetched from PA01005 against the pernr from PA0000 table

    This example find line manager for non-manager.
    REPORT ZDYN_SELECTIONS.
    DATA: user_pernr type pa0105-pernr,
           user_orgid type pa0001-orgeh,
           user_manager type pa0105-pernr,
           managers type table of OBJEC WITH HEADER LINE.
      PARAMETERS: usrid type pa0105-usrid.
      end-of-SELECTION.
      SELECT SINGLE pernr INTO user_pernr from PA0105
        WHERE usrid = usrid
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
      SELECT SINGLE orgeh INTO user_orgid FROM pa0001
        WHERE pernr = user_pernr
          AND  begda <= sy-datum
          AND  endda >= sy-datum .
        CALL FUNCTION 'HRCM_ORGUNIT_MANAGER_GET'
          EXPORTING
            PLVAR                    = '01'
            OTYPE                    = 'O'
            OBJID                    = user_orgid
            BEGDA                    = sy-datum
            ENDDA                    = sy-datum
    *      PATH_ID                  = ' '
         TABLES
           MANAGER_INFO_TABLE       = managers
    *    EXCEPTIONS
    *      PATH_ERROR               = 1
    *      ROOT_ERROR               = 2
    *      NOTHING_FOUND            = 3
    *      OTHERS                   = 4
        IF SY-SUBRC <> 0.
    * Implement suitable error handling here
        ENDIF.
    LOOP AT managers.
      write managers-objid.
    ENDLOOP.

  • How to find the senior manager

    hi gurus ,
    i am involved in the extension of the standard workflow of leave approval , i want to extend the approval level. in std the is one approval level which identifies  the manger of the employee who requested for leave . my work is to extend to another appoval level to his senior manager . so when manager approves the workitem  , then it should go to senior manger for final approval  .
    for the first approval i got the agent through RULE 0000168 . how to find the senior manager  ?
    Message was edited by:
            arumugam shanmugam

    You can also try Rule AC00000157. In this rule you get the manager by providing the Position Id. This is useful when you know only the Position Id of the user.
    <b>Reward points if useful</b>

  • How to find Mailboxes under OS Lion 10.7 Time Machine backup.5 ?

    I am trying to access, from a MacBook, to my MacBook Pro Mailboxes inside a Time Machine backup done under Lion 10.7.5. (the MBP is out of order and I would to check my Mailboxes).
    If I open the backup, I do not find any /User Name/ Library (like inside the MacBook (OS X 10. 5.8)
    I tried a search by 'Mailboxes' without any result.
    Where/how could I find that Mailboxes file ?

    No, you can't use a 10.7 altered TM drive to restore Snow Kitty with.
    I've written a detailed method to restore 10.6 from 10.7, including advanced preparation before you remove 10.7's icy grip of death on your precious.
    You see how much I love the Lion
    How to revert your Mac to Snow Leopard

  • How to find CC Application manager update on Adobe wesite

    My Creative Cloud application manager on my desktop always comes back with an "Error" message when trying to update the CC Applications manager to download and install the new Adobe software updates. (I'm using a Mac OS)  Is there a quick (obvious) link on the Adobe website where I can go to update the CC Applications Manager since I'm not able to this this from the adobe CC icon on my desktop?  I always have to hunt around the Adobe website for a while before I can find the the link to download the update the CC app.  I'm wanting to download the CC update manager....not each of the individual apps.

    For direct access, you can download any part of Creative Cloud – including the Desktop app or any of the individual tools – using the Adobe CC direct links.

  • How ti find employee's manager name

    Hi All,
    I tried in SDN but i am not able to find suitable thread. Anybody can tell me which function module i should use to get employee's manager name.
    Thanks,
    Maheedhar

    Maybe this could be achieved by RH_STRUC_GET but you need to provide proper ACT_WEGID . The custom way however would be like this
    DATA lt_p1001 TYPE TABLE OF p1001.
        DATA lt_manager TYPE TABLE OF p1001.
        DATA l_pernr    TYPE persno.
        DATA l_objid    TYPE HROBJID.
        FIELD-SYMBOLS: <wa_p1001>   LIKE LINE OF lt_p1001,
                       <wa_manager> LIKE LINE OF lt_manager.
    "get manager of EE's org unit
        CALL FUNCTION 'RH_READ_INFTY_1001'
          EXPORTING
            plvar            = '01'
            otype            = 'O'
            objid            = "EE org unit here
            begda            = sy-datum
            endda            = sy-datum
            subty            = 'B012'   "is managed by
          TABLES
            i1001            = lt_p1001
          EXCEPTIONS
            nothing_found    = 1
            wrong_condition  = 2
            wrong_parameters = 3
            OTHERS           = 4.
        LOOP AT lt_p1001 ASSIGNING <wa_p1001>
                         WHERE sclas = 'S'.  "position
          l_objid = <wa_p1001>-sobid.
    "get person for this position
          CALL FUNCTION 'RH_READ_INFTY_1001'
            EXPORTING
              plvar            = '01'
              otype            = 'S'
              objid            = l_objid
              begda            = sy-datum
              endda            = sy-datum
              subty            = 'A008'   "holds
            TABLES
              i1001            = lt_manager
            EXCEPTIONS
              nothing_found    = 1
              wrong_condition  = 2
              wrong_parameters = 3
              OTHERS           = 4.
          LOOP AT lt_manager ASSIGNING <wa_manager> WHERE sclas = 'P'.
            l_pernr = <wa_manager>-sobid.       
            EXIT.
          ENDLOOP.
        ENDLOOP.
    Manager -> l_pernr
    Manager name -> get from IT0002 for l_pernr
    Regards
    Marcin
    Juest checked FM HRCM_ORGUNIT_MANAGER_GET which is working too. On input you can either provide EE's position or org unit.
    Edited by: Marcin Pciak on Oct 28, 2010 9:12 AM

  • Finding employees 'under' manager in org.management in HR

    hi there,
    i have to know which employees are 'under' a person in org.management.
    e.g. i need to know all employees from a specific manager.
    is there any function call and/or method of class which can achive this ?
    best regards, Martin

    ACT_OTYPE                       P                      
    ACT_OBJID                       00078042               
    ACT_WEGID                       O_S_P                  
    ACT_INT_FLAG                                           
    ACT_PLVAR                       01                     
    ACT_BEGDA                       13.05.2008             
    ACT_ENDDA                       13.05.2008             
    ACT_TDEPTH                          0                  
    ACT_TFLAG                       X                      
    ACT_VFLAG                       X                      
    AUTHORITY_CHECK                 X                      
    TEXT_BUFFER_FILL                X                      
    BUFFER_MODE                     X                      
    this is what i pass............... in act_wegid i can put in also other names of eval.path, i got always the message with the agent
    reg, Martin

  • How to find underlying r/3 table for a field of an extractor?

    Guys,
    Could anyone give an idea of how to find the underlying table in r/3 for EKGRP (purchasing group) field of an extractor? Thanks.
    Regards, Ivan

    Hi Ivan,
    Please check the below help file for your query.
    http://help.sap.com/saphelp_sm32/helpdata/en/1d/f4383fdb800804e10000000a114084/content.htm
    Regards,
    Raghu

  • How to find port in db2 database

    Hello Everyone,
    I am using a db2 V8.1 and try to connect to it via JDBC. I am using the app-driver,
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    however I get an errormessage: java.sql.SQLException: No suitable driver. I can see though that the driver is registered at the DriverManager, so I assume that something in the database connection part is wrong. I have tried to use the url in the way jdbc:db2://host:port/DBName, however I don't know how to find out which port my DB uses. Can someone tell me how to find it under Linux? And also I have read somewhere that one could use the IP-address instead of host:port, is that possible as well?
    thank you very much in advance

    No, the IP address will only replace host, not port. You've got to know the port that the database listener is attached to.
    The DB2 JDBC docs ought to tell you what the default port is. I believe it's 6789. (It was back in Apr-2000 when I last connected to DB2.)
    I don't know what the Linux/Unix command is to list all the active ports, but on Windoze it's netstat -a. I think it's the same in Unix. You should try it and see if it tells you about an app listening on port 6789. If not, speak to your DB admin and ask if the listener is up and running on the database server. - MOD

  • How to find and modify underlying XML Template for a OA Framework page

    Env: R12
    There is a standard OA Framework page in Purchasing that can be reached by
    Purchasing Manager > Buyer Work Center > Orders > Search for a specific PO > Open the PO Page
    Then Open the PO Details page for what you searched
    Now in the PO Details Page, On the right hand top corner is a drop down list for Actions > View PDF
    This generates a PDF output of the PO, PO Details and the terms and conditions.
    I want to modify this pdf. ( Change the template and add/remove a few columns)
    I believe that this is an XML Pub report running in the background but how to find out what report is running and how to modify its template ??
    Thanks
    Gabbar

    Hi Gabbar,
    Click on 'About this Page' and figure out the page, controller, AM and VOs. You can download these xml and class files from JAVA_TOP. Page can be downloaded from mds directory under PRODUCT_TOP.
    Regards

  • My computer space is full and i want to remove some of my itunes movies from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    My computer space is full and i want to remove some of my itunes movies/ t.v shows from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    You can't do that. iCloud does function that way.
    Allan

  • How to find required information in order to log on Business View Manager?

    After Business Object Client installation successfully, I try to log on Business View Manager, but failed. One pop-up windows(Log on BusinessObjects Enterprise) come and let me put the information as below;
    System:
    User name:
    Password:
    Authentication:
    Could anyone let me know how to find the above required information? Thanks!

    You need to find this information from a person who installed server part of this deployment.
    System: Name of the CMS server
    User name: Administrator or other user name that exist in the Enterprise
    Password: obviously...
    Authentication: type of the authentication setup on the server side for the user you will be using.

  • HR-ABAP issue how to find manager in PA reporting

    hi all,
    my requirement is find the manager in PA reporting.
    Retrieve the Manager Personnel number from the HRP1001 table.Use this personnel number and retrieve Name (ENAME) from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019
    how to find the manager position and his relation ship.

    Hi,
    To get the position of the manager -
    Use the FM
    RH_READ_INFTY_1001
        CALL FUNCTION 'RH_READ_INFTY_1001'
         EXPORTING
      AUTHORITY              = 'DISP'
      WITH_STRU_AUTH         = 'X'
           plvar                  = '01'
           otype                  = 'P'
           objid                  = fs_pa0000-pernr (manager's id)
       subty                  = 'B008'
       begda                  = fs_pa0000-begda
       endda                  = fs_pa0000-endda
          TABLES
            i1001                  = t_i1001
      OBJECTS                =
         EXCEPTIONS
           nothing_found          = 1
           wrong_condition        = 2
           wrong_parameters       = 3
           OTHERS                 = 4
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        APPEND LINES OF t_i1001 TO t_pos.
    this table t_pos holds the postion.
    Regards
    Lekha

  • I dont have any Applecare registration number. I bought my Mac a year before and is still under the warranty. I dnt how to find or purchase applecare registration number. Please help

    I dont have any Applecare registration number. I bought my Mac a year before and is still under the warranty. I dnt how to find or purchase applecare registration number. Please help

    Enter your MBP serial number here and you will then be able to determine the warranty status.
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Ciao.

  • I cant find my purchased ringtones on my itunes account? Anybody know how to find this? It's not popping up under Music in my purchased history. It is soooo frustrating because they make it so hard to find anything ringtone related on the itunes store!!!

    I cant find my purchased ringtones on my itunes account? Anybody know how to find this? It's not popping up under Music in my purchased history. It is soooo frustrating because they make it so hard to find anything ringtone related on the itunes store!!!

    They will be wherever you put them.
    You only get one download.

Maybe you are looking for

  • Management Studio 2008 does not refresh after table create / alter

    hello Management Studio 2008 does not refresh after table create / alter, why? f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange... regards, jan

  • Variable updating when another variable changes. How to keep it static?

    I'm missing something very basic here I think. What's happening is that I'm looping through a list. I also need to update that list, but since I don't want to update the list I'm looping through, I created a temporary list to hold the new values. The

  • Dumb question Re: Autofill

    Is there some quick keystroke to make autofill go ahead and fill out a form? I can't find it. I have to pick up the mouse, click on the box and then hit return.

  • What is the right behaviour when jms server is down

    Hi, several jms implementation behave differently while trying to connect to the jms server which is not available or when the jms server is suddenly down in the middle. For example: iBus Mobile - handles reconnections internally, doesn't throw excep

  • Adobe Reader and

    I do not want this message: Found trusted certificates from your previous version of Adobe Reader.Do you want to import them? The certificates are not imported in this step is not available in this version of Adobe Reader. How can I turn it off using