Initialize Orgchart with expanded right leaf of the Hierarchy Tree

Hello dear all,
our client has set a requirement, that I will try to describe and ask for your help . Before that, I would like to mention two things .
First, we are using Nakisa Live 2.0 and we cannot change it .
Second, the client considers this feature as an absolute requirement for the project to go live, so we have to come up with a solution .
No, the problem .
When the OrgChart is loaded, by default it shows the first two levels of the Hierarchy structure .
What the client needs, is that we have on side of the tree expanded in four levels, and the other side, expanded in two .
So this is the Default .
_________ 80000001
80000002_________ 80000003
And this is what our client needs .
_________________ 80000001
________ 80000002________ 80000003
________________80000004__________80000005
_________80000006___80000007__80000008___80000009
What we have managed to come up is the following .
First, we set up AppResources, to expand the tree up to the fourth level, for all the branches .
Then we have enhanced the abap function HCM_GET_ORGSTRUCTURE_AS_XML_IN that returns the xml tree structure, removing all the leaves of the left branch ( which in our example is everything that is under 80000002 )  .
The idea is, that when the OrgChart Initializes, the function is called with OBJID = 80000001 (the root) while each time we click on the expand button of a subsequent  orgunit, it is called using this units value, eg 80000003 . At that point, our enhancement allows the function to retrieve all the necessary data .
When we first tried this solution, we noticed that the orgunit 80000002 comes without expand buttons, but we managed to overcome this by editing some XML files (OrgChartBoxControlsXSL.xsl, OrgChartBoxPresentationXSL.xsl, NodeDetailXSL.xsl)
But, the problem is that when we click on 80000002, the function is still not called so no data is fetched .
We did check the html code produced and it seems ok (the expand button has the following onclick attribute : Javascript:TriggerEvent('expandNode', this, '50019824', 'de93808cb2074b7eb435cc95c2e954c0');  )
So what we need is either an answer on why the function is not called, or a totally new way to implement this feature .
Thank you all for your patience and your help .

In the function module, what i did is the following. The FM HCM_GET_ORGSTRUCTURE_AS_XML calls the FM ZCM_GET_ORGSTRUCTURE_AS_XML_IN. There we call HRWPC_RFC_GET_COL_CONTENT, which returns two structures
tempobjecttable   and structuretable .
What we do there is this .
If objid = 80000001,
      if znakisalog-active = 'Y' .
        loop at structuretable where seqnr eq 4 .
          clear structuretable-pdown .
          modify structuretable .
        endloop .
      endif .
endif
where the line with seqnr = 4 is the objid 80000002 . By clearing the field pdown, we remove any reference to subsequent orgunits .
Now it is supposed that when we click on Orgchart box for 8000002 the above function will be called again, but the above code will not run and we should get the data we need .
As for the XML files, i commented out some code like that :
<!--<xsl:if test="$expand = 'True'">
     <xsl:if test="$expanded != 'True'"> -->
in order to make the expand buttons show in every case .

Similar Messages

  • Same user with administrative rights on all the servers in single domain versus domainadmin as a part of administrator group in all the servers

    same user with administrative rights on all the servers in single domain user as a part of administrator group in all the servers:
    same user is configured as administrator on all the servers in one domain at windows 2003 server. Should this user be made part of domain admin and then this can be set up in the group of administrator for all the servers.
    How this is technically different?
    If same user is set up as an administrator on all the servers in domain, will it have the same access on all the files as a domain admin user?
    dhomya

    If the account is not admin on the domaincontrollers and the account is not member of domain admins or any other privileged AD group, the account has only user privileges on AD and thus cannot perform actions like creating and managing  accounts,
    groups, OUs,policies, sites, ...in other words cannot potentially ruin Active Directory.
    I think that is a pretty big difference.
    In fact, it is bad practice to perform you daily server management with an AD privileged account.
    In regards of file access. The domain administrator will be just an admin, and thus has the privilies assigned to the local admin group, just as any other admin. But if it are different accounts they might be member of different groups assigning different
    privileges. Always be carefull when assuming resulting privileges will be the same.
    MCP/MCSA/MCTS/MCITP

  • Usage of RRI only at the leaf of the hierarchy

    Dear all,
    I have a query with a hierarchy in the row.
    I have implemented RRI to call another query and it works well.
    But I would like to restrict the RRI on a hierarchy level.
    Is it possible to use RRI only at the leaf of the Hierarchy?
    Thanks for your help
    Céline

    Hi ,
    It is possible to restrict RRI for heirarchy level.
    Generally you will jump report to report by using characteric. So while taking the referance use the character used at perticular level of the hierarchy.
    Thanks,
    Nagandla

  • Is there a way to make the highlight in the hierarchy tree darker?

    This is the highlight you see when a field in the tree is selcted. The highlight is ALWAYS very faint and the only way to see it is by looking at it from an angle.

    Hi,
    This came up before as a topic last year.
    You can change the colour of selected items in the hierarchy. However this is a Windows setting in the Control Panel.
    Have a look here: http://forums.adobe.com/message/2603870#2603870.
    Good luck,
    Niall

  • How to compress leafs of the hierarchy

    Hi guys
    I have a hierarchy  for some levels.
    Level 1
    Level2
    Level3
    i want to show the results for the Nodes. I dont want to show up the leafs. How to compress leafs
    and how to achive this
    Regards
    AK

    Hi matt,
    Root is also required.
    I cannot remove office city, coz the same hierarchy is required  for some other reports.
    I want see only
    North                         -  25
            -City1                 -  15
            -City 2                -  10
    South                          -30
              -City3                -15
              -City4                -15
    West                            -40
               - city 5              -20
               - City 6              -20
    East                             -80
            -City 7                  -40
            -City8                   -40
    I want to show the  north, west, south, east  .     values. i dont want to see the leafs
    Regards
    AK

  • Why can't I open links in a new tab with a right click anymore? And why has the toolbar removed the refresh button?

    Several basic functions seem to be have vanished from Firefox. I can no longer open links in new tabs with a right click, and the refresh browser button (and back/forward navigation buttons, etc) do not appear in with consistency anymore. How do I get these basic navigational tools back? (most recent updates are installed)
    == This happened ==
    Not sure how often
    == 7 July 2010

    * Make sure that you have the "Navigation Toolbar" and the "Bookmarks Toolbar" visible: "View > Toolbars"
    * If items are missing then see if you can find them in the "View > Toolbars > Customize" window
    * If you see the item in the Customize window then drag it back from the Customize window to one of the toolbars.
    * If, in "View > Toolbars > Customize", you do not see that item then click the "Restore Default Set" button
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • Firefox Silent updater will not work unless I launch Firefox.exe one time with Admin rights

    I am building a Firefox 17.0.4 ESR package to use for my Enterprise. Everything is working great except for the updater piece. I am using the configuration.ini file during the install with the command MaintenanceService=true turned on, and a mozilla.cfg file with updates enabled, pref("app.update.enabled", true). I am running the install both manually, and through SCCM with Admin rights, including the maintenance service. After the install runs, I open Firefox as a limited user and go to Help->About, and it says Updates are available at www.firefox.com, and that the browser is set to the ESR release channel.
    In all my troubleshooting, the only 2 sure ways I have found that make the auto updates work for a user were to run firefox.exe as an admin 1 time, or to install the base esr package as an admin after my install package. That will fix it for the logged in user only, but another user would run into the same issue. It appears that something is not installing correctly, but I cannot determine the cause.
    My install command is:
    Firefox Setup 17.0.3esr.exe /INI=%INST%\Configuration.ini

    In my organization, we have removed Admin rights from all users, but use a product that can elevate any .exe with create a policy for to run with Admin rights. We have a policy set for updater.exe and it does work for future updates, just not this first update after install until Firefox itself is run as Admin for the first time. My thought is that when Firefox and the Maintenance service are installed with Admin rights through SCCM, the maintenance service should have inherited rights from that install. Forgive me if I am wrong in my conclusion.

  • Additional User with admin rights

    Hi all,
    i checked the documentation but i could not found a possibility to create an additional user with admin rights to access the Vibe Management Console.
    Does anybody know if this is possible and how to do this?
    Thanks in advance
    Alex

    Hi Willem,
    thank you for the great post. It did the job very well.
    Alex
    >>> <[email protected]> schrieb am 1.8.2013 um 07:46 AM:
    > arlorenz;2275156 Wrote:
    >> Hi all,
    >>
    >> i checked the documentation but i could not found a possibility to
    >> create an additional user with admin rights to access the Vibe
    >> Management Console.
    >> Does anybody know if this is possible and how to do this?
    >>
    >> Thanks in advance
    >>
    >> Alex
    >
    > Hey Alex,
    >
    > Yes, that's possible. It's somewhat a twofold/threefold process, as
    > you have to give an accounts right to administer the zone, and then also
    > have to give that account rights to the personal workspace root (to be
    > able create/delete user accounts) and any workspaces that need to be
    > administered.
    >
    > I always create an vibe-admins group (local group) that gets the rights
    > to the zone and workspace roots. Then add the needed users to that
    > group.
    >
    > Access for the zone can be set within the administration console:
    > https://www.novell.com/documentation...ata/bk4saug.ht
    > ml
    >
    > Then add the needed rights on the workspace roots, Global, personal &
    > team workspaces.
    >
    >
    > !Do note that admin is the only user that is not allowed to get
    > blocked. Other admin users can be filtered out via ACL's.
    >
    >
    > Cheers,
    > Willem

  • SP2010: Users with Contribute rights can Add but not edit items in Calendar View

    Hello,
    One of our users was recently trying to update a Calendar item in the Calendar view, but was unable to do so. Here are the facts of the case:
    - The members of the user's group have Contribute rights on the Calendar list, and on each of the specific Calendar items tested
    - I logged in as a member of the same group and am able to Add items in the calendar view, but when I click on an item title the Ribbon options (including Edit) are not available - whether I created the item or not
    - While logged in as a member of that group, I can edit calendar items using the Allitems view, using the dropdown menu and Edit Item (if I click on the item title, I get the item details without the Ribbon)
    - I created a new Calendar view ("Calendar2") but the problem was the same
    When logged in with admin rights, I get the Edit ribbon when I click on an item title from the Calendar view. Is there a way to do the same for non-admin users? Thanks. 

    Hi,
    According to your post, my understanding is that you were able to add items into a Calendar List, but you couldn’t edit some items of the Calendar List in Calendar View as a member of your group with Contribute rights. And if you edit the Calendar List’s
    items in the “All Events” view or log in with admin rights, you can edit these items.
    Therefore, I wonder if you use the “Calendar Overlays” to display some items of other Calendar Lists in the current Calendar List as John suggested.
    And if you don’t have permissions to edit items of other Calendar Lists, you can’t edit those items of other Calendar Lists in the current Calendar List in Calendar View.
    So, I recommend that you should check if using the “Calendar Overlays” to display some items of other Calendar Lists in the current Calendar List at first.
    If yes, you need to check if you have permissions to edit items of other Calendar Lists.
    For test, I suggest that you can create a new Calendar List and test to see how it works.
    Best Regards,
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to ensure a hierarchy tree's node is a internal leaf???????

    as the title,if the node has the property to indecate it is a internal leaf!

    Hi
    To create an internal leaf node for a hierarchy tree item:
    1. In the hierarchy tree, select the parent node for which you want to
    create an internal leaf.
    2. Right-click on the node and choose Create Internal Leaf from the
    context menu, or choose Tree > Create Internal Leaf from the main
    menu.
    3. MDM adds an internal leaf node named u201C[parent]u201D as the first child of
    the selected node.
    NOTE ►► The name of the internal leaf node is the name of the
    parent node in square brackets ([]).
    For more details refer to pages 333 onwards in Data manager reference guide.
    best regards
    Ravi

  • Error in the hierarchy structure - Data Load Failure

    Hi
    We are having a regular Master data hierarchy Full load: 0WBS_ELMT. This data load is from the SAP R/3 source system. It was failed today with following message:
    Error in the hierarchy structure     
    Node ID 00016749 does not exist.
    Node ID 00005867 starts an endless loop
    Node ID 00001367 has not been included in the hierarchy
    Can any one help me out to solve this issue?
    Best Regards,
    Venkata.

    hi,
    refer to this thread.
    No hierarchy displaying in the Maintain Hierarchies

  • How to get the hierarchy in update rules

    i want to update the material hierarchy to the open hub data file
    i create a update rule(transformation)
    and i want to get the node name at the last level of the hierarchy tree above the material level
    how can i do this?

    no
    for example
    now we have maintain the hierarchy of material like this:
    026(level 1)
    -026/100(level 2)
    -026/200(level 2)
         |-026/20010(level 3)
         |---800501234(level 4)
    in this hierarchy tree,the material 800501234 is in the level 4
    and i want to get the last level hierarchy node above the material
    for 800501234,the hierarchy node is 026/20010
    so
    i want to export the data like this:
    hierarchy id      |        material
    026/20010        |        800501234
    how can i do this?
    Edited by: Yang Zelphar on Mar 25, 2009 5:03 AM
    Edited by: Yang Zelphar on Mar 25, 2009 5:04 AM

  • I have garage band on my I pad and from what I can tell I have done everything right with the latest versions and icloud turned on for the app and phone. I have a cloud in the upper right corner of the song but when I go to my icloud drive on a brows

    I have garage band on my I pad and from what I can tell I have done everything right with the latest updates and icloud enabled on the i pad and app. A cloud is in the upper right corner of the song but when I look on my icloud drive on a internet browser on my PC it is not there. Any reason why?

    Bring your phone into Apple for evaluation

  • I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders

    I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders app for the COMPUTER that is more user friendly?

    sgreenie,
    If you are willing to wait, Apple - OS X Mountain Lion - Inspired by iPad. Made for the Mac explains that a "Reminders" application will be included in the next release of OS X.

  • While using Skype on my mac pro the screen freezes and splits in two and the left hand side shifts to the right and the right shifts to the left with a large black block down the centre, should I take it back to store as it is only a month old??

    I have only had my mac one month and it seems while I use Skype the screen freezes and I cant click on anything and everything on the right hand side of the screen shifts to the left and the left to the right with a back block down the centre and sometimes lines running down the screen over all. As it is almost brand new should I be going back to store to get this problem fixed??

    Yes.  You are still under warranty.  Why waste it?

Maybe you are looking for