Read org structure

Hi all,
Is there any FM who reads the org structure like rh_struc_get  but with extra info like tree/hierarchy :
For example if  i have the hierarchy : A - O - S - P
A : Customer object
O = Organizational unit
S = job
P = Person
I want to see to which organisational unit a person belongs via an evaluation path.
Thanks in advance

Hi Samiulla,
One cool function module is RH_STRUC_GET.
It's a little complex to use, but there are many examples here in the forum
Kind regards,
Garcia

Similar Messages

  • How to read user details based on org structure

    hi,
    i want to read which user is logon sap crm 7.0 based on org structure is there any functional module or bapi. how to find out which user is logon.
    jemmi.

    Hi Jemmi,
    Login user can be accessed by sy-uname directly. i think you are interested in finding bp's assigned to org unit of login user.
    I am giving few details, check whichever is relevant for you.
    To get the org unit of the login user ..
       s_logon_orgunit = CL_CRM_AUI_SERVICE=>get_logon_orgunit_of_agent( ).
    To get all the bp's under that org unit
      move-corresponding ls_logon_orgunit to ls_orgunit.
      CALL METHOD CL_CRM_AUI_SERVICE=>GET_BP_DATA_FROM_ORG_UNIT
        EXPORTING
          IV_ORGUNIT   = ls_orgunit
        RECEIVING
          RV_HROBJBUPA = ls_bp.
    Get all org units the user is assigned to as BP's
      CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype       = 'US'
          act_objid       = sy-uname
          act_wegid       = gc_sms_wegid-org_4_usr
          authority_check = ' '
        IMPORTING
          act_plvar       = lv_plvar
        TABLES
          result_tab      = lt_result_tab
        EXCEPTIONS
          no_plvar_found  = 1
          no_entry_found  = 2
          OTHERS          = 3.
    Cheers,
    Sumit Mittal

  • Org Structure chosen within HR report

    I hope I have this question in the right forum.  Within a HR report built using the Logical database PNP,  you can choose a Report Category that will will allow you to choose 1) Further Selections 2) Search Helps, 3) Sort Order 4) Org Structure. These are buttons at the top of the selection screen.
    My question relates to choosing the Org Structure and if the user selects multiple Org Units when clicking on the Org Structure button.  The PNP logical will take care of selecting the correct employees based on the Org Units selected.
    Is there a way, when the program is executing to determine what the user chose from this Org Structure tree?  It's not the PNPORGEH parameter on the selection screen.
    Thanks
    John

    Nevermind.  I wasn't looking hard enough.

  • Logical Database - PNPCE - Hide 'Org Structure' 'Search Help' etc buttons

    Hi,
    We have created a report by making a z copy of RCATS_APPROVE_ACTIVITIES. In the Z version we need to hide the buttons on the titlebar of the selection screen.
    Buttons are
    - Org Structure
    - Search Help
    - Dynamic Selection
    - Selection Fields.
    Can you please suggest if I can do something from the code ?
    Regards,
    Chiranjeevi.

    Hi,
    Thanks for your suggestion. However, there is no title bar method that we can modify to remove the buttons. I have created a Z report Category by copying the existing one and made the modifications.
    In that we can hide/display UI elements which are displayed by Logical Database.
    Regards,
    Chiranjeevi.

  • Asset exclusion is selected though it is excluded in the org. structure.

    Hi SRM gurus,
    We are working on a Standalone scenario (SRM 4.0) where we have assets and asset classes.
    In our org. structure we have excluded two asset classes with the exclusion indicator to the corresponding attributes of the purchasing organisation.( Asset class - ANK). But when we create a SC all the assets are selected in the Item details --> Cost assignment ---> dragdown (asset).
    From our case it seems there is no effect of the exclusion indicator/ we made something wrong somewhere.
    Can we get few suggestions/sap notes from the group that what went wrong?
    Thnx. & Reg.,
    Sridhar.

    Hi Mani,
      Thanks a lot for your reply.
    If the exclusion indicator is maintained at user level also it is not working.( all
    assets are selected from the list and there is no difference between the others)
    May I get any further suggestions on this issue pls.
    Thx. & reg.,
    Sridhar.

  • Org Structure

    Hi,
         Is there any report that i can use to download Org structure into a flat file?. I need Org unit and positions within that org unit.
    Thanks.

    Hello Sandeep
    A report for displaying HR-ORG structures is RHSTRU00
    (transaction PPST
    ). For example, in your case you can use the evaluation path O-O-S
    (All positions under an organizational unit in the)).
    For reading the Org structure data you could use the RFC-enabled function module RH_RFC_STRUC_GET_MULTIPLE
    . The TABLES parameters (e.g. RESULT_OBJEC & RESULT_STRUC) can then be downloaded.
    Regards
      Uwe

  • HR Org Structure in MDG

    Hi MDG Experts,
    Does anyone have an opinion on the optimum way to set up the
    HR Org structure within the MDG ECC hub?
    Use the existing HR Org Structure from ECC main system,
    and create interfaces to bring in parts of it to the MDG hub?
    Manage the HR Org independently within the MDG
    ECC hub. Create PERNR, Name and e-mail, and assign to positions?
    Thanks!
    Matt Dawe

    This is not really an MDG topic as it applies to any landscape with distributed systems. The answer is "it depends" on the situation, effort and ability to setup and maintain an interface from your HR system to the MDG hub.
    As a general rule of thumb, dual maintenance should be avoided. This can be achieved by bringing the Org Structure to the MDG hub through an interface/IDOC or maybe just build an RFC call to resolve agents in the HR system and get the results back in the agent assignment BAdI.

  • Creat ECM budget structure from current org structure

    Hi all ,
    When we are creating budget heirarchy using "PECM_GENERATE_BUDGET", we want to create it from org structure that is effective on a particular date and not for all org assignments.
    For example :
    For budget effective 01/01/2011 to 12/31/2011.  We may want to create Budget structure from org structure that effective 12/31/2011.
    ( The standard transactcion "PECM_GENERATE_BUDGET" creats structures for all the effective dates )
    Let's say, I have Org units Org1 and Org2 at the same level. Org3 reports to Org1 from 01/01/2011 to 11/20/2011. But effective 12/01/2011, Org 3 reports to Org 2.
    01/01/2011 to 11/30/2011 ->  Org3 reports to Org1
    12/01/2011 to 12/31/9999 ->  Org3 reports to Org2
    When I run ""PECM_GENERATE_BUDGET"" this generates a budget heirarchy, that shows Org3 reporting to both O1 and O2,
    whereas we want Org3 to be just shown in the hierarchy of Org2 ( effective 12/31/2011).
    I see that the FM  "'HR_ECM_GET_OBJECT_STRUCTURE" and "HR_ECM_BUILD_BUDGET_STRUC" generate budget structure, by taking the begin and end date of budget period( 01/01/2011 to 12/31/ 2011) into account  to create the org structure.  But we just want the latest structure effective on a particular date.
    Has any faced this kind of scenario/requirement as this seems to be the standard budget creation functionality.
    Appreciate any inputs
    regards

    Hi - When you are creating budget sturcture based on org. unit the system will create budget structure on the basis of defined budget period
    Pls. try delimiting 01/01/2011 to 11/30/2011 -> Org3 reports to Org1 relationship and create budget structure. I feel you should be fine then.
    which EHP are you in? If you are using EHP 5 its give option to generate top down or bottom up budget structure.
    Can you also reply to one of my post.

  • Loading Sales Org structure in to CRM

    Hi,
    If we copy the Org Units, Position, job and persons master data from HR then do we have to copy the sales structure again from SD? Should copied HR org structure be enough in CRM?
    Can you please explain at high level step-by-step on how to get and configure sales org with positions in CRM? What we can download and what we have to configure manually in CRM?
    Thanks in advance.
    -GK

    HI,
    There are many topics about this subject. Use search on sdn.
    For example:
    CRM - HR - SD Organizational Model
    First decide wether HR or SD organization structure is being mapped, Normally SD structure is mapped to CRM org structure in organization maintaince(CRM)
    Normally the structures are borrowed from SD side of R/3 as who knows better about the sales orgaizations/sales distribution channels/sales divisions/sales offices/sales groups etc than the SD in R/3. HR's primary controlling functions are about the positions, roles and idnetification of employees. This data is replicated into CRM as BP in the roles of employees.
    Denis.

  • Org structure in query

    Hi,
    We have main org unit and under that we have so many orgunits like hr ,it,customer support ect.
    when we go to query and execute we see org structure button at the top if i select org structure i should see only main org unit.But i am seeing main org unit and customer support org unit also.
    How and where i should change the configurations so that i can see only main org unit.
    Thanks in advance.
    Thanks,
    Usha

    Hi Usha,
    Can you be more clear as to which query is it etc......
    Kumarpal Jain.

  • Mass user movement from one org. unit to another in SRM org. structure

    Hi,
    Is there any way by which i can move mass users from one organisational unit to another in SRM org. structure..
    there is a thread available in SDN but it is not conclusive. it talks abt using a FM: BBP_USER_CHANGE_ORG
    BR
    Bharat M

    Bharat-
    I am assuming that your requirement is to move mass users from One Org node to another. Ex One Plant Org node to Another plant Org node.
    If my assumption is correct then, please follow the below steps.
    1) Go in to the change mode of Org Plan using T-code PPOMA_BBP
    2) Using shift key, select all the users that you need to move.
    3) Drag and Drop the selected users to the desired Org node.
    If the user IDs are not in sequence then you can use Ctrl key to select the relevant user ID.
    Let me know if you have any questions.
    If the answer is helpful, please reward points.
    Regards,
    Upendra.

  • How to check a list of users whether integrated to SRM Org Structure

    Dear SRM Gurus,
    I am using SRM 4.0 system with classic scenario.
    We are not using the HR system integration for org structure setup.
    I have a list of users to be checked, whether they are integrated to SRM Organization structure.
    Normally, I use the "Check Users" option under, Users_Gen tcode to check a single user.
    Is there any way to check multiple users(almost 300 users) at once.
    Any Table or function module is avalable?
    Thanks in advance.
    Loka

    Hello Loka,
    Run same transaction. When you are on screen "Object Synchronization and Repair", set "User" but do not populate any value, then execute.
    You will get all users: when user has a red icon in column 'Object links', this means he is not integrated in the organizational model.
    In same transaction, if you can also set "Branch from Organizational Unit" and "Users only". Here, you will get only users integrated into organizationl model.
    Regards.
    Laurent.

  • Difference between SU01 ROLE and attribute ROLE in org.structure

    HI,
    In SU01 transaction ROLE tab employee role is assigned to the user.
    In org. strucute attribute ROLE also contains the employee role.
    what is the difference between ther two ?
    we should mention employee role for the user in SUO1 and attribute ROLE both places to create shopping cart ?
    please guide...points are alloted.
    Thanks
    mani

    Hi SRM guys,
    Just i want to know what is the perpose of the attribute - ROLE in Org.structure
    and what is use of the  ROLE tab in SU01 for user.
    Both places ( attributes and in SUO1-ROLE tab ) need to give the sap_bbp_stal_employee role ???  to shop the user... 
    please confirm ..

  • Org Structure download from HR and Uploading into SRM

    Dear All
    We have SRM 7.0 and ECC 5.0.
    We are trying to load ORG structure data from SAP-HR into SRM. These 2 systems are not connected and we can't use the ALE synchronously. Can we download the HR org structure - ALE Distribution- iDoc into a file from the SAP-HR  System and then upload the same into SRM, to create the entire Org structure? Pl provide your inputs.
    Thanks in advance
    velu

    Hello,
    Did you use any evaluation path to capture org structure when download the file using PFAL program.
    We are looking to capture O,S,C objects ie HRP1000 objects as first step.
    We are looking to capture all relationship belonging to that ORG unit ie HR1001 relationship as second step.
    Any thoughts?
    Thanks.

  • Interface with Peoplesoft for Org structure

    Please let me know if there is way to interface with Peoplesoft to get the org chart (employees and their reporting details along with Org structure) and update the SAP Org hierarchy (PPOME). Any type of interfacing (file, RFCs, real time) options available to achieve this? We have our HR in PeopleSoft but need the Org chart in SAP for workflow and other reasons.
    If any one has done anything similar, please share how it was done. Thank you.

    No one seems to know of a way, so closing it.

Maybe you are looking for

  • Adobe flash will not load - gives only a black screen

    For all the (3) users on this computer.   For most browsers (Safari, Chrome, Firefox) The browser window goes 100% BLACK when a flash program link is opened and most of the time the cursor / Pointer freezes (occasionally disappears and all keyboard a

  • Problem mit Adobe Photoshop Album 2.0 S.E.

    Hallo, nach der der Installation will ich das Programm starten, jedoch erhalte ich folgender Fehlermeldung: "Beim Öffnen des Katalogs Mein Katalog trat ein Problem auf. Der Katalog wurde möglicherweise von einem anderen Benutzer oder in einer anderen

  • Storing jpg or gif images in database

    Hi, I want to store the images from system folder to database. Ex: "c:/images" is the foldername I want to access this folder from JSP and want to store a selected image from the user to database and getting back that image to view by a query. so how

  • Discussion locked

    hello i began a discussion asking about transferring my account from my old g4 to my new g5. a few folks gave me feedback but then they began to go back and forth with each other, somewhat heatedly, over the right way to do it. when i tried to do a n

  • Calculate Pending Qty in Inventory?

    Hi Experts, We are on R12 (12.1.3) DB 11gR1 Am not a Techical guy - need a help from you guyz .. Am trying to create a report using BI Publishera with below info:- Shipment Number, Purchase Order Number, Recieved Date, GRN NO (Reciept) , Location (Su