Drill Down Macro command BEx Analyzer BI 7.0

Hi All,
I'm having the following poblem. I'm working as a testautomation specialist having automated a test using (amongst others) the BEx Analyzer (SAP BW 3.X).
In short, when the results of a query are shown in an excel sheet, I automated the vertical drilldown of every row in that resultssheet. I used the BEx Analyzer macro command: Run("sapbex.xla!SAPBEXfireCommand", "HDEX", myCell).
Since we are going to use the new version of the SAP Bex Analyzer (BI 7.0), I have to convert/migrate all my testautomation scripts. And I just can not succeed in making this vertical drill down work in SAP Bex Analyzer 7.0. The SAPBEXfireCommand is not supported in SAP Bex Analyzer 7.0. Does anyone has an idea what SapBexAnalyzer (Excel) macro I can use to drill down in  SAP Bex Analyzer 7.0? Any help really appreciated, I'm really struglling with this one and also no luck finding any solution on the internet so far.
Thanks!

i'd suggest u research some oss notes.
Take a look at the following:
1073426
1045244
1039191
these may not be exact solutions, but will guide you to other notes as well...

Similar Messages

  • Which macros does BEx Analyzer use? How to call the refresh macro?

    Hi everybody,
    I would like to get an overview about which macros the BEx Analyzer uses, espacially the macro which is responsible for refreshing the workbook. I want to know what BEX Analyzer is doing when I open the variable screen, I assume there is an SAP macro that opens the variable screen?? I tried to look in the online help at help.sap.com but couldn't find a list of macros.
    The idea behind this is, that I have a BEx workbook with 5 queries in it. A colleague now wnats to write a VBA code that calls the variable screen, enters  company 1, period and year, runs the workbook and saves it. Then opens the variable screen again, enters company 2, period year, etc etc etc......
    What my colleague needs to know is which macro he has to call for the workbook refresh / variable screen in order to make his VBA coding.
    Many thanks in advance!!
    Michael

    Which version of Bex are you using ? Bex 3.5 or Bex 7 ? This will significantly affect the answer.
    For Bex 3.5, here is some useful information;
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a55f9e09411d2acb90000e829fbfe/frameset.htm
    Edited by: Charlie Belt on Jun 7, 2011 9:12 AM

  • Problem with the Drill down in the BeX Query Report

    Hi Experts,
    I have a problem when drilling down the characteristics in the BeX Report. There are nearly 125 fields (characteristics) all in Free Characterictics. After executing the Query, in the report when i am selecting one characteristic for drill down i am getting the values of another characteristic. This is not happening to all 125 fields.
    Please let me know where is the problem and give me some suggestion what we can do with this.......

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

  • Drill down in structure BEX

    Hi All,
    I have a BEX query in which I created a structure with two selections, SELECT1 and SELECT2 .
    Detail of selection --> SELECT1
                  ACCOUNT = 122555
                  CHART OF ACCOUNT = MAPC
    Detailof selection  --> SELECT2
                 ACCOUNT = 777777
                 CHARTOFACCOUNT =MAPC
    When I execute the query i have this result :
    SELECTION
    AMOUNT
    SELECT1
    40
    SELECT2
    60
    Aafter when i drag and drop the account from the filter,i have this result
    SELECTION
    ACCOUNT
    AMMOUNT
    SELECT1
    122555
    40
    777777
    SELECT2
    122555
    777777
    60
    Its possible to modify the query to have this result ?.
    SELECTION
    ACCOUNT
    AMMOUNT
    SELECT1
    122555
    40
    SELECT2
    777777
    60
    Thank you.

    But in each selection its possible to have a several accounts.
    For exemple , i can add the SELECT4 in the structure ( with acount = 222222,897777,566888)
    and i get this result :
    SELECTION
    ACCOUNT
    AMMOUNT
    SELECT1
    122555
    40
    777777
    333333
    222222
    897777
    566888
    SELECT2
    122555
    777777
    60
    333333
    222222
    897777
    566888
    SELECT3
    122555
    777777
    333333
    80
    222222
    897777
    566888
    SELECT4
    122555
    777777
    333333
    222222
    20
    897777
    19
    566888
    30

  • Drill down in webi on Bex

    HI,
    How to perform drill down when using BEx query as source at web i level (there is no hierarchy created in BW)

    Hi,
    This is explained in Web Intelligence BI4 user guide (paragraph "4.5.1 Drilling on report data")
         You cannot use a Navigation path on BEx queries. Navigation path (previously called the drillpath)      has been replaced by the collapse/expand workflow on the real hierarchy.
    Regards,
    Loic

  • Drill Down in DP

    Hi,
    I want to make a copy using a macro.
    One option I tried was to drill down until the lowest levels, so I tried to use the drill down function.
    How can I see the effects of the drill down function in the interactive table (SDP94)?
    Is there an easier way to copy one Key Figure to another with the macros?
    Thanks in advance.

    Hi,
    I really not catch on hold to your requrierement, but as i understand to give you inputs on drill down
    1.  To copy keyfigure to keyfigture we no need to use a drill down macor, we can choose the level of copy during the macro run in background. Explore the options at /SAPAPO/MC8E.
    2. If wokring in interactive demand planning then to copy at some lower level probly we need to drill down and run the macro interactively
    3.I still agree we use drilldown macro to copy but that is really extreeme cases.
    4. we use drill down macro as a default macro on planning book, as many times to check the level and open a kefgire. let say, i want to open my Sales manager keyfigure only when the CVC is looking at Brand and customer level...., if any other level you are looking at the keyfigure is not ready for input.
    Let me know if you need any more information, as i am not clear on your requirement
    Yarala

  • Error in Bex Analyzer including the filter button command in Callback macro

    Hello,
    I have the following problem with the function filter button in the Bex Analyzer included in the callback macro:
    Because of using 2 hierarchies in the filter the setting drill down to level 2 in the query gives no right output in the Bex Analyzer. The drill down level 2 is not shown. SAP recommends the include of a filter button to solve this problem. With a filter button in the sheet the problem was solved.
    But after including the filter button command in the callback macro I get an error in MS Excel.
    The callback macro starts, the filter was set by the user and the data was refreshed. Because of the refreshing of the filter the callback function the callback function starts several times. After setting the filter the first time, the following macro avoids the several starting of the set filter function:
    Sub CallBack(ParamArray varname())
    On Error GoTo err_handler
       Dim lRange As Range
       Set lRange = varname(1)
    'Filter entfernend/delete filter
    Dim ZeichenFilter As Long
    ZeichenFilter = Len(Sheet4.Cells(41, 3).Value)
    Dim Filter1 As String, Filter2 As String
    Filter1 = Left(Sheet4.Cells(28, 3), ZeichenFilter)
    Filter2 = Left(Sheet4.Cells(41, 3).Value, ZeichenFilter)
    If Filter1 <> Filter2 And Filter2 <> "" Then
        onAction = True
        onAction = False
    End If
    'Filter setzen mit einmaligem durchlaufen/set filter and run one time
    If onAction = False Then
        onAction = True
        Call Sheet4.BUTTON_55_Click
        onAction = False
    End If
    exit_handler:
        Exit Sub
    err_handler:
        MsgBox Err.Description, vbOKOnly, "Error in " & " setMusterSub"
        Resume exit_handler
    End Sub
    After the filter was set the callback macro starts the second time. Then the Bex Analyzer erros with the sandglass. The working on VBA is possible, but not the working with Bex Analyer . Values in Excel weren’t shown.
    How can I avoid this error?

    Once I am adding VAR_VALUE_1 to the static parameters, the system generates two messages error:
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program SAPLRRS2 and form GET_SID-1
    Best Regards,
    Hanit

  • BEx analyzer don't work move columns in report (like drill down)

    Hi
        I have an issue on BEx Analyzer...    When I built one report... add some characteristics and soo on... but then I need to move the order of columns... then I try to drill down.. or move to order of column... It doesn´t work,
        I did this function before.. when the poin of the mouse it's convert with other draw... like -->
                                               <--
        But this time it's not possible...
        Then If I press the icon that say design mode... I saw that the option of navigation is active... and when I close the design mode... the functionality of move columns work...:(
        It's difficult that each time that the user need to move columns in Bex will go to design mode... just for activate.. 
        I know thta we have some function on context menu.. for move columns one by other... but not for certain position..
        Could you help me please?
        I will appreciate your help and I will assign points for your answers.
    Alice

    Hi Alice,,
    This happens some time, when i am unable to drill down by just dragging and dropping the columns. though i could not find out why. Best thing, what i do, i refresh the query and next time it works Ok.. and other th ing what you can do, right click, on the characteristics list on the left pane, go to "change drilldown", then " drill down by" there the user can select the option he is looking in for.
    Hope this helps.
    Shakeel.

  • Drill/Down don't work and Characteristic is deleted after filter in BEx Ana

    Hi All, please help me experts
       I have 2 issue:
    1.- When I execute a Query in BEx Analyzer I got the first result, I can add other characteristics just to click on this.. or with context menu.. but later If I try to move de order of columns in the report the function for drill down doesn't work.  Then, I need to click on Design mode and then click off design mode... and the function for drill and down is actived, then only I can click on the characteristics and move to other column into the report. Please if you can tell how can I activate this functionality  without need to move to design mode..
    2.- When one characteristics is filter in to the report, example select some values for this characteristics and click on execute, I get the result but this characteristics dissapear form the report.
      Please help me I will assign points for the answers.
    Alice

    1. You will find this option beside ? in Add-Ins. In that Settings --> BW Server Connection.
    + Not I didn't find... for example I saw... File.. Edit...view.. Insert... and others exactly like when you enter in excel ... the only difference it's that I saw activated the tool bar for bex analyzer.. on where I saw .. design mode... refresh..etc.+
    2. If you select the field in Free characteristics and restrict it with a variable in query designer mode, you will get that characteristic in variable screen and you can give the selection and you will not get that charcteristic in the output as you have taken that in free characteristic. Only if you do drilldown accross rows for that characteristic, then it will appear.
    If you take that into Rows in query designer mode, then you will get the same for variable selection and as well as in the output without drilldown accross rows. It will be displayed automatically.
    +The clear example is:  I have one free characteristic in report, like 0MATERIAL, this characteristics didn't have any restric value... then the user add 0MATERIAL into report just for see more details... later if the user filter 0MATERIAL with some values and click ok, the column 0MATERIAL dissapear from the report +
    did you have another idea to solve this?¡
    Thank you a lot.
    alice

  • Drop-Down-Box (F4 Input Help) for formula variable in BEx Analyzer (BI 7.0)

    Hi Gurus,
    is it possible to get a drop down box for a ready for input formula variable in the BEx Analyzer (not BEx Web!)?
    We want to let the users choose scaling factors 1, 1000 or 1000000 (implemented via this formula variable). In the settings of the formula variable you can only choose a default value but there seems to be no option to provide all three factors in a drop down box like the ones for characteristic value variables.
    We could prevent other entries in the variable pop up via customer exit (i_step 3) but the business is wishing an F4 input help like the ones for characteristic values.
    Thanks for your help,
    Marco

    Hi Macro,
    Its not possible to get drop down box for a ready for input formula variable. Because it is possible only for characterstic value variables but not formula variable.u donnot get any drop down box like ready for input for formula variable.
    Regards,
    Premalatha.C

  • Drill Down in webi same like Bex?

    Hi,
    in BEx query if i have a free characteristics i can right click on result section and drill down to which characteristic i want. is there i can do the same way in webi?
    when i click on Drill in Analysis tab i dont see any objects there to select.
    Please help me.

    Hi Kool Sudha,
    In webi, There are lots of functionality just like Drill down, Fold-unfold, Hierarchy display etc.
    or Either there is other Reporting tool Olap Analysis its look like your analyzer.Just try that one.
    http://scn.sap.com/docs/DOC-7679
    Regards,
    Anish

  • Bex Free characteristic drill down in Web i report

    Hi
    I have a question, we are using bex query as source for our web i report.
    for that if you have an idea on Bex query analyzer, we can drill down on a free char list in bex and each and every drill down bex query go back to cube and fetches and refreshes the data based on the selection.
    In the same way can i get the same feature in Web i report, when i drill down my web i report should go back to the Bex query
    and should refresh the data.
    Any help in this regards is greatly appreciable
    Thanks in Advance,
    Swaraj.

    Hi,
    What you described is an OLAP 'slice and dice' type workflow - try the Analysis web application (in bi4.0 launch pad). WebI can do some drill down,  but it is really best at consuming small chunks of rowsets (not 'flattened' OLAP datasets)
    webi does go back to hit the database,  but only when you click "refresh".  so you can add a new object, and it sometimes says "#TOREFRESH" - then user refreshes to expand the scope of analysis.
    this process was automated in XI3.1 (where the interface didn't prompt for the refresh) and customers typically complained of slow response times. i.e. they didn't realise the inclusion of a results object fired a new query.
    Regards,
    H

  • Drill down on all values of a row from bex universe

    Hi
    We had developed BO universe on bex query, and as in web i the whole row will come as a single object.
    so when we drill  on the row the drill is not performing on the whole row rather its happenig on a single value of the row
    Ex:- if we have rows named as US, china, America, Japan, Gross sales, invoice etc
    when wen i drill on any row for lets say US, and i drilled on currecy type the drill is happening only us from the row.
    But we need this drill on whole values of the row,
    if aware of bex analyser, we need the same drill down future as in bex.
    Any help in this regards is appreciable.
    Thanks in Advance,

    Hi,
    Your code seems to be right.
    Try writing the code as the below format.
    CASE SY-UCOMM.
    * CHECK FUNCTION CODE
    WHEN '&IC1'.
    * CHECK FIELD CLICKED ON WITHIN ALVGRID REPORT
    IF SELFIELD-FIELDNAME = 'LIFNR'.
    * READ DATA TABLE, USING INDEX ROW USER CLICKED ON
    READ TABLE IT_FINAL INTO WA_FINAL INDEX SELFIELD-TABINDEX.
    * SET PARAMETER ID FOR TRANSACTION SCREEN FIELD
    SET PARAMETER ID 'BES' FIELD WA_FINAL-LIFNR.
    * EXECUTE TRANSACTION 'XK03',AND SKIP INITIAL DATA ENTRY SCREEN.
    CALL TRANSACTION 'XK03' AND SKIP FIRST SCREEN.
    ENDIF.
    ENDCASE.
    Thanks
    Arbind

  • Drill down ( Collapsible Row ) Report in BEx query designer ?

    Dear Friends!
       I am supoosed to create a report drill down report for Purchasing History to be precise,  I know that we can have drill down feature using heirarchy but is it possible for Us to have PO & PO item heirarachy ? or any other way to do drill down reporting in SAP BEx Query designer ?
    like my current report is : -
    | Vendor | Purchasing Organisation | Purchasing Group | Plant | PO Number | Item | Material / Service | Description | .... ( keyfigures) |
    Now I am supposed to create a report  in which
    normal view
    | Vendor | Purchasing Organisation | Purchasing Group | Plant | |> PO Number| .... ( keyfigures) | Payment |
    drill down or collapsible view ( please consider the heading as data I am not talking about dynamically change of  headings ).
    | Vendor | Purchasing Organisation | Purchasing Group | Plant | V PO Number | Item | Material / Service | Description | .... ( keyfigures) |
    is there anyway to design the report in above mention manner ? you any input will be appreciated greatly.
    Thank you so much!
    Regards
    Naim

    Hi Naim,
    usually we don't do the transactional data as hierarchy.  not sure the reason behind your requirement.
    we can do one of the below :-
    1. To have the default view as
    | Vendor | Purchasing Organisation | Purchasing Group | Plant | | PO Number| .( keyfigures) | Payment |
    and then user can drill down on rest of the characteristics for detailed view later on.
    2. or if they don't want to drill down on characteristics;-
    we can build 2 reports , one for header level information and then jump to second query for detailed information(item level) using RRI.
    first query:
    | Vendor | Purchasing Organisation | Purchasing Group | Plant | | PO Number| .( keyfigures) | Payment |
    second query:
    | Vendor | Purchasing Organisation | Purchasing Group | Plant |  PO Number | Item | Material / Service | Description | .... ( keyfigures) |
    Let us know if this works out?
    Regards,
    Sakthi.

  • Command in Bex-Analyzer

    Dear BI fans,
    We are now playing with the Bex-Analyzer and we try to see how much we can do to make our reports as user friendly as possible.
    To do this we would like to define some buttons to trigger some commands/ commands sequences².
    We have been able to use the commands that the command wizard offers in the Bex-analyzer but by checking the documentation we saw that it should be possible to use all the Dataprovider specific commands available in the Web API (http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm).
    We tried many of them like DRILL_DOWN, REMOVE_DRILL_DOWN but without any success... We probably make some error in the syntax..
    Does anybody have an example of such command working in the Bex-Analyzer?
    Any help would be appreciate
    Best regards,
    Rodolphe

    Dear srikant,
    Many thanks for the info... But we had already that document - anything about other commands? Like DRILL_DOWN, REMOVE_DRILL_DOWN, SET_SELECTION_STATE...
    Best regards,
    Rodolphe

Maybe you are looking for

  • Report to Monitor the change of delivery address on the delivery document

    Is there a report that can show me when a user had changed the delivery address in a sales document or delivery document. The ship to # would stay the same but the address can be changed within the sales document which does not effect Master Data rec

  • How to get document's length of JTextPane

    Hi all, I loaded the content of JTextPane by invoking setPage(URL url), but the length of the styledDocument is ZERO textPane.setPage(new URL("http://www.google.com")); StyledDocument doc = textPane.getStyledDocument(); System.out.println("doc.getLen

  • Why do I have to enter my Apple ID password every time on the iOS app?

    Every time I open the iTunesU app on my iPad I need to authenticate. I'm guessing it is due to being a course creator but is this really necessary?

  • Hp envy7640 for Mac OSX 10.6.8

    My Macs are 1st generation Intel PC's . They use OSX ver 10.6.8, the highest version my MacBook and iMac can take. I just replaced my older HP with the Envy 7640. It connects to my Wi-Fi just fine. My Android phone, my iPad print from it, as do my ol

  • Standalone/debug flash player for arch64

    Hi, Is there a way to get the standalone and/or debug flash player to run under arch64? There is no 64-Bit version of those ... Thanks! Nathan