Drill Down BeX Query with hierarchy in WEBI

Hi,
I am using a Bex Query with Hierarchy in my WEBI report. Is it possible to drill down ? I am not able to use Scope of Analysis because it is disabled. I am very new to WEBI. Please help me out.
Thanks in Advance.
Lakshmi Mohan

http://www.google.co.in/url?sa=t&rct=j&q=drill%20down%20bex%20query%20with%20hierarchy%20in%20webi%20%20%20&source=web&cd=2&ved=0CDQQFjAB&url=https%3A%2F%2Fcw.sdn.sap.com%2Fcw%2Fservlet%2FJiveServlet%2FpreviewBody%2F137316-102-1-277519%2FWeb%2520Intelligence%2520on%2520SAP%2520implementation%2520best%2520practices.pdf&ei=xofcTpSgF5DJrAeaxpiIBw&usg=AFQjCNHuwDIpvxciPKJyEdoz3GiVjRKgqA
http://www.scribd.com/doc/62293080/40/Query-Drill-for-hierarchies

Similar Messages

  • Bex Query with Hierarchy on Workbook problem please help

    Hi all,
    I have a problem, Im trying to copy information from specific cells on a query that I opened using Analyser, heres the situation:
    Account            Amount    New Col
    22110200           15 dlls
    -22110201          4 dlls
    -22110202          5 dlls
    -22110204          6 dlls
    121101010000   1dlls          4 dlls
    121101020000   1dlls          5 dlls
    121101040000   1dlls          6 dlls
    4,5 and 6 dlls are amounts from the first 3 accounts, I tried simpy copying the information but for some reaseon when the report reloads the informacion is lost.
    Also I using Hierarchy to display the values so if I copy the value from cell Q700 the value will change is the levels on the Hierarchy are expanded.
    Is there anyway to do this? please help.
    Thanks in advance

    Hi,
    Thanks for the answer, Is it possible to call the Macro when the user Expands a node? or it needs to be called from a button or combination of keys?
    Thanks again

  • 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

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • BI Query with Hierarchy in VC does not get correct values

    Hello Gurus,
    I am building a model in VC for Performance Score card using Query as data service.
    I have  the following problem.
    When I execute query in BEx with Hierachy_node variable , it is getting correct values, but the same is getting incorrect values in VC.
    The Hierarcynode variable I am using is a TOP node, then the values including child nodes are also should be displayed, which is working fine with BEx query but not in VC.
    When I execute the query with hierarchy node value as child node I am getting correct values both in VC and in BEx.
    The correct values are not shown only when I use top nodes.
    Please help me in this regard.
    Thanks in advance
    Ganesh

    Hi
    We are facing the same issue. Is this issue resolved? Pls let us know the solution
    Regards
    Aruna

  • MDX for a BEx query with a characteristic structure

    Hi,
    I have a BEx query with a characteristic structure in the rows.
    Material     Structure     Measure1
    a-Material     a-Structure     ....
    a-Material     b-Structure     ....
    b-Material     a-Structure     ....
    b-Material     b-Structure     ....
    I am looking to run the query via MDX. Is that possible? If yes, how should be the mdx statement.
    Thank you in advance for your help.
    Regards,
    McGreen

    Hi,
    it will work, so long as you also include the Structure object in the WebI Query panel as a results objects.
    the SELECT syntax is much the same as a 'normal' MDX statement.
    the quickest way to tell them appart is how the Measures are called. normally, it starts:   SELECT [MEASURE.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    however, when you have a Structure, all the declarations from the start of the statement looks like : SELECT [ABC123.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    i hope this helps.
    Regards,
    H

  • BEx query with variant from ABAP

    Hello,
    I'm looking for possibility to start BEx query with variant (variant is created with tx RSRT) from ABAP. There are some funktion modules, which start queries (launch excel), for example RSAH_LAUNCH_EXCEL or RSSEM_QUERY_LAUNCH, but they are ending with short dump, when there are variables in the query. Is there any standard FM, which starts the query with variant or accepts parameters?
    regards,
    Krzysztof

    Hi,
    the short dump was my fault, I've passed query name instead of genuniid to the RSAH_LAUNCH_EXCEL.
    What I'm trying to do is to I'll start BEx query with parameters (I don't want to get selection-screen from the query, I need to fill it from ABAP).
    Here is my example, which is not working.
    DATA:
      lv_query(30) TYPE c,
      lv_genuniid  TYPE rsrrepdir-genuniid,
      ls_var       TYPE rrx_var,
      lt_var       TYPE TABLE OF rrx_var.
    lv_query = 'YB_MAKLER_DETAIL'.
    CALL FUNCTION 'CONVERSION_EXIT_GENID_INPUT'
      EXPORTING
        input  = lv_query
      IMPORTING
        output = lv_genuniid.
    IF lv_genuniid = ''.
      WRITE: / 'There is no Query', lv_query.
    ELSE.
      ls_var-vnam = 'YS_MKLE'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '0000005100'.
      APPEND ls_var TO lt_var.
      ls_var-vnam = 'YS_VTGJ'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '1999'.
      APPEND ls_var TO lt_var.
      CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
        EXPORTING
          i_genuniid                       = lv_genuniid
          I_OBJVERS                        = 'A'
          i_hide_sapgui                    = 'X'
        TABLES
          I_T_VAR                          = lt_var.
    ENDIF.
    If parameter 'i_hide_sapgui' is empty, I'm getting empty selection-screen,
    If parameter 'i_hide_sapgui' equals 'X' I'm getting selection-screen filled with values, which were used last time manualy, not with values from the internal table 'lt_var'.
    Do you have any idea how to pass parameters to the query with this function module?
    Regards,
    Krzysztof

  • BEx query with keyfigure rank in row, chars and other keyfigures in columns

    Hi All,
        I have a BEx query with Plant and Region in rows and two keyfigures(% and rank calculation) in the column. Now my requirement is to display rank in the first column, plant and % cal. in the next columns in query output.
    Query ouput should look like :
    rank plant  %
    1     XYZ    63.00
      2    ABC   76.94 and soon.
    Is any way possible to achieve this and if yes can anyone explain in detail with steps, I apprecaite your help with points.
    Thanks
    Eric.

    Hi  Jerome,
       Thanks for quick response, is there any alternate way like customer exits or etc. This is my requirement and I need to provide the users the solution. I appreciate your valuable time.
    Regards
    Eric

  • Refresh BEx-Query with variant

    Dear all,
    i have a question about refreshing Queries with variants.
    To refresh a BEx-Query (BW3.5) in a Workbook with VBA is no problem.
    For example:
    Run "SAPBEX.XLA!SAPBEXrefresh", False, myRange
    But is there a possibilty to refresh a BEx-Query with a variant (also with VBA)?
    My target is to create a VBA-Tool:
    1 which user can select a single Query and the available variant.
    2 Then push a VBA-Button
    3 After the selection no Variable-Screen will pop-up
       and the refreshing is completed.
    Thanks all

    Hi Ashok,
    refreshing Queries automatically on Workbook open is standard...
    What i need is to refresh a Query with variant (saved variable-values for a query e.g. the name of the variant is "ZMYVARIABLES").
    The user should not select an existing variant (ZMYVARIABLES)
    manually with Shift+F5 (Get Variant) on the Query-Variable POPUP-Screen.
    What i need is a codefragment which implement that all.
    Pseudo code:
    Sub RefreshQuery(QueryID As String, Variantname As String)
    End Sub
    Thanks,
    Erol

  • Universe on Bex Query with Condition

    Hi,
    I'm working on creating a WebI version of a Bex Report. I've created a universe on top of the Bex Query and then a WebI report based on the Universe. The Bex Query contains 4 conditions. They allow optional filtering of two measures, Less Then or Equal and Greater Then or Equal. The conditions are applied at the employee level of the results set, so for example, if an employee's total sales is greater than 50 and the user enters 50 for the condition then none of that employee's rows of data will appear.
    A single filter was created in teh Universe containing all four conditions. I had to update the syntax as they were all brought in using Equals instead of the GreaterorEqual and LessOrEqual. I also updated the filter key to use the @Select and the correct dimension.
    In the WebI report, only the two using LessOrEqual are functional. The two conditions that utilize GreaterOrEqual will only remove individual rows, not the enter set of rows for that employee. I've set the aggregation to sum instead of Database Delegated for the two affected measures.
    If anyone has any input on how to get the GreaterOrEqual conditions functioning properly, or a workaround that will remove all rows for an employee when their sales are not above a cert number, it would be greatly appreciated.
    Thanks,
    Jeff

    Also here is the syntax for one of the filters that is not functioning properly.
    <OPTIONAL><FILTER KEY="@Select(Total Quantity of Adjustments\Total Quantity of Adjustments)"><CONDITION OPERATORCONDITION="GreaterOrEqual"><CONSTANT CAPTION="@Prompt('Minimum Quantity of Adjustments','N',,mono,free)"/></CONDITION></FILTER></OPTIONAL>

  • 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.

  • SAP BO WebI Report on top of BI Bex Query with Authorization Variable

    Hi,
         We are trying to restrict row level data using BI 7.0 analysis authorization concept. We have an authorization variable in the Bex query and is working perfect in Bex Analyzer as well as in RSRT.
    Now we are trying to achieve the same thing in BO webI. We created an Universe using Authentication Mode SSO. We are on BOXI 3.1 and implemented SSO. When we try to run the query in WebI we get the error
       "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData..(WS 10901)"
    Just for testing purpose, when we use query filter in WebI and use Values from List, it is showing only the authorized value it supposed to show and runs well with that value selected. But we have to achieve this without the query filter in WebI.
    So are we missing some thing here or any patch issue? Please share if you have done this type of reports in BO.
    Thanks in advance for your help.
    Moorthy.

    Yes I did run MDXTEST and it gives error as 'you do not have sufficient authorization'. The reason it is giving, I guess and we are debugging that to confirm, is first it looks for 0BI_ALL and throws error which is not the case in Bex. See the following trace in RSRT trace.
    InfoObject Properties Defined
    Reading of Directly Assigned Authorizations
    Direct Assignment Does Not Include Universal Authorization 0BI_ALL
    Reading the Indirect Assignments with Authorization Object S_RS_AUTH
    Does user have OBI_ALL?
    No, the User Does Not Have Universal Authorizion 0BI_ALL
    Negative Entry in SU53 Result of Failed Check for 0BI_ALL
    Indirect assignments found; no universal authorization
    Reduction of Authorization Dimensions on Characteristics in InfoProvider
    Reduction Successful
    Thanks!
    Moorthy

  • Using Bex Query with cell definition with WEBI

    Hi,
    Currently I am using a Bex query as a datasource for a webi, normally this works ok but I am having trouble with one particular query.
    This query has cell definitions defined in the query. When i import the query into WEBI I get an MDX error.
    Any suggestions?
    Thanks
    Flash

    Hi,
    We do not see all elements of the BW query in the universe, just those not using cell definitions.
    We are currently on Business objects XI 3.1
    Using BW 3.5
    And the query runs fine using RSRT, it does show some asterix for some of the values but this can be removed by filtering on currency type in BW report
    Thank You,

  • Date Filter in BEx Query not applied to Webi Document

    Hi
    I have a simple BEx Query on 0MATERIAL - with Article (0MATERIAL) and Created On Date (0CREATEDON) characteristics in the Rows and 1ROWCOUNT key figure in the columns.
    If I restrict the BEx Query on 0MATERIAL to a single value, only that particular record is returned when I run the query in WebI - which shows Article and Created On Date.
    However, if I restrict the BEx Query to a specific 0CREATEDON date, the WebI report ignores this restriction and returns ALL records in the InfoProvider 0MATERIAL.
    If I run the BEx Query in the web, only those records with the particular restricted date are returned, so why does the WebI report ignore the BEx Query date restriction?  Any ideas where I am going wrong?
    Thanks
    Anton

    Hi Victor
    Thanks for the reply.  It turns out even after refreshing the universe structure and exporting I had to shut down Webi and reopen it for the changes (date restriction) to take effect.
    But thanks for the headsup on that bug/SAP note anyway - it is helpful to know.
    Rgds
    Anton

  • Preventing drill down after query runs

    I have an Order query with a hierarchy attached to the infoObject. I created select-option on the Hierarchy node with a node variable. When the query runs if we tell it to display 1 level it works as desired by showing the node name and total. The problem here is the user can then drill down on the hierarchy and we don't want that because we have three summary queries in a workbook and a grand total number at the bottom.
    We like the summary number but can we turn off the drill down?
    Thanks

    Hi Marcus,
    I do not know how to turn off interactive features once and for all.  But, here are a couple of ideas (implemented in a workbook).
    1. I need a certain characteristic displayed as "Key + Text".  Each time query is refreshed, I check to ensure the correct display of that characteristic.  If the characteristic is displayed correctly, OK.  If the characteristic is displayed, but not correctly, I use the OLAP command "PC02" to display it correctly.  If the characteristic is missing, I push the query all the way back to "start".  Here is code for this:
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    Dim c As Range, myCell As Range
        Set myCell = Nothing
        For Each c In resultArea.Cells
            If c = "Sales Area" Then
                Set myCell = c
                Exit For
            End If
        Next c
        If myCell Is Nothing Then
            Run "sapbex.xla!SAPBEXfireCommand", "STRT", myCell
        Else
            Run "sapbex.xla!SAPBEXfireCommand", "PC02", myCell
        End If
    End Sub
    2.  This example more directly addresses the question of restricting the interactive features.  In a workbook, the "Enable Interactive Functions" checked is stored in the query repository sheet (SAPBEXqueries) in column "O".  TRUE if checked, FALSE if not checked.  You can check to see if this has been changed from FALSE to TRUE, and if it has been changed, you can take the query back to "start".  Here is the code for that:
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    Dim bexWS As Worksheet
        Set bexWS = Sheets("SAPBEXqueries")
        numQ = bexWS.Range("A2")
        For i = 1 To numQ
            If bexWS.Range("F" & i + 3) = queryID Then
                If bexWS.Range("O" & i + 3) = True Then
                    bexWS.Range("O" & i + 3) = "FALSE"
                    Run "sapbex.xla!SAPBEXfireCommand", "STRT", resultArea
                End If
            End If
        Next i
    End Sub
    - Pete

Maybe you are looking for

  • Possible solution to many of the issues here

    Hi - I have run into a number of the issues that seen to have cropped up in the last few weeks - posting comments and a question of my own. I was having the following issues: No printing iCal No saving calendars Calendars missing Issues with creating

  • My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

    My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

  • Blurred display

    I woke up this morning and when I picked up my Iphone the screen is horribly blurred and I can hardly read the text. Everything works correctly but the display is the only thing messed up any ideas here?

  • Dynamic text and attachMovie

    OK here is my function This works to produce a simple text effect. The problem arises when I try to use it multiple times. The variable "theText" either is written twice (I only get one string twice on the screen) or the two get mixed together( half

  • Problem in login ORACLE 11G

    Hi all i install oracle 11 g in fedora 11. every thing seems be ok. but problem is that after login my database i have got following error :- SQL*Plus: Release 11.1.0.6.0 - Production on Thu Dec 9 15:21:39 2010 Copyright (c) 1982, 2007, Oracle. All r