Show selected nodes of hierarchy in query

Hey Folks,
I'd like to display a hierarchy in a query. The user has to select the interested nodes and then show them as queryresult. In this context it doesn't matter if there are posted values or not.
I tried a query without any keyfigure. This query is a basic result for something else.
The problem is I use a hierarchy and select a top node and a node one level lower, but it shows me only the top node?
Does anybody has an idea?
Thanks in advance.
Greets Nico

Hello Nico,
got to the properties of your char, select Advanced and then mark for the result values (first chapter) Master Data.
regards
Cornelia

Similar Messages

  • Time-dependent hierarchy in query selection screen

    Hello all
    I am running query where input selection has following fields -
    Fiscal year variable ( e.g. i can enter 2008)
    Period variable ( e.g. i can enter 12)
    Hierarchy Node variable
    The hierarchy is time-dependent. I want that if I enter year and period as 2008 , 12 then
    my hierachy node selction pop-up should show me only that hierarchy structure which was valid in 12.2008.
    But my hierarchy selection always shows me hierachy structure that is valid on current date.
    Can anyone help me on how to achieve this?
    I have already coded keydate variable based on fisc year and period. But then how to make use of this key date variable so as to get correct selection of hier?
    Regards,
    Sanjyot

    Hi Marcio
    RSRHIERARCHYVIRT is for maintaining time-characteristics hierarchy.
    My hierarchy is based on Consolidation Groups and Units.
    But the hier is time-dependent.
    So I want that when selection pop-up opens for a hier node , it should show me correct hier depending on year and period i have enetered.
    Regards,
    Sanjyot

  • Show all nodes in a hierarchy

    Hi all,
    I am working with a report where I am showing a hierarchy. I am wondering if it is possible to see all nodes in the hierarchy, that is even if some nodes do not contain data. By default only the nodes that contain data are displayed. How do I show all nodes in BI 3.5?
    Thanks in advance!
    CL

    Hi CL,
    You can try following. 
    Make sure you have  some data in say  KF A  for the   each node  even if it is zero in the cube  on which you are creating report Add this KF A to your query and Hide the KF. Make sure you do not have any restrictions to this KF A.
    I just took example KF A  . This can be any of your KF in the cube  or a Calculated KF,
    Jaya

  • Profit center Hierarchy in query selection varaiable

    Hi,
    I am using Profit center Hierarchy node in my query selection. does it make the query execution slow.
    Thanks
    Madhu

    my query is excuting very fast in Developement where as in QAS it is excuting very slow.
    i don't know exactly what is the reason.
    the query is build on Inventory Cube ,
    some people told me that when non-cumulative keyfigures and  profit center hierarchy node used as selection the query is going to execute slow.
    i don't know exactly,if that is the case it has to apply for the developement system also.
    can anybody face this pbm
    Thanks
    Madhu

  • Execution of a planning function for a row selection of a hierarchy node

    Hi all!
    Has anyone accomplished to make a configuration, where a planning function would have been executed for a hierarchy node selection and this selection would have been made by a row selection in an analysis item? I can filter the characteristic in a lowest level by selecting rows in analysis item, but if I would select a hierarchy node, the value for the characteristic is empty. I have set the selection state by binding the item_characteristic of analysis item to filter of the other characteristics.
    I tried first to reach this functionality by filtering the characteristic with variables in planning modeller filter and determining the values of the variables during runtime by the selection of the analysis item row selection. But I can not implement it as the display hierachy and the hierarchy node selection in the analysis item  are variables and modeller does not allow selection of a hierarchy node and hierarchy by variables - even thoug it let's you do it (I receive error message saying "field hienmflag with value 5 is not correct").
    Greatful for any working solutions tips you have made up!
    Sari

    Thanks for the explanation. I come from BPS background and there are few changes when it comes to planning functions in IP.  In BPS, the planning function is a bit loosely tied to Planning Package in a sense that a planning function can use any planning package under the planning level to which it belongs.  Same is the case in IP (technically), but in BPS the planning package contains all the characteristics and key figures of the planning level and hence the function can execute correctly.  What I see in IP is that planning function is very loosely tied to Filter.  It can use any filter under the aggregation level even though they differ in the characteristics and key figures.  I have tried a PF with different filters and it executes with everyone of them!  This doesnu2019t sound right!  Am I missing something here?
    Also, you can only execute a IP planning function if it is included in a planning sequence.  An extra step!  The modeling is so intuitive in BPS that IP is a bit repulsive.

  • Problem showing the selected node element in Adobe Forms

    Hi,
    I have a Webdynpro Application with a 0..n cardinality node. The requirement is when the user selects one element of the node in my WD app, the data of the selected node element has to be shown in my Adobe Form. Now the form is showing the first element of the node.  How can I achieve this?
    Please help.
    Thanks

    Hi Arafat,
                   I have tried that already. It didn't work. As of now, I've copied the form thats working into the new project.
    But I didn't find a solution for the problem.
    Thank you,
    Vasu

  • QUERY when run on WEB and RSRT then RRI show selection screen on receiver.

    Hi,
        We have two query: Query 1 and Query 2.
        Query 1 can be RRI to Query 2.
       The variable for fiscal period and Forecast version are both mandatory. The selection for plan version is optional.
       When run this on BEx Analyzer, the jump work smoothly without pop-up of selection screen of the receiver query.
       However, when run on RSRT and Web, the selection screen is being pop-up and you need to press execute button before the 2nd query will be shown.
       The value of the variables is pass correctly.
        Fiscal Period on 1st query is being restricted by two variables.. one interval variable on Free characteristics.. and one single variable on restriction of key figure. The single variable is the one exist and passed on the 2nd query.
       Hope you can help me.

    the only thing i can think of on the wbe is a setting for opening windows in tabs or open new window under tools for rsrt not sure, did you try to run it in HTML in rsrt?
    it could be setting in SPRO for reporting worse comes to worse open a note with sap.

  • Creating a Hierarchy Viewer query

    Hello,
    I'm having huge difficulties creating a Hierarchy Viewer Query. I've looked through the source code contained withing the demo, but it seems to require great knowledge regarding the component. I'm using a three-node model, each node grouped within it's parent.
    So I created a custom View to be used as a result list for the query and this part is working just fine. I can pick the unique ID for the node I want from the search results when the user selects one, but I don't know how I can make that specific node my "anchor", my "current node", after that.
    Since I'm looking for a specific "contact_id" selected from the search results, I think the correct way of doing it is finding it's node on the TreeModel, and then setting it as my current anchor.
    Please, any tips, directions or suggestions on how can I go about doing this?
    Thanks!!

    Hi!
    Thanks for the attention, but I've been through all the basic stuff. The HV documentation only teaches the most primitive part of it. I searched all blogs related to HV, all articles I could find, I've meddled with the demo source code and all I can think of, but I couldn't find anyone who would give much insight on the mechanics of the component or how to build a really powerful search engine for it.
    As a sugestion for the developer team, it would be great if the query for this component allowed us to specify actions to be performed on all levels of the tree, instead of only the root node, since most of the time people use HV as a multi-root tree.

  • Highlight selected node in tree

    I have a tree in the left, representing my company´s departments structure and in the right, when clicked, I show the employees that are subject to that department.
    I´ve noticed there´s no visual nor code (id, class, nothing) difference between the currently selected node of a tree and the others.
    There´s a way to do that? I thought about using js, but the only way a see to do that is using a regex in the link text of that node, comparing to the variable that that was passed to the page.
    Someone?
    Thanks

    Trees currently don’t have a concept of a “current” node. You could try using lists instead; though they won’t be query based, they would have to have static values. And in the current 1.6 version you can’t have hierarchical lists, though that will be added in 2.0.
    Marc

  • Cannot deactivate hierarchy in Query

    Dear all,
    From my problem is about activate/deactivate hierarchy for query in SAP BI version 7.0 whether query running on portal or on Business Exploeror(excel).
    First of all, this query is reported about cost center value and amount.
    I set the user with authorized for responsibled cost center.
    This user can access and run this query for responsibled cost center with hierarchy display active without error.
    And i see that, this report is filter with the user authorization, that's correct.
    But my problem is ...when this user deactivate the hierarchy in the query, the message " User is not authorized" will be showned. It's mean that the auto-filter doesn't work.
    How can i set the authorization to user which can deactivate hierarchy and see data only responsible cost center?
    Thanks for any help in advance.
    Best Regards,
    Lavitra P.

    Thanks for your information.
    I have set authorization in authorization object: S_RS_AUTH (the value of this object will be cost center) and authorization is based on hierarchy node.
    Moreover, in model, character is flagged as auth-relevant. (if not set as auth-relevant, i think that the cost center will not be check as authorize)
    for checking SU53, i already done and the system require S_RS_AUTH with value 0BI_ALL which is the value of root of cost center (highest node). and if i assign this, although i can deactivate hierarchy but all cost center data will be shown ( not only responsible cost center) that user can see data in other cost center so it's not correct way to solve this problem.
    Do you have the way to set without auth-check fail?

  • How to include the not assigned nodes in Hierarchy structure

    Hi Experts,
    I am running a report which has got Hierarchy variable type. After execution of the query some of the nodes appear always under "not assigned".
    Please let me know is it possible to include these not assigned node under hierarchy structure.If so how to do that?
    Regards
    Kumar

    Hi Subbiah.
    You can also supress the "not assigned" nodes in the hierarchy maintanence by choosing: Hierarchy attributes -> Supress unassigned nodes.
    Hope it helps.
    BR
    Stefan

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Save selected node in Tree control

    I'm making this flex form for my school to add a new student
    to the DB. When the admin clicks on a button it will open a Tree
    control that displays the available courses and sections in the
    following heirarchy:
    Year>Semester>Course Name>Sections
    Now I want that when he clicks on the button Select within
    this new window showing the Tree, it will store the current
    selected node and the full path to it, so that back in the original
    form it will display the Year, Semester, Course name and section.
    I've tried using the value and selecteditem methods from the tree
    control but they are not working. Any ideas to figure out the full
    path of the selected item?

    You will need to climb back up the ancestor nodes to build
    that path yourself.
    "parent()" i believe returns the parent of the current node.
    Tracy

  • How can we show selected values of a tree in a selectmanylistbox

    how can we show selected values of a tree in a selectmanylistbox??

    Hi,
    you can use a reference to a RichTree component instance and call  getSelectedRowKeys on it. The selected rowKey then allow you to look-uo the nodes in the tree. You can use a custom selection listener on the tree to be notified about each selection. There also is an API for the de-selected row keys, which you need to remove nodes from the select many list. The select many list will get its data from a managed bean in view scope (so the values survive subsequent requests)
    Frank

  • How to select node in JTree without firing event?

    I have got standard situation. JTree in the left panel, and several edit boxes in right panel. Certainly, I have TreeSelectionListener, which on every tree node selection shows corresponding model values in edit boxes.
    I'd like to implement next logic:
    1. Something was changed in any edit box in right panel. Model has been changed.
    2. User clicks on different node in tree.
    3. Dialog "Message was not saved. Save?" with Yes/No/Cancel buttons are shown.
    Yes/No buttons are easy to handle.
    Question is about Cancel. I'd like on Cancel button left all edit boxes in their present state (do not restore values from saved model) and select back node, which wasn't saved.
    Problem is next. If I select node by setSelectionPath or smth like that, but... JTree fires event and my listener receives onTreeItemSelected back, which checks that node wasn't saved and ......
    Who does have any idea, or have done similar tasks? How can I select node and do not allow tree fire event this time?
    Thanks in advance.

    First, as soon as the model changes (when editing any
    combo box) some flag will be set. Now the logic which
    updates the combo boxes will do it only on a change of
    the current node and (this is new) if the flag wasn't
    set. You should have some flag anyway because somehow
    you must determine when to show the dialog, shouldn't
    you?Yes, I have got this logic implemented. But it's only the half :)
    I know exactly when my model has been changed, but if it was changed, i'd like to ask user what to do next - svae/loose changes/cancel
    And on cancel i'd like to select last edited tree node and do not get event from tree at that moment.
    >
    Second way, prevent selecting a new node if that flag
    has been set. You could do this by subclassing
    DefaultTreeSelectionModel and overriding some methods
    (setSelectionPath() et al).Ok. I'll investigate this.
    >
    MichaelThanks.

Maybe you are looking for