Hierarchy variable in BEx

Hey, is there a way to make a BEx characteristic variable that has hierarchies available so that the user can select between several hierachies and not just within the one? i.e. 0costelmnt has several hierarchies available but when you set up a variable you can only use one hierarchy.
Thanks in advance,
A. Berkey

If I understand your question correctly, at query runtime, you want to enable the user to just be able to select an entire hierarchy (w/o regard to hierarchy nodes).  You need use (or create) a hierarchy variable by right-clicking "cost element" and selecting either:
A). Properties
Click the hierarchy field and select the checkbox for variable entry.
or
B). Restrict
Go to the hierarchy tab of the restrict dialog window and choose the hierarchy variable.
As a more detailed scenario, you may want a user to be able to choose which cost element hierarchy to be used within the query.  Additionally, you may want the user to be able to choose a particular node(s) of the selected hierarchy.
To create this scenario (user picks hierarchy and node of selected hierarchy):  Create/use a hierarchy node variable on cost element (this can be done by right-clicking "cost element",choosing "restrict", and proceeding to the hierarchy tab of the restrict dialog window).  After selecting the variable, right-click, and choose "Select variable hierarchy".
At runtime, the user should now be prompted with two variable fields, one for the hierarchy, and one for the hierarchy node.
Note:  Within query properties, set the order of the variables where the "hierarchy" variable precedes "hierarchy node" variable.  This is useful as the values of "hierarchy node" are driven from the selected "hierarchy".
Also,
For more info on variable, please refer to http://help.sap.com.
Rod Johnson

Similar Messages

  • BEx Hierarchy variable - display 2nd noode

    Hello,
    I created a BEx 7.0 hierarchy variable. Is it possible when executing the query that the user see hierarchy starting from 2nd noode?
    Any idea?

    Hi Pascal,
    You can hide your first node also from query designer by selecting "Nodes with only one lower level node" in hierarchy properties and select HIDE from the drop-down menu.
    I hope this will help you to solve your problem.
    Regards,
    Niraj Sharma

  • Bex hierarchy variable leads to internal server error

    hi all,
    problem is about hierarchy variables. Whenever i have hierarchy variable with characteristic i get an error detailed below.
    "500 internal server error."
    "ERROR RS_EXCEPTION (000): SQL0104N  An unexpected token """" was found following "'1' AND "I"."SVER" =".  Expected tokens may include:  "".  SQLSTATE=42601
    ABEND RSBOLAP (000): SAPMSSY1 sınıfında  yönteminde program hatası: UNCAUGHT_EXCEPTION

    Dear John
    Thanks.
    Well, I have seen that the note mentioned  was supposed to be fixed with SP15 and we got this error after SP17...
    Thanks and Regards,
    Walt
    Edited by: Walter Olofsson on Jun 5, 2008 4:35 PM

  • Problem executing BEx query Hierarchy variable with default value

    My query has hierarchy variable on 0MOVETYPE char with a default value . The 0MOVETYPE variabale restriction is in Static filter area.
    I got timeout on query execution not because of amount of data but because of this hier. variable. Any ideas why?
    Notes:
    a) The hierarchy and the 0MOVETYPE characteristic are active and correct.
    b) I've tried RSRT check, but got the same timeout error.
    c) query executes fine on dev environment. I'm getting timeouts on PRD (as I say not because of amont of data)

    Hi,
    1. Try generating the report in RSRT and see if query runs correctly
    2. Looks like you are dafulating onto top node which contains whole data may be. This is not correct as it will definitely slow down the report based on amount of data it contains. Try to remove default and try first whether query is opening.
    3. You can put some lower level defualt to understand whether amount of data is the issue.
    4. Try to increase the server time out setting and see if it runs.
    Thanks and regards

  • Can we use OFFSETs in Hierarchy Node Variable in BEx ???

    Hi all,
      I have the need of using the OFFSETs in Hierarchy Node Variables. Can we use OFFSETs in Hierarchy Node Variable, PLEASE ???
        Thanks in advance.
    Regards,
    Venkat.

    I havent had such scenario - but I dont think you can do a offset on a hierarchy variable.

  • BW hierarchy variable not working in Crystal Report 2008

    Hi,
    I have created BEx 7.0 report which has hierarchy on 0customer object, the report is working fine whith hierarchy variable. I have created Crystal Report by using this query as source. I have followed below link to create grouping to get data through hierarchy variable.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BWHierarchiesinCrystalReports
    But report does not work for hierarchy variable and report is blank. When I give filter of child node which has actual data then I get report output. For ex.
    Below hierarchy for 0customer
    11396
         - 737007
         - 123456
    When I run report for 11396 then no data display but when I run 737007 child node I get report output but with blank group name.
    Can anyone came accross this issue. Please guide me . Thanks in advance.

    Thanks Ingo for your reply..
    The word filter means, I have hierarchy node variable in the BEx report that has become Parameter in CR. When I give hierarchy node variable value of parent node then there is not data display but for the child node I get the data.
    For ex. In the info cube there is data for 730707 customer but in the customer hierarchy the parent node of 73707 is 11396. I am giving 11396 in the variable pop screen for hierarchy variable. I do not see any data but for 73707 I get data.
    User does not know 73707, he always enter 11396 customer no. and he gets data in BEx query that is source of CR. but crystal report is not showing data for 11396.
    One more point I want to tell here, I am saving CR at my local system not to SAP BW server.
    Hope this clear my issue.
    Harish Swami
    Edited by: hswami27 on Jan 31, 2011 8:17 PM

  • Problem with hierarchy variable while displaying query in Portal

    Hi,
    I came up with an problem with a query in the portal.  The problem is :
    I have one query which is displayed in the portal. The Query has hierarchial selection criteria. I am executing the same query using analyzer. Its taking the variable from the selection and displaying it on the analyzer. I have used the option to " display the query on web " from the BEX query designer. From there its opening and displaying the results with the given selection criteria.
    Where as when i open the query seperately in portal, its not displaying the results.
    I came to know from one of my colleague that the porblem is with the Web item and the hierarchial variable declared in WAD  was different from the variable declared in the BEX Query designer.
    I never Worked with WAD. I tried finding out the variable definition. But i was unable to find out where the Hierarchial variable was defined.
    Please help me out regarding the same.

    The problem is sovled.
    Poornima.

  • Hierarchy variable description not displaying correctly

    Hi all,
    I'm using 0ORGUNIT hierarchy variable in several queries either based on the characteristic 0ORGUNIT, or based on the navigational attribute 0EMPLOYEE_0ORGUNIT.
    When I execute the query with 0EMPLOYEE_0ORGUNIT hierarchy variable the selection node description displays the Medium description, which is correct.
    Whe I execute the query with 0ORGUNIT hierarchy variable the selection node displays the Short description, which is incorrect, as I need it to display the Medium description.
    The settings for the object in both query properties are set to display Text Medium Length, and 0ORGUNIT infoobject Business Explorer tab dipslays text,  text type is medium Length and bex description is long text, but still when I try to select the node in the parameter selection before query execution the description differs in both cases, any idea why??
    Please advice, much appreciated.
    Thanks!
    M.

    Hi,
    I understand what you're saying, and unfortunately I can't attach any screenshots here but both queries use the Medium Description in the object properties and it's maintained in the text table /BI0/TORGUNIT as well (short and medium).
    However, the BEx Descpription is only in short and long text, there is nothing I can change or maintain about that.
    It looks like everything is as it should be, because for one query I can see the medium text properly, but not for the other, even though I'm using the exact same settings, apart from the fact that in one query I use 0ORGUNIT and in the other it's used as a navigational object 0EMPLOYEE_0ORGUNIT.
    It's a funny thing indeed....
    Thanks
    M.

  • Cannot enter value in selection screen for Hierarchy variable.

    Hi All,
    I have a hierarchy variable on the selection screen for Org unit.
    When i execute the report via Bex or RSRT i am able to enter the value directly into the selection screen input field without going for F4 help and then selecting the value.
    But when the same query is used in web template and executed the input field for the variable on the selection screen is greyed out and doesnt allow to type in the value. Only way to fill in the value is via F4 help.
    Can anyone tell why is this happening and is there any way this can be changed?
    Thanks in advance.
    -RJ

    Hi Prakash,
    I am not able to select or click on the input field of the selection screen before and after selecting the value
    CTRL+K doesnt work for me.
    The display field is populated only when i select a node from the F4 help screen.
    When executed from RSRT the field is highlighted and i am able to enter the value unlike when executed on web browser.
    The variable is Mandatory multiple single value readu for input.
    I found an article saying that for hierarchy node variables the values are forced by F4 value help as the values that are entered manually might not be unique.
    This is the link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/15839190-0201-0010-adb1-d2edd9857b0a
    I would like to know if there is a work around or setting that can be made to make it work?
    -RJ

  • Dimension based on hierarchy variable not showing attributes

    Hi all.
    I created a BEx query with a hierarchy variable on 0MATERIAL ready for input, so that when I execute the query it prompts me to select one of the hierarchies node. I created a universe on top of this query and the prompt is also present in the universe, as it should be. When I execute the webi report selecting on of the hierarchies available there is no problem. But when I execute the webi report without selecting any hierarchies (I want the report to show without the hierarchy bahavior), the dimension L01 material shows the values, but the L01 Material details are all empty.
    Anybody know a solution for this problem?
    Using BO XI 3.1 SP2 latest fixpack available.
    Regards,
    André

    Hi Ingo.
    I think I may not be able to generate this log, the basis team refuses to change the registry entries on Windows server. Are there other ways you can analyse this problem?
    I think this problem is related to the fact that the dimensions L00 to L06 have a select statement like .[LEVEL01].. and the details are like .[LEVEL01].[[20MATERIAL]].[Value], and when we run the webi report without choosing any value for the hierarchy, the !V000006 is not being properly substitute to "0MATERIAL". But this is a hunch. I tested creating a dimension with select statement .[LEVEL01] and substituting the details as well, then it works, but this is not a solution, because this "adaptation" leads to others problems and errors executing the report.
    André

  • No able to open hierarchy variable in production system

    Hi,
        I've have a strange issue in my BEX analyzer 3.5, i have kept product center hierarchy as one of the selection variable for my query, when i click the "Input help" button on my product hierarchy variable, its not opening the window were we can select values, instead of that it keeps on processing for a very long time until we click cancel button and i also checked for other variables by clicking the "input help" button others working fine, wheni try this same query in my testing system it is working fine,  Plz resolve my issue
    Thanks
    Satish

    <div class="jive-quote">Hi,
    I've have a strange issue in my BEX analyzer 3.5, i have kept product center hierarchy as one of the selection variable for my query, when i click the "Input help" button on my product hierarchy variable, its not opening the window were we can select values, instead of that it keeps on processing for a very long time until we click cancel button and i also checked for other variables by clicking the "input help" button others working fine, wheni try this same query in my testing system it is working fine,</div>
    I am not pretty much sure about this issue, but what i understand is that, when you try to open input help, the system is trying to display all the possible product hierarchy values, which i suppose the system is unable to display, as your hierarchy may have many nodes.
    Just give a try, you said your testing system has no issue regarding this, just have a view on hierarchy attribute settings in maintain hierarchy option of product center hierarchy, compare the node level drill down at initial in both the systems. I think in testing system node level drill down may be less, and in ur current system it might be more.
    Hope this may help you somewhere towards finding the solution.
    Regards
    Jeeth
    Edited by: Jeeth_P on Feb 18, 2012 9:12 PM

  • How to use hierarchy variable.

    Hi all ,
    In 0Account I have four hierarchies , please tell me how can I use all these 4 hierarchies in a single BEx query.
    Presently I am able use only one hierarchy .
    With regards

    Hi,
    If u want the user to be able to choose 1 of the 4 hierarchies, in the hierarchy tab of the properties of 0ACCOUNT in BEx Query Designer, click on the white button beside "Select Hierarchy"  and then on the white button present against the drilldown for Hierarchy Variables. Create a new variable there & then select it from the drilldown. You should then be able to use the variable & select 1 of the 4 hierarchies.

  • Hierarchy variables in UDT

    Hi all,
    We have a User hierarchy ... in that we have User Group,User Territory,User Terr in User names.
    These User Group,Terr are populating through Customer exit.
    This hierarchy is working fine Till Bex but when i create Universe on top of this in UDT, they should come as Prompt for the user to
    select Which user hierarchy he want.
    Ex:If user selects User group as part of User hierarchy then again he can be asked to choose User group.
    Please tell me how to do this.

    Hello Farzana,
    in the XI 3.1 OLAP Universes (UNV) a hierarchy variable is supported but keep in mind that the Universe will generate the Universe based on the model at the time when you create the Universe and there will always be limitations when it comes to hierarchies in Web Intelligence.
    The recommended approach to connect to BW for Web Intelligence is to use the direct link to the BEx queries.
    If you really want to use the hierarchies from BW you should look at the Analysis products and not Web Intelligence
    regards
    Ingo Hilgefort, SAP

  • Profit Center Hierarchy Variable-Prompt

    Hello,
    I'm using a heirarchy variable in BEx 7.0 query designer that is based on a profit center hierarchy object. When I execute the query, and I get prompted to choose nodes of the hierarchy, I'm only able to "include" nodes but I'm not able to "exlcude" nodes. Any ideas?
    Thanks!
    Michelle

    Remove the varaible for the hierarchy and try executing it.
    If you remove the Hierarchy variable from the query and execute the query ,user should only get the nodes to which he is restticted it could be 1 node or multiple.
    Hope you had kept Type of Authorization = " 1" Subtree below nodes in RSECADMIN of the auth object for profit center for the particular node
    Hope it Helps
    Chetan
    @CP..

  • Hierarchy display in BEX is confusing

    I am having an issue with the customer group hierarchy display in BEX:
    In RSA1 hierarchy display like this
    Customer group 1
    --Customer A
    --Customer B
    --Customer C
    In BEX (restricting characteristic or variable selection for 0customer/0sold_to) it displays:
    Customer group 1
    --Customer group 1
    --Customer A
    --Customer B
    --Customer C
    It confuses the users as to which is the correct Customer group 1 node to select for the queries. I could not find any setting that may control this behaviour.
    This is a time dependent hierarchy. We are in 3.1c
    Any help is much appreciated.
    Joe

    Hi,
    set the properties of your characteristic
    Values of posted nodes to hide
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm
    Regards
       Heike

Maybe you are looking for

  • Ipod not seen in Itunes 7.0.1

    This is a real pain. I upgraded Itunes to 7.0.1 and it stopped recognizing my Ipod. The only way I can get it to see the ipod is by stopping and restarting the Ipod service in the computer management window. But once I tunes sees the Ipod and tries t

  • Is it possible to link two or more accounts without merging?

         Is it possible to link two or more accounts without merging? For example: give access for apple id [email protected] (obviously fake and is used by John) to apple id [email protected] (also obviously fake and is used by Rose). This would only al

  • Does all ipod touch 4th have sound leakage?

      I just got my new ipod touch (4th) I had a 2nd generation one before and I turned the music on with my apple earphones on but the sound leaked so much!! I put it on the same volume as always but the sound leaked so I'm wondering if every ipod touch

  • How to share a parameterized and refreshable report with my colleagues

    I usually send monthly reports to 2 or 3 of my colleagues by email. Now I am thinking to use crystalreports.com to publish and share the reports. Which way is better to share the parameterized reports and also make them refreshable (updated), ODC or

  • System is stuck on "repairing disk errors" loop

    I have a Dell Inspiron M531R - 5535 windows 8 (or perhaps 8.1) that's a year old. It's been working fine until today. Last night I think i might have over heated but doubt it seeing as it didn't shut itself down like it usually does if it over heats