Hierarchy Node- Overall query result

Hi Gurus,
       I have a query with hierarchy nodes. For example
Measure
overall result
Measure set 1
ASA
ACEI
Measure set 2
HF
AMI
In the above result the option I chose for node position is ABOVE and I get the overall result below Measure.
But i need the following result:
Measure
Measure set 1
ASA
ACEI
Measure set 2
HF
AMI
overall result
I get the desired query if my option is Node selection 'BELOW' but the result is different which is not how I wanted
Measure
ASA
ACEI
Measure set 1
HF
AMI
Measure set 2
overall result
The actual scenario has arrow marks shown upwards or downwards but hope the overall picture is clear.
Any help would be greatly appreciated.
Thanks,
Nikki

Hi Nikki,
I also have the same requirement. And i think this is how the output is going to be(ie. the overall result row at the top) when you use the option Node Position 'Above'. I don't think it is directly possible in BEx to have the Overall Result at the end with the option Node position 'Above'.
Best Regards,
Sanjay

Similar Messages

  • Hierarchy node in query rows not showing values in report

    Hi sdn
    I'm taking hierarchy node on rows and some plan and actual values on columns but i'm unable to get values in the report for only plan values
    How did I reconcile the values whether that value is available in hierarchy or corresponding value's for plan data is available in the cube,pls give me clues
    rubane

    Hi,
    Could you please share the steps you have taken to fix the problem?
    We do have a similar problem and for some reason the newly added hierarchy node for 0Profit_ctr is not showing up in the variable selection screen F4 (input selection for query execution). However we can see this node when we display that hierarchy in RSA1. I did try applying the changes recommened by Jerome but unfortunately it didn't work.
    Any help on this would be greatly appreciated.
    Thanks,
    Krish

  • How to switch ON/OFF Unassigned Hierarchy Nodes during Query Runtime?

    We have a GL Account Hierarchy based on an FSV that we use in BW reports.
    All our reports are web reports accessible via BW Portal.
    This hierarchy has an Unassigned Node also that we have suppressed (switched off) for display via Hierarchy Attributes Settings.
    When you check the Suppress Unassigned Node box the unassigned nodes do not show on the report.
    This has been working fine so far until we have this one requirement where user would like to see unassigned GL Accounts also.
    We would like to check/uncheck this flag (Supress Unassigned Node) during the query run time.
    Is there a way to control showing/hiding of unassigned node of a hierarchy during query runtime?

    Hi Ram,
    If you have set hierarchy attribute as display unassigned node, then you can simply select the root as filter in order not to display the unassignd node.
    However if you have set hierarchy attribute as suppress unassigned node, then you can't choose the unassigned node by the filter.
    So if users want both, you need to set hierarchy attribute as display unassigned node. You cannot really change this setting at runtime by user.
    Regards,
    Patricia

  • No Query Result After Using Hierarchy Node Variable (Customer Exit)

    Hi
    I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data.
    This problem happen when i change the restrictions for one of characteristic in filter value.
    The characteristic is custom Infoobject (ZCPARTNER), which like Infoobject Partner Unit.
    Previously I set the restriction with constant value, example : A500,A700,A710,A720,A730,A740 and it worked before.
    But when I change it using hierarchy node variable (customer exit), this problem is arise.
    Here is my code at ZXRSRU01
      WHEN 'ZHIEPART'. --> hierarchy node variable
       BREAK-POINT.
        IF i_step = 2.
        Read from ZZCONSGR information
          LOOP AT i_t_var_range INTO loc_var_range
             WHERE vnam = 'ZZCONSGR' OR vnam = 'ZOCONSGR'. --> read input value from consolidation group variable
            CLEAR l_s_range.
            CLEAR l_s_range-low.
            IF loc_var_range-low EQ '000000000000030000'
               OR loc_var_range-low EQ '000000000000010130'.
              l_s_range-low = 'MEZBUNITMDI'.
              l_s_range-high = '0HIER_NODE'.
            ELSEIF loc_var_range-low EQ '000000000000040000'
               OR loc_var_range-low EQ '000000000000010160'.
              l_s_range-low = 'MEZBUNITMPI'.
              l_s_range-high = '0HIER_NODE'.
            ENDIF.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    Here the hierarchy in BW system:
    XXX Cons Unit Hierarchy Set; InfoObject ; Node Name
    - XXX Cons Unit Hierarchy Set; 0HIER_NODE; ZBUNITALL
      - XXX DownStream ... ; OHIER_NODE; MEZBUNITMDI
         - ME/A730; 0CS_UNIT; MEA730
         - ME/A740; 0CS_UNIT; MEA740
      - XXX Power ; OHIER_NODE; MEZBUNITMPI
        - ME A800 - A808; OHIER_NODE; MEZBUNITMPI
        - PT Mitra xxx; 0CS_UNIT;  MEA820
    Anyone can help my problem? Thank you
    Regards,
    Satria B Tandyono

    Hi Satria,
    Instead of following code ---
    CLEAR l_s_range-low.
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    l_s_range-high = '0HIER_NODE'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    l_s_range-high = '0HIER_NODE'.
    ENDIF.
    try this ---
    IF loc_var_range-low EQ '000000000000030000'
    OR loc_var_range-low EQ '000000000000010130'.
    l_s_range-low = 'MEZBUNITMDI'.
    ELSEIF loc_var_range-low EQ '000000000000040000'
    OR loc_var_range-low EQ '000000000000010160'.
    l_s_range-low = 'MEZBUNITMPI'.
    ENDIF.
    Note : whenver the option is EQ, the system takes only low value.

  • How to filter hierarchy node in BEX query designer

    Dear experts
    We are working on FI balance sheet with hierarchy infoobject 0GLACCEXT. Example of our balance sheet is as follow:
    Parent Node A = 20
         Sub-parent Node A1 = 10
             Leaf A11 = 5
                 Leaf A12 = 5
    Parent Node B = 20
         Sub-parent Node B1 = 10
                   Leaf B11 = 5
                   Leaf B12 = 5
    We require only:
        Sub-parent Node A1 = 10
        Leaf B12 = 5
    So I filter those out in BEX restriction;  however, after we examine the report in tcode RSRT, "Sub-parent Node A1" is not shown in BEX Report, and the result is as follow:
    Parent Node B = 5
         Sub-parent Node B1 = 5
                 Leaf B12 = 5
    Are there solutions for us to show merely A1 and B12 ?

    Hi Chu
    Try the following steps.
    Initial Output
    In this example I will restrict the query for only displaying Node 8603 and leaf 9000
    Proceed to restrict the Characteristic. Please be aware of the difference between hierarchy nodes and leaf characteristic values. Also set the Hierarchy display properties to expand up to level 1.
    Execute the query again:
    Please be aware that users will still be able to expand node 8603 and see the lower level nodes/leaf. In order to restrict users from doing this set up users authorizations.
    Regards,
    Carlos

  • Exception (Aggregation) in Hierarchy nodes results

    Hi All,
    We have a requirement to sum all values (as results in hierarchy levels) based on the value of a specific characteristics. example as below is what we want to achieve. Country, Product group, materials are all characteristics and this is viewed as hierarchy in the query. In each material there is a calculation components that will shown the value of Sales Qty, Price/unit and Amount. What we want is to sum up ONLY the Amount value and presented in the hierarchy nodes so that we can see how much sales we did by product group and subsequently by country as whole. If we drill across we will be able to achieve this but we want to drill down as we have the time characteristics and variances at the columns. and no, we do not want user to drill across the calculation components. This query is used in Integrated Planning for planning purposes integrated with BO and that is the structure of the planning layout we want. "Calculation component" is a infoobject that contains 'sales qty', 'price/unit' and 'sales amount' as master data values. 
    I have tried exception aggregation on calc component infoobject for 'LAST VALUE'. and it did capture only the Sales Amount value as result for node Calc Components. But the other results node State, country and Region also takes LAST VALUE.. which is not what i want. what i want is esseentially summation of all Sales amount for each calculation components by state, country and region.
                                                       Last Year  |  Variance   | Current Year |   Jan | Feb | Mar |......
    Region X                                              200  (sum of all country's sales amount)
    ->Country A                                          200  (sum of all states' sales amount) 
       -> State Y1                                          80 (sum of all components's sales amount)
           ->Calc Components Z1                    30
              - Sales Qty                                   10
              - Price/Unit                                     3
              - Sales Amount                             30
          ->Calc Components Z2                    50
              - Sales Qty                                     5 
              - Price/Unit                                   10
              - Sales Amount                             50
       -> State Y2                                        120
           ->Calc Components Z1                   40
              - Sales Qty                                   10
              - Price/Unit                                     4
              - Sales Amount                             40
          ->Calc Components Z2                    80
              - Sales Qty                                   10 
              - Price/Unit                                     8
              - Sales Amount                             80
    any help would be appreciated...
    eddie

    Please try the below steps and I hope it should work for you.
    Instead of calculated keyfigures,try to use local formula .Because i think sometimes CKF will not give the expected result if you use exception aggregation (not sure though,but i used only local formulas)
    1. Create a first local keyfigure (Say F1)for the calculation and use exception aggreagation as 'Average' and reference characteristics as 'PDU'.
    2. Create  a second keyfigure ( Say F2) using the first keyfigure(F1) and use exception aggregation as 'Average' and reference characteristics as 'Sales Document', if you need the values based on average of the sales documents and hide the first keyfigure(F1)
    I consider Sales document is the first level and PDU is the second level ( i mean lowest  level) . Because you need to consider these sequencens as well when you design the exception aggregation.
    Likewise you can create nested aggregations based on your requirements.
    Please do let me know if it works.
    Thanks.

  • Hierarchy nodes as characteristics in a query

    Hi all,
    I would like to ask if there is a way to use hierarchy nodes of InfoObject 0cost_elemnt as characteristics in a query.
    In other words I have a grouping of cost elements in R/3 and uploaded this group as a hierarchy in BW. Now the users want to have the ability to drag and drop in a query report any node of this hierarchy.
    Can this be done?
    Thanks in advance,
    Panos

    Hi,
    I guess, if I am getting you correctly the user wants to see teh hierarchy levels individually or on adhoc basis.
    Is that right?
    Regards,
    Ray

  • Refreshing Hierarchy node variable in BEx query with change in hierarchy

    Hi all,
    We have used a hierarchy node variable on Characteristic ZECCSAC (user-defined) and used it in a BEx query with default value set to a particular node value. Upto this, it is working fine.
    The hierarchy used in the query, with the hierarchy node variable, was later changed ( and in future it can undergo changes ). Since the number of records in the hierarchy are changing, the nodenames of the hierarchy nodes are changing. But the hier node variable default value is still set to the earlier nodename for that node description. So at runtime it is giving an error "ECCS Account Number is invalid"!
    Can anyone suggest how to refresh a hierarchy node variable default value each time a query is run so that the latest nodename is always taken ?
    Quick reply will be appreciated.
    Thanks

    Hi,
    You get this with User exits.
    Thnaks

  • Hierarchy node not available in Query Designer

    Hello Gurus,
    I can find the hierarchy node variable in BW but it is not available in query designer. Does anyone know what might be the problem and a solution?
    Thanks,
    Mark

    Hi Mark,
    You said you "find the hierarchy node variable in BW but it is not available in query designer".
    How did you find the hierarchy node variable in BW? From backend SAPGUI, you will only be able to see the variable in some internal tables like RSZGLOBV. Did you mean this?
    For "it is not available in query designer", do you means that when you want to create a hierarchy node variable for this characteristic in Query Designer, you don't find this certain hierarchy node variable in the hierarchy node variable list?
    Important thing to notice is that, flat value variables and hierarchy node variables are listed separately. Did you make sure that you have chose to list hierarchy node variables in Query Designer?
    Regards,
    Patricia

  • Dynamic columns in query depending on hierarchy nodes

    Hello all
    I want to design a query with dynamic number of columns depending on hierarchy node.
    A hierarchy node is selected while running the query and user has authorization to see all subsequent nodes below the selected node.
    e.g. consider grp hierarchy with units and sub-grps as nodes.
    level1 Grp1
    levele2 unit1     :       grp2               :      grp3
    level3              :      unit2   unit4      :    unit4 grp4
    Suppose user select node Grp1, then there should be 3 columns for unit1, grp2, grp3
    If user selects node grp2, then there should be 2 columns for unit2 and unit4
    Please help. Any suggestions highly are highly appreciated.
    Rgds
    Sanjyot

    Surekha,
    Try this.
    Place heirarchy/characteristic in columns, under this place required keyfigure.
    Restrict with variable.
    Srini

  • Unable to see  hierarchy nodes for a hierarchy in Query designer

    For IO 0GL_ACCOUNT, we have many hierarchies defined.
    In the query designer when i am trying to restrict the 0GL_ACCOUNT with one of the hierarchy say Hier1 the corresponding hierarchy nodes should be displayed so that i can select any nodes of my choice and can restrict.
    Strangley instead of showing hierarchy nodes,it is showing" [ ]" with out any values.Checked in RSA1 ,the hierarchy with all nodes visible perfectly.No authorization settings created on any of these hierarchies.
    hierachy is in active state.
    Appreciate any suggestions on this.
    Regards,
    Swapna.G

    Before restricting you need to select hierarchy for the characterstic and tick the activate hierarchy display checkbox

  • Query with user-exit hierarchy variable and input ready hierarchy node var.

    Hello everyone.
    we are using several hierarchies (2005, 2006 and 2007) of the same info object 0FUNDS_CTR (one for each fiscal year). We would like to be able to use same reports regardless of chosen fiscal year (selected hierarchy) and ever more, to select node inside proper hierarchy. At the moment reports use 3 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy name
    3) hierarchy node
    Our goal is to get report with only 2 parameters:
    1) fiscal period from - fiscal period to
    2) hierarchy node
    since hierarchy name could be derived (user exit) from fiscal period.
    When user selects hierarchy node he is being asked to select hierarchy name (despite of user exit for hierarchy name) and key date (populated with current date).
    We would like to avoid step of user selecting hierarchy. Is it possible?
    Any other approaches to problem would be appreciated.
    Kind regards,
    Josko.

    Hi Jörg,
    As mentioned, I_STEP = 3 is  processed once per query, not once per varaiable.
    If this statement is placed within case-endcase for I_VNAM it never will be processed.
    Please take a look on this, it might be helpful..
    Regards
    Joe

  • Bex query is getting hanged, when trying to drill down only for one hierarchy node.

    Hi All,
    We have a bex query, in which we have multiple nodes. And we are able to expand almost all nodes except one hierarchy node called "BD1".
    when we trying expand the BD1 node, the report is executing on and on and getting hanged up.
    In RSRT the read mode is "H"
    The report is based on a multiprovider and it has 7 cubes of which 6 of them have aggregates.
    The characteristic for which we have issue is also having BWA.
    So, I am not sure why the issue is with only 1 node in the entire report. Can someone let me know the possible reasons and solutions.

    Hi Shilpa,
    The only way to show  long text is to maintain only long text for the info object.  Otherwise system always defaults to short text.
    Jaya.

  • Hierarchy node filtering - BEx 3.5 query

    Hi
    I am having a problem with a BEx 3.5 query with a filter on customer hierarchy. The filter is a variable which allows single value selection.
    When I run the query in Analyzer and get prompted for the customer hierarchy I can either type a customer number or press F4 and navigate through the hierarchy structure to find the node I want.
    When I press F4 and navigate to the hierarchy nodes I always get data for all nodes I have tried, but when I type in the node number directly in the selection screen I get data for some nodes wheras for others I get "No applicable data found".
    When I navigate in the hierarchy I can see that below each node there is a leaf with the same customer number (see example below), and that when I type in a customer hierarchy node number in the selection screen the query chooses the node for some numbers (and data is displayed) and for some numbers chooses the leaf (and no data is displayed).
    Example:
    0035 (node)
    -   0035 (leaf)
    - 11003 (leaf)
    - 11004 (leaf)
    - 11005 (leaf)
    It would be preferrable if I could type in the values directly as this would save time. So I would like to know if there is a way to make sure that the node is always selected rather than the leaf, or if it is just random?
    All help is much appretiated!
    Edited by: christian.nilsson on Sep 28, 2011 5:40 PM

    Hi
    Thanks for the answer. I tried it but unfortunately it did not solve my problem. The issue is that for some hierarchies the leaf is found instead of the node (see my earlier post).
    So if there would be a way to only search for only nodes, that could be a solution.
    Kind regards

  • Exclude a hierarchy node by using exit variable (not in query designer)

    Hi gurus!!
    I have a hierarchy for the infoObject 0COSTELMNT. Depending on the user who executes the report, the node '0599ADJUSTMENTS' must be displayed or not.
    I am trying to solve it by using an exit variable:
    Varible Type: Hierarchy Node
    Processing : Exit
    On the exit, I have entered the following code:
          IF ( sy-subrc = 0 ).
              l_s_range-sign = 'E' .
              l_s_range-opt  = 'EQ' .
              l_s_range-low = 'AJUSTES'.
              APPEND l_s_range TO e_t_range.
         ENDIF.
    But unfortunately does no work!!
    Any ideas?
    Thanks in advance
    Regards.
    Carmen Rodríguez

    Hi,
    Check the below link gives good knowledge on variables:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/579b3c494d8e15e10000000a114084/content.htm
    Reg
    Pra

Maybe you are looking for

  • ABAP/Java Stack download

    Hi all! Someday last year (2005) I visited the download area at sdn and found an item in the WebAs section. The download-item contained the abap- and the java-stack in one package for windows. I did however not download the item, which was a great mi

  • Link to Anchor on another page DW Mac CS4

    In GoLive when I clicked on the pointer to go to another page, it showed a list of anchors on that page. Is there a way to do this? Alternately I could have two pages open at once and click from the text on one page directly to the anchor on the othe

  • Opening and locating files received by email.

    I receive a email that contains an Adobe file. I click the file and below it an option to save to my computer. I click that save and presumably the file is saved to my computer. I cannot locate this file. I am doing some process wrong. Would someone

  • Apple repair: How much does it takes? (quanto tempo ci vuole??)

    hello, I bought a brand new iMac in August. after a week the bluetooth adapter was broken. I went to the genius bar in Milan (Fiordaliso-Rozzano) and the Genius confirmed the issue. They ordered the new card and they told me that within a week I woul

  • Read only message

    Hi all, I downloaded a selection data from a PA in prod server using the button'save locally' and then tried to upload the same file into the similar PA in a sandbox. But it is saying that the file is read only so is not saving any data. Can anybody