Find org hierarchy

hi,
i wont to find the org. unit hierarchy org that under the org i put  i now that in hrp1001
its org with relat B 002
but i dont now how to do that?
maybe someone can help
regards

Use FM  RH_STRUC_GET and pass
DATA: BEGIN OF it_result_tab OCCURS 0.
        INCLUDE STRUCTURE  swhactor .
DATA: END OF it_result_tab.
  CALL FUNCTION 'RH_STRUC_GET'
    EXPORTING
      act_otype  = 'O'
      act_objid  = <-- orgunit U want to pass
      act_wegid  = 'O-O' <-- is for higher level org units ..
                         'B002' --> all org units under that org unit ..
      act_begda  = sy-datum
      act_endda  = sy-datum
    TABLES
      result_tab = it_result_tab.
Check in  it_result_tab for the higer level org units ...

Similar Messages

  • Reporting by org hierarchy with drill down by each level of reports to...

    Hello,
    I'm trying to determine how to aggregate reporting by org hierarchy. Utlimately to report on opportunities at the highest level (CEO; all opportunities below CEO) then a second drill down report that shows summary by Level 2 (all those who report to the CEO), then again by Level 3 drill down which would be those who report to somone in Level 2. In all instances I want the report to show all records that ultimately roll up to that level (thus include direct reports alll of their direct and indirect reports )
    Level 1
    CEO $10,000,000 200 Optys
    Level 2
    Sales Leader 1 $ 3,000,000
    Sales Leader 2 $ 2,000,000
    Sales Leader 3 $ 1,500,000
    Sales Leader 4 $ 3,500,000
    Level 3
    <ul><li>- rollup of all that report to Sales Leader 1 (and so on) aggregated by first level of direct reports ($3,000,000)
         Sales Mgr 1.1 $ 1,000,000
         Sales Mgr 1.2 $ 500,000
         Sales Mgr 1.3 $ 750,000
         Sales Mgr 1.4 $ 250,000</li>
    </ul>
    I'd appreicate any help you can send my way.
    Thanks, Aaron

    Hi Aaron,
    I have come across this and found that using the "Reports To" hierarchy and "Territory Team" hierarchy are not sufficient. I implemented this as a solution for one of our clients and it works very well:
    I have modified the user entity and renamed 4 standard fields:
    •     Business Unit renamed to "Primary Line of Business"
    •     Business Unit Level 1 renamed to "BU Group"
    •     Business Unit Level 2 renamed to "Business Unit"
    •     Business Unit Level 3renamed to "Team"
    Not all fields go through into analytics so I had to use these fields which are available in the Opportunity-Product History subject area. The downside is that they have to be text boxes so restrict access to who can populate these. From this you can get 4 hierarchy levels and drill from one to the next. The record owner then becomes the lowest level in your report and it can look something like this:
    Level 1
    Primary Line of Business
    Level 2
    BU Group
    BU Group
    Level 3
    Business Unit
    Business Unit
    Business Unit
    Level 4
    Team
    Team
    Team
    Team
    Level 5
    Sales Person 1
    Sales Person 2
    Sales Person 3
    Sales Person 4
    Sales Person 5
    Obviously it would appear side by side in the report..
    Thanks

  • API for assigning an Inv Org to an Org Hierarchy

    Is there an API for linking an Inv ORg to an existing Org Hierarchy?

    Check the documentation, implementation guide specific to your product. Is there anything specific to OAF in your query?
    I will suggest to post this issue in product specific forum.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                           

  • Learner Access using Org Hierarchy

    Hi
    Recently created an org hierarchy so we can utilise the self enrollment functionality for specific parts of the organisation against certain courses etc.
    However, when we have assigned the relevent learner access the class is not appearning within expected users catalogue. Is there any concurrent process or switch that anyone may be aware of that we need to invoke in order to have Oracle populate the employees against the hierarchy or has anyone else experienced a similar issue.
    Regards
    Carl

    You assume correctly.
    Obviously I can unrestrict the class and make it available to all within the catalogue, the point is to make it available to only certain parts of the organisation and make it self enrollment.
    I believe the issue is that the new org hierarchy has no employees/positions attached to it therefore applying learner access has no effect. I was hoping someone else may have experienced a similar issue and that there might be a simple step to populating the hierarchy that we have missed
    Cheers
    Carl

  • Nakisa Org Hierarchy view setup

    Hi,
    Does anyone have any information on setting up the Org Hierarchy view in TVN? Currently I only have a single, blank box displaying on the Nakisa webpage in the Org view (under Position tab).
    Also, I'm looking for the full document set and a config manual (other than the installation guide and administrator guide available after installation).
    Any assistance will be greatly appreciated.
    Dirk.

    Hi David,
    Usually these fields are stored by default. They are a standard set of names that are used by the BAPIs that get and return the data from SAP. These are:
    OrgUnit Hierarchy:
    Hierarchy ID: Object_ID
    Parent ID: ParentNo
    Element ID: Object_ID
    Position Derived:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: EmployeeID
    Sucession:
    Hierarchy ID: Object_ID
    Parent ID: <blank>
    Element ID: Object_ID
    Youalso  need to make sure the link settings are also populated.
    If you have already used these and only get part of the structure your SAP user ID may not have the required authorisations to view all of the structure. Nakisa can recommend how to setup the user.
    Good luck.
    Luke

  • How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1?

    Dear expert,
    How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1? or any t-code?
    i've try RSH1, but not found.
    Megan Wu

    Dear expert,
    How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1? or any t-code?
    i've try RSH1, but not found.
    Megan Wu

  • Help to find org.unit manager

    hallow
    here i try to find org unit manager but its not working well
    plz some one can help
    i think i have problem in dates but i not sure
    thankes & regards
    LOOP AT i_t_data INTO lw_t_data_0org.
    SELECT begda endda sobid
    FROM hrp1001
    INTO TABLE lt_relat_org
    WHERE objid EQ lw_t_data_0org-orgeh
    AND rsign EQ 'B'
    AND relat EQ '012'
    AND endda GE lw_t_data_0org-datefrom
    AND begda LE lw_t_data_0org-dateto.
    SORT lt_relat_org BY begda DESCENDING endda DESCENDING sobid.
    CLEAR lw_relat_org.
    READ TABLE lt_relat_org INDEX 1 INTO lw_relat_org.
    IF sy-subrc EQ '0'.
    l_plans = lw_relat_org-sobid.
    SELECT SINGLE pernr
    FROM pa0001
    INTO lw_t_data_0org-zzmanager
    WHERE endda GE lw_relat_org-begda " lw_t_data_0org-datefrom
    AND begda LE lw_relat_org-endda " lw_t_data_0org-dateto
    AND plans EQ l_plans.
    ENDIF.
    APPEND lw_t_data_0org TO lc_t_data_0org.

    hi
    if it help
    here is table  i_t_data and i wont to add for all orgeh which manager manage
    this org btween dates
    Regards
    datafrom     datato       orgeh       org.manager
    19690101     99991231     50002993     00000000
    19690101     99991231     50002994     00000000
    19650101     99991231     50003004     00000000
    20050101     99991231     50003014     00000000
    19690101     99991231     50003018     00000000
    20050101     99991231     50003019     00000000
    20050101     99991231     50003020     00000000
    regards

  • How to find org id for a cost center

    I want to find org id for a cost center which is segment1.segment2.segment4.segment6(le.div.acctclass.other-516.203897.343.8978) of gl_code_combinations table from database. When I log on to a responsibility in apps, I can find out org id as a profile value. But how to find it from a database for that cost center?

    Thanks Nagamohan. This functionality itself is working fine. But now when I am selecting the cost center from the table(the file is actually stored as an external table), lets say cc values are 010, 709, 840 each belongs to different responsibility, I get the value of the first responsibility initialized. So I think I will need to know the responsibility for each costcenter, pass resp id to initialize and then find out org id.
    This is my code:
    create or replace
    PROCEDURE XXIU_AA_COSTCTR_FILE
    p_file_path VARCHAR2,
    P_FILE_NAME VARCHAR2)
    AS
    c_file_handle_w UTL_FILE.FILE_TYPE;
    --end_of_file BOOLEAN := FALSE;
    v_record VARCHAR2(1000);
    V_ORG_ID VARCHAR2(3):= '123';
    v_le varchar2(3);
    CURSOR C_COSTCTR IS
    SELECT cost_center_no, cost_center_name, LEVEL1 LE, LEVEL2 DIVISION, LEVEL3 ACCT_CLASS, STATUS, INTERCOMPANY_LE
    FROM XXIU_AA_COSTCENTERS; {color:#993300}-- file stored as external table
    {color}
    BEGIN
    c_file_handle_w := UTL_FILE.FOPEN(p_file_path, p_file_name, 'w');
    FOR r in (select responsibility_id from fnd_responsibility where responsibility_id in ( 50001,50002,50822)) {color:#993300}--{color} {color:#993300}I have to find out resp id for each cost center in the loop to initialize apps for that cost center and get org id
    {color}loop
    fnd_global.apps_initialize(1234,r.responsibility_id,101);
    FOR i in c_costctr loop
    SELECT d.organization_id org_id, e.flex_value cost_center into v_org_id, v_le
    FROM fnd_segment_attribute_values a, fnd_id_flex_segments b, gl_sets_of_books c, hr_operating_units d, fnd_flex_values e
    WHERE a.id_flex_code = 'GL#'
    AND a.segment_attribute_type = 'FA_COST_CTR'
    AND b.flex_value_set_id = 1002590
    AND a.id_flex_code = b.id_flex_code
    AND a.attribute_value = 'Y'
    AND a.application_id = b.application_id
    AND a.id_flex_num = b.id_flex_num
    AND b.id_flex_num = c.chart_of_accounts_id
    AND c.set_of_books_id = d.set_of_books_id
    AND b.flex_value_set_id = e.flex_value_set_id
    AND e.flex_value = i.le
    and d.organization_id=fnd_profile.value('ORG_ID')
    and c.set_of_books_Id=fnd_profile.value('GL_SET_OF_BKS_ID')
    and is_valid_on_security_rules(1002590,i.le)='T';
    V_RECORD := RPAD(nvl(i.cost_center_no,' '),19, ' ')
    || RPAD(nvl(i.cost_center_name, ' '),100,' ')
    || RPAD(nvl(i.le, ' '),3, ' ')
    || RPAD(nvl(i.division, ' '), 6, ' ')
    || RPAD(nvl(i.acct_class, ' '), 6, ' ')
    || nvl(SUBSTR(i.STATUS,1,1), ' ')
    || RPAD(NVL(V_ORG_ID,' '),3,' ')
    || RPAD(NVL(i.intercompany_le, ' '),3,' ');
    dbms_output.put_line(v_record);
    utl_file.PUT_line(c_file_handle_w, v_record);
    end loop;
    end loop;
    END XXIU_AA_COSTCTR_FILE;
    Thanks,
    Sravanthi
    Edited by: SRANAY on Dec 6, 2008 8:49 PM

  • How to find a hierarchy of all Itmes Pages inside a Page

    Hi,
    I am using Oracle Portal 10.1.2. Need some information:
    I have a page with Items or it can have both items, sub-pages and further each subpage can have items and/or sub-pages. How can I find all the objects in a hierarchical order. How can I construct my SQL to query the back-end tables that I can query to build a hierarchy for the whatever Page's pageid I provide.
    If given a Page ID need to return all the items, sub-pages and so forth. I am trying to build a Tree structure Menu.
    I have one Top page with tabs and in each tab I am adding one Portlet i.e. a page that is published as Portlet. Now this page which is published as a portlet can only have Items added or can have n number of sub-pages underneath which in-turn can have items and/or sub-pages and so forth, just like a Folder Structure in Windows. As soon as the user clicks a tab want to show all the items/pages in a tree like format.
    Any idea on how can I proceed any help is really appreciated.
    Thanks

    Hi,
    I am using Oracle Portal 10.1.2. Need some information:
    I have a page with Items or it can have both items, sub-pages and further each subpage can have items and/or sub-pages. How can I find all the objects in a hierarchical order. How can I construct my SQL to query the back-end tables that I can query to build a hierarchy for the whatever Page's pageid I provide.
    If given a Page ID need to return all the items, sub-pages and so forth. I am trying to build a Tree structure Menu.
    I have one Top page with tabs and in each tab I am adding one Portlet i.e. a page that is published as Portlet. Now this page which is published as a portlet can only have Items added or can have n number of sub-pages underneath which in-turn can have items and/or sub-pages and so forth, just like a Folder Structure in Windows. As soon as the user clicks a tab want to show all the items/pages in a tree like format.
    Any idea on how can I proceed any help is really appreciated.
    Thanks

  • How to find Org unit User has selected

    Hi All,
    We are setting up printing on our CRM 5.0 system (Web interaction centre) and was wondering if anyone knows of a way to find out what Org unit the users is logged on as ??
    We are using Actions to print specific smartforms off for the users and need the prints to go to an assigned printer.. We are hoping to use a printer that is assigned to the 'Default Printer' attribute in the org structure (PPOMA_BBP)
    As you will be aware users can be in many positions (under the org units) in the org structure and when we log onto the Web IC we get the option of which one we would like to use... Is there a function that can read this Org unit so we can use it in the printer determination BADI to decide what printer the prints will go to ???
    Many Thanks
    Gaz

    As soon as you make the profile selection,IC sets the profile and org unit in the session.
    You can read them using
    Data: lv_prof     type ref to if_ic_profile,
                    pname       type        string,
                    orgunit     type        crmt_ic_org_unit.
    lv_prof = cl_ic_profile_service=>get_instance( ).
    pname = lv_prof->get_profile( ).
    org_unit = cl_crm_ic_services=>get_org_unit(  ).
    Thanks,
    Thirumala.

  • Images not appearing in Nakisa Org Hierarchy or Position Hierarchy

    Hi,
    I have configured Nakisa Org Structure to show photos of a few employees. The photos have been saved in the images/Portraits folder and are of the same size as the rest of the photos in this area. I have also pointed Nakisa Images to this folder in the Application wide setting. Also, I have used the Details Designer in OrgChart--> Position and edited the Images section to point to EmpDetails2 --> Personnel Number. I have also ensured that the photos have been saved as Personnel Number.jpg. Also, in the Position Hierarchy, I have done a similar mapping.
    However, the photos are still not appearing despite having published the Org Chart several times.
    I would really aprpeciate a quick response from you.
    Thanks,
    Vibhu

    Hi Vibhu,
    Have you checked the XSL files that control the images? I believe they are EmployeePictureXSL.xsl and EmployeePictureCondensedXSL.xsl. You might need to amend them to fit your solution.
    I hope that helps.
    Luke

  • Didn,t find geographical hierarchy in rsa5

    Hi Gurus,
    I have to extract the geographical hierarchy from Sap r/3 to bw.But iam not finding the geographical hierarchy in rsa5 and in rsa6.Please shed some light on this issue.
    thanks
    bhaskar

    Version 11.1.5 of iTunes was just released today. If you update to that, does that help with the recognition troubles?
    http://www.apple.com/itunes/download/

  • How to convert org hierarchy XML to CSV/Excel format using PI/XI

    Hi All,
    I am working with SAP PI/XI for the first time and need some help file conversion of complex hierarchy XML to CSV file using PI. I have done plenty of research on SDN and could find much related to what I want to do.
    Here is the example of how my input XML would look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <PartyMaster type="OrgHierarchy" name="Compass Group Owned">
    <PartyMasterHierarchy>
    <Hierarchy level="3" nodeName="Bon Appetit Sector" type="Sector" ID="A00000" refID="A00000">
    <Hierarchy level="4" nodeName="BA Division" type="Division" ID="AB0000" refID="AB0000" >
    <Hierarchy level="5" nodeName="BA East Coast Region" type="Region" ID="ABE000" refID="ABE000">
    <Hierarchy level="6" nodeName="Engstrom, John RVP" type="District" ID="ABE01" refID="ABE01" >
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    <Hierarchy level="3" nodeName="Levy Sector" type="Sector" ID="K00000" refID="K00000".
    <Hierarchy level="4" nodeName="Levy Sector Division" type="Division" ID="K90000" refID="K90000">
    <Hierarchy level="5" nodeName="Levy Sector Region" type="Region" ID="K99000" refID="K99000">
    <Hierarchy level="6" nodeName="TBA Total" type="District" ID="K9901" refID="K9901"> </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </Hierarchy>
    </PartyMasterHierarchy>
    </PartyMaster>
    I would like to get CSV output in the format below
    DISPLAY_NAME, DOCUMENT_DESCRIPTION, PARENT, EXTERNAL_ID, ORG_UNIT_TYPE
    Bon Appetit Sector, Bon Appetit Sector,constant value, A00000, constant value
    Levy Sector, Levy Sector, constant value, K00000, constant value
    BA Division, BA Division, A00000, AB0000, constant value
    Levy Sector Division, Levy Sector Division, K00000, K90000, constant value
    BA East Coast Region, BA East Coast Region, AB0000, ABE000, constant value
    Levy Sector Region, Levy Sector Region, K90000, K99000, constant value
    Engstrom John RVP, Engstrom John RVP, ABE000, ABE01, constant value
    TBA Total ,TBA Total ,K99000, K9901, constant value
    1) How do I go about this? I think I have to configure an adapter but which adapter would give me the desired result?
    2) How do I tell PI when to pick the file from and where to place it after conversion? Could this be done in adapter configuration?
    Any help will be greatly appreciated.
    Thanks.
    --Mithun

    >>> 1) How do I go about this? I think I have to configure an adapter but which adapter would give me the desired result?
    Use File adapter at the sender side to pick up the xml and use file adapter at the receiver side (message protocol file content conversion) to convert xml format to csv.
    Basically you have to configure in the file adapter (FCC) on the receiver side to get desired csv structure from XML.
    >>> 2) How do I tell PI when to pick the file from and where to place it after conversion? Could this be done in adapter configuration?
    Configure sender file adapter to pick up the file from the specified directory. Configure receiver file (fcc adapter) to drop the csv file after conversion.
    For sender adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    For receiver adapter in our case FCC (FILE content Conversion) follow the link
    http://help.sap.com/saphelp_NW04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Hope answered your question.
    Mapping area: simple suggestion. Keep input and output message same structure and do one to one mapping.  In the receiver fcc adapter configure for csv structure following instruction given in the above second link
    Note: FCC adapter does not support nested structure more than 2. So in your case you can achieve using conversion agent tool. Otherwise you might have to achieve through some graphical mapping.

  • Where to find org.apache package?

    I build ibatis source code in eclipse, but it reported many problems:
    import org.apache can not be resolved.
    import net. can not be resolved.
    could anyone tell me where to find these package?
    thanks very much!

    There are tons of packages that begin with org.apache. You will have to be more specific. Why are you building from source? Why not simply use the binaries?

  • Find org.unit of cost center

    hallow
    i have table of cost center and i wont to find all the or.unit of that belong to costcenters how i can do that?
    Regards

    Hi
    You need to Join two tables PA0001 and T527x as a data source in your query. Give the org units as a input parameter for this query.
    Another way is to check the IMG settings where the functionals have mapped org units and cost center. Since I am an ABAPer so I dont know how they do it.
    Reward points, if helpful.
    Regards
    Waz

Maybe you are looking for