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

Similar Messages

  • Error using BEx Analyzer - tools - 'copy sheet' function

    Hello,
    We are getting an error using BEx Analyzer, when we execute a query or workbook and select the 'copy sheet' function.  The error is:
    An error occurred when communicating with the BI Server
    As a result of this the system has been disconnected from the BI server.
    Exception Condition 'BAD_VALUE_COMBINATION' raised.
    We are using BEx Analyzer 7.10.
    Thanks very much.
    Gayle

    Hi
    Implement this note first
    Note 1086904 - BW 7.0 BEx: Transactions RRMX/RRMXP
    in case if nottting works
    Run the Same query in RSRT  transaction code , see if you get the same error.
    if you get the same error.
    Go to RSRT give the query name and Generate the query (using generate button in RSRT)
    hope this helps
    santosh
    Edited by: Santhosh Nagaraj on Oct 31, 2009 5:44 AM

  • Started firefox today and for some reason all the bars are missing which includes the bookmark button, back button, really everything...I have tried for hours to get them back and even did a restore to my system, no help...how do I get them back

    all the bars at the top of the page have gone missing including the back button, everything...how can I restore them?

    '''Menu Bar''' (File, Edit, View, History, Bookmarks, Tools, Help)
    Press ALT V T M (CTRL V T M on Macs) on your keyboard. This should restore the menu bar (Firefox 3.6) You can also restore the menu bar by pressing Alt and going to View | Toolbars | Menu bar
    '''Navigation Toolbar'''
    Press Alt V T N (CTRL V T N on Macs) on your keyboard.
    '''Other toolbars'''
    View | Toolbars | Select the desired Toolbar
    '''Other steps to try'''
    Try restoring the default set by going to View | Toolbars | Customize | Restore Default Set. This will put the toolbars back in the default place. This would be a good idea if you are missing specific icons on the Navigation Toolbar
    '''Safe Mode'''
    You May need to reset toolbars and controls via [[Safe Mode]]
    Make sure you completely close Firefox first. When you get to the Safe Mode window, select Reset toolbars and controls and then Make Changes and Restart.
    Links:
    [[Menu bar is missing]]
    [[Navigation Toolbar Items]]
    [[Back and forward or other toolbar items are missing]]
    Hope this helps!

  • Webi Vs Bex Analyzer for the same query

    Hi Experts ,
    I face an issue in Webi Vs Bex Analyzer for the same query :
    Output of Bex query:
    Transport System     Location ID     Quantity
    PIPEC1-Z4          LOCCP1-Z4     1,000.000 BBL
                              LOCCP2-Z4     400 TO
                              LOCGAL-Z4     *
                              LOCRAS-Z4     200 TO
                              Result     *
    Here as the Unit of measure is different, the RESULT displays a *
    Only in cases where the unit of measure is the same, the result
    is displayed correctly.
    However in webi, the sum function blindly adds up without any possibility
    to check whether the uom is the same.
    How can I check to add only when the units are the same ?
    Regards, Jerin.

    Hi Jerin,
    Each Key Figure used in a BW query can have up to three different sets of information:
    Numeric value of the Key Figure corresponding to the Key Figure without the unit.
    Unit or Currency information, A Dimension object with character format that contains the unit or currency. For example, 'USD', 'u20AC', 'km'
    Formatted value, representing the user-specific formatting. A Dimension object with character format that contains the Key Figure and the unit (formatted value) based on user preferences configured on the SAP server. For example, '200 USD', '345 u20AC', '25 km'
    Each Key Figure is represented with a Measure object in a Class u201CKey Figures.u201D In the case where the Key Figure is configured in BW with a unit, an additional Dimension object will be added representing the unit information. The u201CFormattedu201D value represents the numeric value Formatted as a string value, following the user-specific formatting settings.
    Or if doesn't appear the Unit, for some CKF or RKF it happens, you can add to your BEx query and then to the universe the unit or currency and create a separate dimension with that information.
    I hope this help you.
    Best regards,
      Fede

  • Problem with the filter button doesn't give a proper O/P 4 the date field

    Hi all
    I have a custom report which gives a workflow status log with date sent as one of the columsn in the report, when we click the filter button after selecting this columnthe user is shown a window with a single character field, in the same report we have another field( date field) when the user selects thsi the user is shown a proper date field for selection in ranges.
    Thanks in advance
    Cheers
    Seshi
    Message was edited by: Seshi E

    Hi all
    I have a custom report which gives a workflow status log with date sent as one of the columsn in the report, when we click the filter button after selecting this columnthe user is shown a window with a single character field, in the same report we have another field( date field) when the user selects thsi the user is shown a proper date field for selection in ranges.
    Thanks in advance
    Cheers
    Seshi
    Message was edited by: Seshi E

  • BEx Analyzer cannot open query, button is in German

    Hi Gurus,
    I am using MS Excel 2003 and have installed all windows updates. I even have successfully installed the patch KB907417 from Microsoft, but still I cannot open queries using BEx Analyzer. The BEx icons display German labels instead.
    How should I fix this?
    Please recommend links for SAP GUI and BEx updates and patches.
    Thank you very much!
    Regards,
    Btup

    Hi Btup,
    First just try to install Install Microsoft Excel patches version of Excel is: Excel 2003 (11.8169.8172) SP3 and see how it goes.
    If it doesn't work then try following steps:
    Install SAPGUI 710 to Level 4
    Install bw350gui710_1-10004473.exe to install patch BI 3.x to Level 1.
    Install bw350gui710_2-10004473.exe to install patch BI 3.x to Level 2.
    Install bi710_2-10004472.exe to install patch BI 710 to Level 2.
    Install bi710sp02p_201-10004472.exe to install patch BI 710 to SP2.
    Install bi710sp03_300-10004472.exe to install patch BI 710 to SP3.
    Install bi710sp04_400-10004472.exe to install patch BI 710 to SP4.
    Install Microsoft Excel patches version of Excel is: Excel 2003 (11.8169.8172) SP3
    Regards,
    Shalin Shah

  • Execute button for BEx Analyzer in the Query Designer

    Hello,
    My current BEx Query Designer 7.1 and we are using Excel 2003. Currently, I can execute query through BEx Web but I am also looking for green check button of BEx Analyzer also. Could you please tell me how can I incorporate/add this BEx Analyzer check box in Query Designer so that I can execute query both in BEx Web as well as BEx Analyzer.
    Thanks very much in advance.
    Regards,
    Md

    Hello Hyma/Prasanna,
    Thanks for your reply and it's solved my problem.
    If I logon BEx Analyzer and  open or changed query through it, I can see green check box in Query Designer. Now I can run query both in BEx Analyzer as well as BEx Web.
    Regards,
    Md

  • How do I include the radio-button items on a second column as possible answers to the question?

    Using Adobe Acrobat Pro X, we created a fillable PDF from an existing PDF.
    One question can be answered by choosing one of four choices (radio buttons). The answers are laid out in a 2-by-2 arrangement.
    When Acrobat Pro converted the PDF into fillable format, it thought that the radio-button answers on the second column are not part of the question.
    How can I manually override Acrobat and make choices 3 and 4 part of the question.
    Please click attached screenshot for better zoom.

    George,
    i am the OP. I mistyped my email address and cannot log in to my original account.
    Thanks for your reply.
    How do I give each radio button the same name but unique button values?
    I right-clicked the first radio button, chose Properties (Ctrl+I).
    I copied the name: "What is your personal net worth in Canadian dollars including spousecommon law partner if applicable".
    I clicked Close.
    I then went into the Properties dialog window of the third radio button, which is one of the ungrouped choices. I pasted the name [What is your personal net worth in Canadian dollars including spousecommon law partner if applicable]. I then clicked Close.
    I get an error message pop up:
    A field of a different type already uses this name. Please choose a new name for the field, or change the field type to match the existing field with this name.
    What must I do now?
    Thanks.

  • Error in BEx Analyzer during F4 Value help

    Hello Experts,
    We are facing a issue where on pressing F4 in Bex Analyzer in variable selection for cost center hierarchy; the operation hangs. I dont get any short dump but following error messages in the analyzer itself
    RS_EXCEPTION Message Number 101
    Inconsistent Input Parameter (paratmeter: <unknown>, value <unknown>
    RSBOLAP Message Number 000
    Program error in class SAPMSSY1 method: Uncaught Exception
    We are on BI 7.0 SP17. I found a SAP note (1381562) which talks about similar error.
    The confusing part is this particular query works fine in Dev, Quality and Test systems but errors out only in production.
    Please let me know how relevant is this note. Also let me know if I should be looking at something else to correct this error.
    Thanks,
    Gaurav

    Hi,
    Please check your text file contains the exact same characteristics and key figures as defined in your planning funciton for your upload (also the sequence has to be the same)
    Regards,
    Marasa.

  • Bex Analyzer 7.0, Filter on Hierarchy Node (Text Group)

    Hi gurus,
    I would be glad if anyone of you could help me with this issue.
    I made an application with Bex Analyzer 7.0 which does following -> create certain combinations and copy it directly into PowerPoint as a picture. This works great, I can send you the code if you want to. I could even create a blog or wiki ...
    My issue appears when I try to copy a value for hierarchy node into Filter in Bex. It is possible to write into Filter some value and the system sets a filter with this value, there is no doubt about it. But I wanted to filter on a whole hierarchy node. I'm not able to do this by copying the value into the line. With the context menu no problem.
    Example 1:(works fine)
    Characteristics    Filter:
    0comp_code       1000
    Example 2:(doesn't work)
    Characteristics    Filter:
    0comp_code       +Group1(Text Node)
    I will appreciate any kind of help.
    Thank you
    Standa

    As promissed, here is the code with which we export graphics into powerpoint.
    BEx Analyzer 7.0
    Following scenario -> user defines combinations in the list, what should be exported (area "D39:D142") Macro copies selections into filter area (D22).
    Sub Chart2PPT()
        Dim objPPT As Object
        Dim objPrs As Object
        Dim objSld As Object
        Dim shtTemp As Object
        Dim chtTemp As ChartObject
        Dim objShape As Shape
        Dim objGShape As Shape
        Dim intSlide As Integer
        Dim blnCopy As Boolean
        Dim i As Integer
        Dim f As Integer 
        Set objPPT = CreateObject("Powerpoint.application")
        objPPT.Visible = True
        objPPT.Presentations.Add
        objPPT.ActiveWindow.ViewType = 1 'ppViewSlide
        For Each cell In Range("D39:D142")
    If Cells(i, 4) = "" Then Exit Sub
    If Len(Cells(i, 4).Value) < 1 Then Exit Sub
        Cells(22, 4) = Cells(i, 4) 
        For Each shtTemp In ThisWorkbook.Sheets
            blnCopy = False
            If shtTemp.Type = xlWorksheet Then
                For Each objShape In shtTemp.Shapes 'chtTemp In shtTemp.ChartObjects
                    blnCopy = False
                    If objShape.Type = msoGroup Then
                          ' if ANY item in group is a chart
                        For Each objGShape In objShape.GroupItems
                            If objGShape.Type = msoChart Then
                                blnCopy = True
                                Exit For
                            End If
                        Next
                    End If
                    If objShape.Type = msoChart Then blnCopy = True
                    If blnCopy Then
    '                  blnCopy = True
                       If shtTemp.Name = "GraphAbsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 5).Value = "x") Or _
                        shtTemp.Name = "GraphPreis" And (Cells(i, 8).Value = "x" Or Cells(i, 6).Value = "x") Or _
                        shtTemp.Name = "GraphUmsatz" And (Cells(i, 8).Value = "x" Or Cells(i, 7).Value = "x") Then
                        intSlide = intSlide + 1
                        ' shtTemp.UsedRange.CopyPicture 'kopiert nur Grafiken
                        ' objShape.CopyPicture
                         shtTemp.UsedRange.CopyPicture 'kopiert die ganze Seite
                         ' new slide for each chart
                        objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
                        objPPT.ActiveWindow.View.Paste
                      End If  
                   End If
                Next
                If Not blnCopy Then
                ' nichts kopieren
                     ' copy used range
                   ' intSlide = intSlide + 1
                   ' shtTemp.UsedRange.CopyPicture
                     ' new slide for each chart
                   ' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
                   ' objPPT.ActiveWindow.View.Paste
                End If
            Else
            ' nichts kopieren
               ' intSlide = intSlide + 1
               ' shtTemp.CopyPicture
                 ' new slide for each chart
               ' objPPT.ActiveWindow.View.GotoSlide Index:=objPPT.ActivePresentation.Slides.Add(Index:=objPPT.ActivePresentation.Slides.Count + 1, Layout:=12).SlideIndex
               ' objPPT.ActiveWindow.View.Paste
            End If
        Next
        ' nächste Selektion
         i = i + 1
        Next
        Set objPrs = Nothing
        Set objPPT = Nothing
    End Sub

  • Error with BEx Analyzer

    I am getting the following errors when launching BEx analyzer. What do I do to solve this"
    Error Group
    RFC_ERROR_PROGRAM
    Message
    SAPLOGON_ID 'BID - Netweaver 7.0 EHP2 BI' not found in saplogon.ini

    check if you are to logon to Query designer for the same system and client. I guess you will not be able to correct.
    Most probably, entry for the system is missing in the ini file. check if you are able to connect to Bex analyzer on some other system. If yes, copy the INI file from that system to your system.
    you should be able to ini file
    C drive > Program Files > SAP > Front End
    Regards,
    Gaurav

  • Error with BEx Analyzer to open

    Hi,
    I am facing with this error message with the BEx Analyzer (Office 2007) when trying to open any query.
    " A critical program error occured. The program has to close. Please refer to the trace for further information".
    The patch level of GUI is 5(SAP GUI Final Release) and patch level of BEx Analyzer Support Package 0, Revision 461.
    I really tried many different options from SAP Notes etc, but did not work. Please let me know if there is anyone faced with this situation or anything that I can do?
    Reward points will be assigned.

    Hi Kumar,
    The critical program error means the frontend installation is not proper.
    You need to check the frontend installation as per note 918394 and ensure that all the dlls are green and the frontend patch is latest.You can use GUI 640 with BI 7.0 frontend.
    Which front-end version you are using.The frontend patch level is found in the BEx Analyser -> BEx Tool-Bar
      -> yellow question mark -> Help -> About => Version <xx> Patch <xx>
    Please goto
    -> service.sap.com/patches
    ->entry by application group
    ->SAP Frontend Components
    ->SAP GUI FOR WINDOWS
    ->SAP GUI FOR WINDOWS 6.40
    ->SAP GUI FOR WINDOWS 6.40
    ->Win32
    ->Apply the latest patch..1600
    This should resolve the issue..ensure .net and other prerequisites are installed as per note 877774.
    Rgds
    Manoj Kumar

  • "Critical program error" in BEx Analyzer due to missing BExCompression

    Hello. I saw several posts with a "Critical program error" message in new BEx Analyzer 7.0 when try to run query ir workbook, but have not seen any answers to them.
    When I look into the trace file BexAnalyzerTrace_<session_id>.txt (attached) in my temp directory, I see following:
    System.IO.FileNotFoundException: File or assembly name BExCompression, or one of its dependencies, was not found.
    File name: "BExCompression"
       at com.sap.bi.et.analyzer.api.BExApplication.DeSerializeApplication(String iString)
       at com.sap.bi.et.analyzer.addin.BExExcelApplication..ctor(String iWorkbookName)
    But I cannot find any further reference to BExCompression.
    Thanks!
    Vitaliy

    Hi prakash,
    we have installed the SAP GUI 7.10 with patch 5 and all the other mandatory components. while working in the query designer for sometime we used to get message " critical program error occured program needs to close" , we still cant figure out what the reason for this. this keep on occuring even if a new session is open.
    please advise us what we need to do and if you have any installation guide for this i appreciate if you can share with us.
    mail to : [email protected]
    thanking you.

  • SAPGUI 7.10 installation, error in BEx Analyzer - Excel interface

    Hi!
    I have installated SAPGUI 710, and when I want to execute a new report in BexAnalyzer I get this error
    "BexAddin
    Workbook format .xlsm is supported only from offices Excel 2007version"
    The mail issue, is that I have maden all updgrades and package from microsoft from 2003 for using 2007 workbook... i dont know what I can do...
    And my coworker, has the similar error, however, she is using offices 2007, and her error is RFC_ERROR_Program, when she wants to execute report... her SO is Vista, in my case is XP.
    Somebody, can help us! please!!!!!!!!
    BR
    Thanks a lot

    Are U opening the workbook in 3.5 Analyser?
    If so then unfortunately Business explorer Analyzer 3.x is not supporting the
    new file-format. Please refer to note 1052761.
    If you would like to use
    new office 2007 file format you need to use Bex Analyzer 7.0.
    When using the SAP Default Workbook please set the flag "Use XLS file format" as defined in note
    1267924.
    The new Excel 2007 file formats require the implementation of
    the latest BW Support Package.
    If you are interested in  workbooks in xlsm format you have to
    use at least SP16 and a recent FEP (e.g. FEP801). But it is
    not correct that it will work also when you implement the notes on a SP
    level which is older then SP15, as then other corrections are missing.
    Please check also note 1055581 ... where you find the info that
    we recommend to use at least SPS15 (which is BW-SP17).

  • Sapbex.xla!toolsEdit error with BEx Analyzer

    I get 'sapbex.xla!toolsEdit' error when i try to run BEx Analyzer.
    Anybody has faced this problem.
    Thanks
    Arun

    Arun,
    possible that your SAP GUI was not properly installed and also that macros are enabled in the system...
    Please give your front end SP levels..
    Arun
    Hope it helps...

Maybe you are looking for

  • Can I AirPrint to a dell C1765nfw printer?

    I Am trying to airprint from my mini iPad and iPhone 4s to a dell C1765nfw that is connected to my home wifi.  I am able to wireless print from a dell laptop but not my apple devices??  AirPrint doesn't find any printers????

  • Visual Web JSF and Java Script problem

    Hi i am using Visual Web JSF for development in my project. AJAX to update data from server when users enters data in one text box its an chat application. i am getting data from server but unable to update my <webuijsf:textarea> component with the n

  • Muffled sound with mac book pro early 2011

    muffled sound with mac book pro early 2011

  • HT201269 how can i get my pictures back on my iphone

    my friend deleted all my pictures off my iphone4s, i tryied reseting it and backed it from a previous day where i had all the pictures, some came back but not all of them is there something else i can do?

  • Need a solution of publishing video and audio together

    we hope to implement something like below: fms publish a stream to one client,while the client receive the stream,the client publish the received stream and the audio stream which record from the client's microphone together.and fms publish the clien