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

Similar Messages

  • Commands in Bex Analyzer

    Hi,
    I have been able to use the commands that the command wizard offers in the Bex-analyzer but by checking the documentation I 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).
    But it seems that you have to address them differently, e.g. SWAP_AXES does not work.
    How do I use these commands in the Bex Analyzer?
    Kind regards,
    Eric.

    Hello,
    Search the same in this doc
    [Web API Reference - Release 3.5|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee]
    Thanks
    Chandran

  • Commands in BEx Analyzer 7.0

    Hello Experts,
    I work in the Expert Mode of the BEx Analyzer. I need Buttons for my Columnselection (KF).
    I try to switch the Columns in the BEx Query.
    In Buttons Settings are Commands that I not understand. For Example:
    FILTER_IOBJNM
    CMD
    FILTER_VALUE_EXT
    FILTER_COLLAPS
    Someone a Docu or a Link for this Commands ?`???
    THANKS
    barish

    Hello,
    Search the same in this doc
    [Web API Reference - Release 3.5|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee]
    Thanks
    Chandran

  • 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

  • Global working Command-Box in Bex Analyzer

    Hallo everybody,
    i have the following Problem in creating a Planning book in Bex-Analyzer (Excel):
    My Problem is to allow the user to add to every Attribute a comment field in a Bex Analyzer Workbook witch is global available to see. That means that the command field is available for every user which open this Workbook in Bex Analyzer an also can be filled with information.
    Have anyone an idea for a result of this Problem?
    Thanks.
    David

    Hi,
    when you open the Saved Query/WorkBook from your desktop
    System will prompt you for Access Rights (Credentials)
    This is because you will have More than One Server in the GUI
    Select the appropreiate Server/System
    and Click ok
    Then give the Client ID ,User name & Password
    The Query /Bex get opens for you
    Thanks
    HARI

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

  • Button in BEx Analyzer

    Hi,
    I need to use a button in BI 7.0 BEx Analyzer in a workbook with the function similar to the context menu "Back" in BEx.
    What are the command and parameter settings for this button?
    Thanks.

    Used the command "BACK". Problem solved.

  • Bex Analyzer 7.0 - BexEventHandler in Netweaver 2004s

    Hi, I noticed that in Bex Analyzer 7.0, there is a new class called BexEventHandler which gets hit each time I select a cell or a worksheet within my VBA code.  This did not happen in Analyzer 3.5.  And because of this, I am experiencing major performance issue in my macro.
    I have a workbook that contains 10 queries (10 worksheets) and a VBA code that merges all the data from the queries into 1 single worksheet.  Upon conversion to 7.0, my code is now running extremely slow as it is always going to the BExEventHandler class at each cell.select or sheet.select.
    Does anyone know how to bypass this BexEventhandler in Bex Analyser 7.0??
    Would appreciate any feedback you can provide.
    Thanks,
    Sheila

    Hi, I found the command in VBA that does disables the Bex event handler code.
    Application.EnableEvents = False
    Set this to false before your code starts and set it to true again after your code.

  • BEx Analyzer: Use Of Variable Values For Planning Sequence

    Hi experts,
    I want to start a planning sequence using a button item in a BEx Analyzer workbook. The planning sequence itself is defined with several variables, that are input ready. The same variables are used in BEx Queries that are bound to DataProviders in the workbook. Therefore the variables are filled by the user, if the workbook has been started. If the user wants to start the planning sequence, that is defined on the button item, the same variable values (which the user has already set in the beginning) should be used. But I didn't find a way to fill planning sequence variable from variables (like it is possible in the web interface using the DataBinding function). It seems, that it is only possible to set the variable with static values, that are defined in the button item. Am I erring in this point?
    Anyone here who can help me regarding this issue?

    Eitan Ohayon wrote:
    Why did you raise this question?,did you face any problem?
    Hi Eitan,
    The problem was, that the planning sequence worked fine in web but not in analyzer. The system told me in web, that several records had been read, created, changed and deleted. System messages in BEx Analyzer always indicated zero reads, creations, reads and deletions.
    Using your idea to set breakpoint in the INIT_EXECUTION method gave me the information, that all variables are not set or set with initial values (like '0000' for fiscal year). This seems to be the reason for my problem. Now I've reduced the planning sequence definition on the button only to that variables, that are really needed. Furthermore I defined the Command Range to get dynamic values for the variables from the excel sheet grid. So it seems to work.
    Thank you for your help!

  • Using button control in BEx Analyzer to filter on multiple items

    I'm trying to create a button control in BEx Analyzer to duplicate the following command:
    DATA_PROVIDER=*&FILTER_IOBJNM_1=<StructureID>&FILTER_IOBJNM_2=<StructureID>&FILTER_IOBJNM_3=<StructureID>&FILTER_VALUE_1=<Item1>&FILTER_VALUE_2=<Item2>&FILTER_VALUE_3=<Item3>&MULTI=X
    where <StructureID> is the technical name (the 25-character alphanumberic string) of the structure I want to filter on, and the three items within the structure have technical names <Item1>, <Item2>, and <Item3>. This command works fine on the web, but when I set up a button in BEx Analyzer with the following attributes, it only filters on one item:
    Name             Index  Value
    CMD              1         SET_FILTER
    DATA_PROVIDER    1         DP_1
    FILTER_IOBJNM    1       <StructureID>
    FILTER_VALUE     1       <Item1>
    CMD              2         SET_FILTER
    DATA_PROVIDER    2         DP_1
    FILTER_IOBJNM    2       <StructureID>
    FILTER_VALUE     2       <Item2>
    CMD              3         SET_FILTER
    DATA_PROVIDER    3         DP_1
    FILTER_IOBJNM    3       <StructureID>
    FILTER_VALUE     3       <Item3>
    Any ideas?
    Thanks,
    Jason

    Jason,
    thank you for the information. This morning I found out myself by checking the 3.5 Web API Reference which basically offers everything I need.
    To facilitate data entry you could try using a reference command area somewhere in your excel sheet where you can easily enter the command data and also can make use of copy/paste. I tried this and it works fine - much better than to enter the values in the dialogue.
    Best regards
    Thomas

  • BI 7.0 Bex Analyzer not working with excel 2007

    Hi All,
    I have installed the BEX 7.0 with MS office 2007 but the Analyzer is not working. The open file symbol does not give any option on the click.
    Please help.
    Regards,
    Abhishek

    Hi Abhishek,
    This is a BEX Add-in problem.
    Follow the below step....
    1. Copy the Tool
    2. Change the Tool.xls into the Tool.xla
    3. Copy the Tool.xla file
    4. Open My Computer window
    5. Navigate to the following folder
    a. C:\Program Files\Common Files\SAP Shared\BW
    b. Paste Tool.xla file into this folder
    6. Open Bex Analyzer
    7. Open a Query or Workbook
    8. Click on the u201CToolsu201D Menu on the Top
    9. Select u201CAdd-Insu201D from the Tools menu
    10. Click Browse from the Add-Ins window that opens
    11. Browse to the file you just saved
    a. C:\Program Files\Common Files\SAP Shared\BW\ Tool.xla
    b. Click Ok to continue
    12.The Tool for Excel should not be checked in the Add In window
    13.Click Ok to continue
    14. Close
    15. Re Open Bex Analyzer
    16. The Tool command should be displayed at the top of the Tool Bar
    17. Close Bex Analyzer
    18. Open Excel
    19. The Tool command should be displayed as well at the top of the Tool Bar.
    Hope this helps...
    check the below link 
    http://www.sytecpa.org/software/BWInstructions/Installing%20the%20SAP%20BEx%20Analyzer%20Excel%20Add-In.pdf
    Regards
    KP

  • Add own VBA Addin (.xla) to BEx Analyzer

    Hi,
    I created an XLA add-in, which I activated in my Office Excel. When opening Excel my add-in works fine (I can see it in my VB-Editor below BExAnalyzer.xla and it is possiblöe to use the makros.
    Unfortunately this add-in is not aktivated when opening BEx Analyzer. In this case the new add-in is not listed below the BExAnalyzer.xla, whereas it is marked to be active at the office options Special / Add-ins (extras / Add-dins in german office version).
    Office 2003
    BEx Front End Patch 501
    Does anybody know, how to implement own xla add-ins to BEx Analyzer?
    Best Regards,
    Helge

    I guess it's because of the way the BExAnalyzer loads Excel - it's an OLE call or something alike. In other words Analyzer loads BEx addin alone. I see two possible workarounds.
    One is to find some command line parameter for BExAnalyzer.exe to make it load the addin you want. The problem is I do not know if there are any such parameters.
    The other way is to load the addin after the BExAnalyzer.xla is loaded. You can easily check this way by opening your addin manually. However, doing it programmatically becomes a problem since the only piece of VBA code loaded is BExAnalyzer.xla itself. Therefore you have to modify BExAnalyzer.xla to load the stuff you want when it's opened by BExAnalyzer.exe. But it may be (and I'm sure it is) prohibited by the license agreement and by the way you will lose this file's digital signature trying to save the modified BEx addin (don't hesitate to make the backup first).
    This is the code to insert to ThisWorkbook module of BExAnalyzer.xla if you dare:
    Private Sub Workbook_Open()
        On Error Resume Next
            Application.Workbooks("YourAddin.xla").Saved = Application.Workbooks("YourAddin.xla").Saved
            ' If YourAddin.xla addin is not loaded (and we get an error in the line above), then open it
            ' and run addin automacros because the event doesn't fire when opening addin this way:
            If Err.Number = 9 Then
                Application.Workbooks.Open(Application.UserLibraryPath & "YourAddin.xla").RunAutoMacros (xlAutoOpen)
        On Error GoTo 0
    End Sub
    The YourAddin.xla is supposed to be in standard addin folder (%AppData%\Microsoft\AddIns)

  • BEx Analyzer: Exchange characteristics with design item "Button"

    Hello everyone,
    I am creating a workbook with the BEx Analyzer. The user should be able to exchange one characteristic with another one by a button click (e.g. replace the drilldown of characteristic product group by a drilldown of customers).
    I inserted a button in the design mode and edited it with the command wizard.
    In the area for the static parameters I inserted the following:
    Name/Index/Value
    DATA_PROVIDER/1/DP_1
    CMD/1/EXCHANGE
    IOBJNM_1/1/Product Group
    IOBJNM_2/1/Customer
    I tried several variations of this, but they all didn't work.
    Does anyone know how to define such a command?
    Thanks in advance for your answer,
    Rainer
    Message was edited by:
            Rainer SIGG

    Hi,
    Button Design item is used to perform three types of functionalities
    1. Workbook specific Commands : these are helpful in performing any changes or navigations in the workbook. For example moving from one sheet to another on the click of the button can be realised.
    2. Planning Specific Commands : these are used mostly when a planning scenario is realized using the Bex workbook. Planning commands usually would be to save data in the workbook created on an input ready query to the plan cube, or to execute a planning function or a sequence.
    3. Data provider specific commands : Commands used to change data based on a spcfiic dataprovider.
    Let me know if you are looking at anything else other than this.
    Regards
    Snehith.

  • Open a new session when using go to documents from bex analyzer.

    Dear experts,
    We are using the go to documents functionality in bex analyzer.
    we enter the workbooks with a SS0 link (RRMXP) through the portal ,
    our problem is that when we want to attach a  comment or document (we use go to documents)
    the browser uses a session which is already open.
    When the user enters his comment or document and closes the browser session he terminates the SSO.
    My question is where can I define that when using in bex workbooks right click go to documents it
    will always open a new browser (internet explorer) session and not use an already open session.
    Thanks for your help
    Amir

    TMega,
    The Go> menu commands apply to the current Finder window. It has always been this way, and it always will be. The answer, in this particular case, is to first open a new Finder window. This is easily and quickly done by pressing Command-N. You can add to this the use of Shift-Command-K to quickly open a new window, then move that window to the Network folder.
    So, the answer to your question is "Yes, you can always open a new window when accessing the Network folder," but you can't do it just the way you were thinking.
    Scott

  • Error when starting Bex analyzer

    Hi All!
    We have a world wide BW-SEM application. In one country they get the following error message when starting Bex analyzer:
    <install error> Missing ActiveX component: Business Explorer Global Services
    Does anyone have a hint on what to do?
    Thanks for your help!
    Best Regards
    Pontus

    hi
    try to check with SAPBEXC.xla
    and take a look oss note 585643
    may need to manual register .dll with regsvr32
    Do an Installation check of the BEx Analyzer as follows:
    In the bex analyzer menu, Business explorer -> Installation Check -> Once the excel sheet opens, press the start button to start the check. Check the entries in red to see any missing/old ocx, dlls.

Maybe you are looking for