How to get managers from org unit?

Hi Experts,
Anyone knows how to get managers information from given org unit?
Thanks

Hi Shane,
You need to use two FM's for this :
Use BBPU_GET_USERS_OF_ORGUNIT to get user IDs of all users of the ORGUNIT
And then use BBPU_GET_MANAGER_FLAG to get manager flag for each user ID.
Hope this helps
Regards
Vishal

Similar Messages

  • How to get users from Organizational Unit and with worker's subgroup

    Hi
    I am looking for a f. module to get the list of users from specific Organizational Unit and with specific worker's subgroup.
    I found f. module SWI_GET_USERS_OF_ORG_UNIT but it seems not working and only returns the users, how can I narrow the selection to get only from specific worker's subgroup?
    Thank you

    Hi,
    Try with FM RH_STRUC_GET with following parameters:
    ACT_OTYPE = O
    ACT_OBJID = worker's subgroup
    ACT_WEGID = SBESX
    Most important is to specify OBJID as the workers's subgroup, values for the others parameters may vary.
    Cheers.

  • FM to Delete Position and Central person from org unit?

    Hi
    In SRM, we used tr-cd USERS_GEN to create position/CP using SU01 user.
    In transaction PPOMA_BBP we can see Org unit assigned to position(S) and Central person(CP).
    How to unassign or delete the Position and Central person from org unit?
    Can you pls tell me any Func Module available.?
    Regards
    Chandra
    Edited by: princeck on Mar 10, 2011 2:54 AM

    Hi
    HR_CENTRALPERSON_DELETE  is working fine.
    Can you tell me how to delete position from Org unit. I want to delete it using FM or program.
    How to execute this program BUPA_TEST_DELETE?
    I gave Business partner as input, but it does not delete...anything. pls guide how to exeute.
    Any FM available.
    Regards
    Chandra

  • For an Org Unit, how do we get all Reporting Org units (Also employees reporting to the sub org unit) & Employees ?

    Hi Experts,
    I have a very common requirement in SAP HCM ABAP development.
    For an Org Unit, how do we get all Reporting Org units(Also employees reporting to the sub org unit) & Employees ?
    I have tried using RH_STRUC_GET_MULTIPLE_ROOTS and RHPH_STRUCTURE_READ, but the evaluation path is insufficient to get all objects under it. I tried with both O-S-P and O-O-S-P evaluation paths and as per some constraints, I can’t create a customized evaluation path for a reason.
    I am using PNPCE database for user selection screen and user would be advising the Org unit. I even referred the standard transaction ‘S_AHR_61016495’ which is using PCH logical database.
    I would really appreciate if anyone could provide a solution for this. (Rewards guranteed )
    Kindly help.
    Thank you.
    Regards,
    Mahesh Konade

    Hi Alexandre,
    Although I could not respond in time, thank you so much for your prompt reply.
    I had used the same RHPH_STRUCTURE_READ and passed the appropriate values to it, but it did not populate the required results. I cross checked the results manually, may be some relations issue. But later I tried using RH_STRUC_GET_MULTIPLE_ROOTS and it worked fine.
    Meanwhile I had done a workaround with PCH and RH_STRUC_GET and it served the purpose of getting all the Org units, it’s reporting sub-org-units, positions and persons (The deepest structure from the root org unit advised on selection screen).
    The solution I used is, I captured the org-units advised on selection screen by user using PCH logical database and then by looping on sub-org units reporting to the main org-unit I populated related positions and persons holding them and assigned it to the PNPCE logical database.
    Thank you so much for the help.
    Regards,
    Mahesh Konade

  • SLMANAGER from org unit..

    Hi,
      is there any way to get all SLAPPROVER from org unit based on the user name. there is an attribute 'SLApproverList' in BUS4101 , when i given input as user name an instance , the above attribute get filled those who are all SLAPPROVER for that user.
      now i have to implement the same logic from Badi. from Badi i will pass creater name and i need all SLAPPROVER list, this is my requirement. can you please give me some hints for this.
    how to get SLAPPROVER from Badi.
    regards,
    john.

    Hi John,
    Sorry for delayed reply.
    To get SLAPPROVER from BADI. Try this -
    DATA : l_bus4101 TYPE swf_bor_object.
    DATA : l_limit   TYPE bbp_spers_sl-spending_limit.
    DATA : l_approver TYPE swf_bor_object.
    swc_get_property l_bus4101 'SLAPPROVER' l_approver.
    swc_get_property l_bus4101 'SpendingLimit' l_limit.
    It should be alright now. Please go through documentation on business objects and check SWC_GET_PROPERTY / SWC_SET_ELEMENT / SWC_CREATE_CONTAINER etc.
    If you get error with l_approver, please check correct type for it.
    Hope this will help.
    Regards.
    Pras

  • Obtain users from Org Unit.

    Hi all,
    Which tables I must know to obtain all users (purchasers) from Org unit?
    I can't use a FM. I need to obtain this data from R3, not SRM.
    Thanks!
    Regards,
    David.

    Hi. All links are in table HRP1001. You will have to go back to this table many times.
    Firstly you can get all the positions under the org unit from HRP1001, then you will have to go back to HRP1001 with the position numbers to get the person numbers and so on.
    Regards,
    Dave.

  • How to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    how to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    Make sure Settings > iCloud > Photos > iCloud Photo Library (Beta) = "Off"
    Then sync your iPhone using iTunes and make sure your sync settings for photos are set correctly in iTunes.

  • I got a new computer and don't know how to get music from ipod touch to itunes library

    I recently got a new computer and don't know how to get music from my ipod touch to show on my itunes library. 

    You need to transfer the iTunes folder from the old computer to the new one.
    iTunes: How to move your music to a new computer (Mac or Windows):
      http://support.apple.com/kb/HT4527

  • I have a new MacAir and don't know how to get info from my USB stick and my SD photo card.  Can anyone help me please?

    I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card.  Can anyone help, please?

    Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
    Matt

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to get FILENAME from FILE PATH

    does anyone know how to get filename from a file path for example
    FILE PATH: C:\Project\uploadbean\web\uploads\Button.txt
    returns
    FILENAME: Button.txt

    @BalusC
    ust for a reference cause i'm new in JSP This has nothing to do with JSP, but with basic knowledge of an essential API. I have given you the link to the File API. Are you saying that you refused to read the API documentation, which clearly explains you how to use the File and shows which methods are all available to you undereach the straightforward getName() method, and expecting that the others may chew the answers for you? Loser.

  • How to get data from PDF form?

    PDF forms can send data in url like GET or POST method. Is it possible to get data from url, like in PHP http://sever/file.php?item1=value1&item2=value2&item3=value3
    In APEX url have specific construction and I don't know how to get value of items (1...3)
    Please let me help to find simple method of geting data from URL.
    Best Regards,
    Mark

    The APEX URL syntax is detailed here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BCEDJBEH
    How to get it from PDF is another matter...
    I'm working on an app that downloads PDFs with a Large amount of data as a blob, takes that blob and changes it to XML, then goes through the xml to validate each section of data and then add it into the schema that my apex app is referencing....
    I didn't write the original code but I do know that it isn't a quick thing to implement and includes using some uploading some java jar files to your schema and writing some custom java code.
    Someone else may be able to help with grabbing PDF data into the URL for the amounts of data you want to pass to apex.
    Gus..
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
    Edited by: Gussay on Sep 21, 2009 5:52 PM

  • How to get Position from EmployeeInfo in DIAPI

    I am using DIAPI(JCO) for SAP B1. According to one or my reuirement i am in need of Position from the EmployeesInfo. But there  seems no option or method for getting position from that. Can anyone guide me how to get that from EmployeesInfo ? Any help is appreciated..

    Looking at the DI API properties vs. DB fields mapping documentation in the SAP Business One developer area (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c5f5dbcc-0a01-0010-5d82-f25f2bee715e)
    it seems that this field is not exposed (yet).
    I.e. you could only run a SQL statement to get this information.
    Sorry,
    Frank

Maybe you are looking for

  • Any ProperCase function in SSRS report

    There used to be a ProperCase function in Crystal Reports, is there anything similiar in the new SSRS report?

  • The Firewire Disk don't work After Snow Leopard 10.6.1

    Dear Apple friend I've a big problem... I've 6 firewire external hard disk (400 and 800) with my work. And now I can use it after Snow Leopard update to 10.6.1. How I can resolve it??? I need to work!!!! thanks Walter from Italy

  • Deletion of ASN for a delivery

    Hi, For a delivery, an EDI had been processed and an IDOC created via EDI. nOW, THE ORDER HAD TO BE REVERSED for some reasons. So, the Output has been recreated again. Hence, 2 ASN IDOC with same data, and we need to delete the ASN created earlier. H

  • Why do some questions on these forums begin with HT or TS and some numbers?

    This is a random question that I've been curious about for a while.  Some of the questions' titles on these forums begin with the letters HT and end in random numbers.  Some also begin with TS... What does this mean?

  • Scripting CS5 64-bit

    I've looked and used the cs5 vbscript reference to automate CS5 from .NET.  I've [succesfully] used CS3 this way in the past, but now with the upgrade to CS5, I'm having all sorts of problems.  First, I had to remove the COM reference in my code, sin