Bex Query is continuously running

Hi all,
one of our Bex Query is continuously running so long, but when i rename  and run the same query it is working fine.
i cleared all the cash, but still problem is existing.
please help me to short this out
Thanks
Mirana

Hi Mirana,
After long run you are getting out putcorrect?
Run same your query in RSRT with debugmode and on statistical data.
After execution you will see the satistical data then you will come to where exactly your query is taking time.
Hope it will help.
Regards,
Ganesh Bothe

Similar Messages

  • Bex Query using BICS running fine in Rich client but v. slow in Launchpad

    Hi guys,
    At my client client we are using BICS to use Bex Query in Web Intellience, and i created a report that takes less than 10 seconds once run in Rich client but when i create the same Webi report in Launch pad: the list of values take forever to refesh and the report runs for about 30 mins before it displays data..
    In both cases it shows data but the time difference is huge.
    Kindly direct me on what could be the possible issues considering this case.
    Regards,
    Sheikh

    Hi Sheikh,
    There are some known issues with the BICS connectivity and LOV's when retreiving data in BI4.0
    This is detailed in the note - 1581323 - BI 4.0 Web Intelligence very slow performance when using BICS
    Basically there are some registry changes which need to be made to result in quicker data retreival. The full fix is scheduled for Patch 2.1. It may not be your precise issue but the registry change should help I believe.
    Can you test with the registry fix and let me know if this improves matters for you:
    Resolution
    The following fix is planned for Patch2.1 (w/c 27th June 2011):
        Add 2 new registry entries (string keys) under
            For the 32-bit using Rich Client: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\default\WebIntelligence\Calculator]:
            For the 64-bit Web Intelligence:[HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\default\WebIntelligence\Calculator]
    "BICSLOVChunkSize"="4000"
    "BICSResultChunkSize"="100000"
    Note 1: In a specific test case, a value of 4000 yielded good results, reducing fetch time from 20 minutes to under 5 minutes.
    Note 2: Registry key usage:
        BICSLOVChunkSize is defined as a string. It help create a chunk of List of Value of maximum the number given. The bigger the number the more likely the retrieval of the list of value will crash. Consider using a value between 100 and 5000. If you have 1000 values in your database and you set the BICSLOVChunkSize to 200. Then you will see a hierarchical view of 5 groups having eah 200 list of value.
         BICSResultChunkSize is defined as a string. It limits the number of results that can be retrieved as a List of Value. If you have a List of Value which contains 1 Millions values and set the BICSResultChunkSize to 1000 than only the first 1000 rows will be retrieved. Therefore you will get a partial result set for the list of value.
    Parallel correction for interoperability:
        A parallel fix has been delivered via component BW-BEX-OT-BICS by way of a correction attached to Note 1593802.
    Workaround:
        Set all the values of column u201COrder for F4 Helpu201D to 0 (zero) in BW Transaction RSD1 so that the attributes are not retrieved.
    -> List of members are now displayed in 20 seconds.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • Future of BEx Query and BEx Query Designer

    Folks, I understand SAP's future reporting tools is BO suite. All of us need to move to the new tools which are better or more reliable in 2010. Meanwhile our customers are reluctant to use BEx tools for any new development. Being on the techi side I dont see how BEx Query will be replaced by Voyager or Polestar or WebI or Crystal. I just need to report on my multiprovider without a universe layer. Have any of you experts come across documentation that layed out future of BEx tools explaining the end of support period? I have see roadmaps for tool availability but no dates for end of support.
    Thanks in advance.

    AFAIK,
    Bex Query designer and BEx query will continue... Polestar might be proposed as an alternative for BEx but then it is meant for ad-hoc analysis ... but BEx query and Query designer have specific query requirements also...
    Voyager etc will start coming in...

  • BEX query runs using parameters entered by user in an Excel spreadsheet

    I'm trying to write a macro to automate certain functions for our users.</br>
    </br>
    Essentially, the users would enter numbers (relating to clients) in column A and e-mail adresses in column B.  A set of reports would run based on the first number entered, then the workbook would be saved and e-mailed to the first address in column B.  This would be repeated for the 2nd number/address and so on...  All Bex reports are in the same workbook.  At this point, I'm having a lot of problems finding code that will fill in the Bex query parameters automatically based on inputs in the spreadsheet.  Here is what I've worked up so far for the macro:</br>
    </br>
    Option Explicit</br>
    </br>
    'Macro step 1 u2013 run workbook for client number input and continue</br>
    'EXAMPLE u2013 cell A3 = 1008, cell A4 = 1240</br>
    'All BW queries should run based on the input given in column A (beginning wth A3).</br>
    </br>
    </br>
    'Macro step 2 u2013 create directory for the new files and save the first file</br>
    '     This step will allow the user to save the new files in a new folder in an existing directory, or even to create a new directory:</br>
    </br>
    Function GetFolderPath() As String</br>
        Dim oShell As Object</br>
        Set oShell = CreateObject("Shell.Application"). _</br>
        BrowseForFolder(0, "Please select folder", 0, "c:
    ")</br>
        If Not oShell Is Nothing Then</br>
            GetFolderPath = oShell.Items.Item.Path</br>
        Else</br>
            GetFolderPath = vbNullString</br>
        End If</br>
        Set oShell = Nothing</br>
    End Function</br>
    </br>
    Sub Testxl()</br>
        Dim FName As String</br>
        Dim WbName As String</br>
        Dim Search As String</br>
        Dim Prompt As String</br>
        Dim Title As String</br>
        Dim MyDir1 As String</br>
        Dim MyDir2 As String</br>
        Dim Passed As Long</br>
         </br>
    On Error GoTo Err:</br>
         </br>
        FName = GetFolderPath</br>
        If FName <> vbNullString Then</br>
            Prompt = "Please Select a FileName"</br>
            Title = "Name"</br>
            Search = InputBox(Prompt, Title)</br>
            If Search = "" Then Exit Sub</br>
        End If</br>
        FName = FName & "\" & Search</br>
        MkDir FName</br>
        ActiveWorkbook.SaveAs FName & "\" & Search & ".xls"</br>
         </br>
         'Test for existence of new folders.files</br>
        Passed = 1</br>
        GetAttr (FName)</br>
        Passed = 2</br>
        GetAttr (FName & "\" & Search & ".xls")</br>
        Passed = 3</br>
        GetAttr (ActiveWorkbook.Path & MyDir1)</br>
        Passed = 4</br>
        GetAttr (ActiveWorkbook.Path & MyDir2)</br>
    </br>
        End</br>
         'Sheets("Sheet1").Range("B1").Value = Search **Add if you require the name to be recorded in your spreadsheet</br>
    Err:</br>
        Select Case Err</br>
        Case 53:           MsgBox "File/Folder not created. Failed at step " & Passed</br>
        Case 75:    MsgBox "Folder already exists"</br>
        End Select</br>
    End Sub</br>
    </br>
    'Macro step 3 u2013 save workbook</br>
    ActiveWorkbook.Save</br>
    </br>
    'Macro step 4 u2013 e-mail workbook</br>
    'EXAMPLE u2013 cell B3 = amay@email, cell B4 = bmay@email</br>
    'The workbook should e-mail based on the input given in column B (beginning wth B3).</br>
    wb.SendMail  u201Ccell B3u201D</br>
    </br>
    'Macro step 5 u2013repeat until no inputs remain</br>
    'EXAMPLE u2013 cell A3 = 1008, cell A4 = 1240</br>
    'Steps 1-4 should repeat for cell A4, then A5 (if necessary) and so on until no more inputs remain.  </br>
    </br>
    </br>
    If anyone has any advice I'd love to try it out.</br>
    </br>
    Thank you for your time.</br>
    Andy
    Edited by: AndyMay on Jul 14, 2009 5:08 PM - I inserted html breaks

    Option Explicit</br>
    </br>
    Sub KeyClient()</br>
    </br>
    'Macro step 1 - filter workbook for client number input and continue</br>
    'EXAMPLE - cell B3 = 1008, cell B4 = 2048</br>
    'All BW queries should run based on the input given in column B (beginning wth B3).</br>
    </br>
    'define x and begin loop</br>
    Dim i, x As Integer</br>
    Dim curCell As Range</br>
        For x = 3 To 22</br>
        Set curCell = Worksheets("Input").Cells(x, 2)</br>
    </br>
    'stop BW from refreshing until we are finished</br>
        Run "SAPBEX.XLA!SAPBEXPauseOn"</br>
        Run "SAPBEx.XLA!SAPBEXsetFilterValue", curCell, "", Sheets("Client Contribution").Range("C9")</br>
    'BW resumes refreshing</br>
        Run "SAPBEX.XLA!SAPBEXPauseOff"</br>

  • Error while trying to run Bex Query -------- Field symbol is not assigned.

    Hello Every body,
    I am facing the following error after giving some value in Selection screen and trying to run the Bex Query
    ERROR : Field symbol is not assigned.
    Thanks in advance,
    Praveen

    can u plz give details of variables, what it is build on and the value u r inputing,
    also is thr any dump.
    double click on the error message it shows u. it will give u the detailed error message. post that too

  • MDX Error in WebI while running Bex Query

    Dear Experts,
    In my System BO XI R3.1 Enterprise and Integration kit For SAP has installed.
    While creating query with Efashion and MS Acess files query is running fine.
    But in case of BI queries(InfoCube or BEx Query) it is giving "Select Dimension 1 CrossJoin Dimension2...."Error(10901).
    Test Connection of BI (The server is responding)is working fine.
    How to solve the issue?
    Thanks in Advance
    Venkat P

    Hi Venkat,
    Obviously there is something wrong with your query.
    What happens if you parse the MDX using the BW transaction MDXTEST  - does it work ok?
    You need to try and identify at what point the query is failing, i.e. is it caused at the BW layer or is it a problem at the XI3.1 application layer...?
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • Bex Query Designer running against a Cognos Cube

    Hi
    Is it possible to run Bex Query Designer against a Cognos cube ? I know you can do it the other way around - run Cognos against a BW cube. But I can't find anything on creating Bex Query on a Cognos cube. 
    John

    Hi John,
    I think that's not possible. I've never seen that, there is no information about it anywhere.
    But, why would you like to connect BEx to another tool? As you said, you can connect Cognos to BW (as well as Microstrategy, Business Objects and ohters). And this is because all these tools are better in front end desing (even after BI7, i think BEx reporting tools are awful).
    Regards,
    Diego

  • Continue run MDX Query

    I want to execute a query which can continue run till 2 minutes .
    For Example- If I run below query, that should be run for 2 minutes with completion or Fail
    SELECT [Date].[Calendar Year].FirstChild on 0
    FROM [Adventure Works];
    Please Help
    -Ashish

    Hi David,
    This query hardly takes 2 second to complete. But I want that this should be continued  until it completes 2 minutes. Means - session of this query continue till 2 minutes instead it gets complete.
    Hi Ashishsingh,
    As Olaf said, we can use SQL. However, based on my research it seems there is no such a functionally to workaround this in MDX currently. If you have any concern about this behavior, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that
    they can be, Microsoft might consider to add this feature in the following release after official confirmation.
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Running the BEX query from webdynpro ABAP

    Hi Gurus,
    Can someone provide the code for running the BEX query from WDA.
    Thanks,
    David.

    Hi! Do you want to get query results in ABAP or to open excel from browser?

  • Unable to run query from BEx query designer

    Hello,
    I am connecting remotely to clients environment. I am not able to run query from Bex query designer. System generates IE window with URL
    http://server.com:50300/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZCOPCM02_Q017&VARIABLE_SCREEN=X&DUMMY=9
    but query result isnt shown.
    Internet Explorer cannot display the webpage.
    What kind of setting do I need to change to get query working?
    thanks

    Hi Comandante,
    If you are not able to Execute the Query using Query designer, you can also execute the query using RRMX  or RSRT transaction for now until the issue with the query designer is solved ..
    Hope it helps!
    Regards,
    Pavan

  • Dashboard to BEx query call run time very slow (7-8 mins)

    Hi Guys,
    I am currently working on a project where BEx query is being consumed using BICS. The functional team has built a BEx which is being cached in Webi by the BO developer and then that cashed Webi is being used in Dashboard. We have many hierarchies (Fund Center, Profit Center, GL Account etc.) used in the dashboard.
    BEx query > WEBi (Cached) > Dashboard
    Clicking the main level in hierarchy in dashboard the data comes back in 2-3 secs as the data is cached in Webi
    ISSUE: In Dashboard based on where user is on the Fund Center hierarchy there is a button called “Summary Report” on the dashboard which calls the BEx query and that second call takes roughly about 7-8 minutes. How could we reduce the run time of the second query?
    The secondary query uses the same data set as the first one but as the data is cached in Webi and it uses Web services to pass data to dashboard, so any call back from dashboard to the cached webi the hierarchy information is lost  and thus the secondary query call to BEx query.
    Would it be possible to recommend any solution where we could bring the run time of the secondary call to less than a minute?
    Thanks,
    Keys

    First update to current frontend patch. many correction are included.
    Further check these notes: (relavant only if Analyzer is culprit)
    1160093: REPAIR MODE - Prog error/performance problems when using large workbooks
    1289127: REPAIR MODE - BExAnalyzer: performance issue applying styles in Excel 2007
    1293255: REPAIR MODE - BExAnalyzer: crash when repairing workbook with Excel 2007
    1150242+1094799: ANA_USE_SIDGRID - Improving performance/memory in the BEx Analyzer
    1179647: ANA_USE_TABLE - Performance: Network load in BEx Analyzer
    1260213: ANA_USE_OPTIMIZE_STG - Performance problems during workbook opening in Excel 2007
    1287179: ANA_SINGLEDPREFRESH - Single Data Provider Refresh
    1286653: Performance issues while displaying hierarchy (especially in Excel 2007)
    1352375: ANA_USE_SIDGRIDWBUF / ANA_USE_SIDGRIDMASS Performance improvements in a WAN (roundtrip reductions)
    1373214: Workbook compression
    1392745: ANA_CACHE_WORKBOOK - Workbook caching

  • -ve values in Webi Report , Run on SAP Bex query

    Hi,
      I am creating WebI Report on Bex Query. some of the key figures like Net Sales, Gross Margin & Operating Profit are display as -ve values.
    as they are +ve values in Bex Query.
      Do i need to check any options in Bex query or Universe.
    I am using Business Objects XI R2 .
       Please help me.
    Thanks,
    Anitha

    this seems to be a double entry.
    Ingo

  • As Bex Query design why I canu2019t select from list in values range

    Hello experts,
         I want to pop input window when I use analyzer run bw report, I know to add filter through restrict, then I selected value ranges, it was appearing between input text, the button canu2019t let me input, I tried select from list, Bex Query design occured some errors, if click u2018exitu2019 will prompt unknown software exception(0xc00200001) then stop .
    the imange: [http://www.itpub.net/thread-1192217-1-1.html]
    How to input text or select list? Why My Bex query design canu2019t do select from list? 
    please let me know the soultions, thanks for you help in advance
    Regards,
    Steve

    first of all, thanks for your help.   if need to install batch, please let me know. many thanks .
    more infomation as belows:
    the windows prompt:
    Your application an unhandled exception occurs. If you click [continue], the application will ignore the error and try to continue. If you click the [end], it will immediately close the application.
    I clicked more detail button , displayed as belows:
    For more information call using Just-In-Time (JIT) debugging details
    Please refer to the end of this message (instead of this dialog box) information.
    Exception Text **************
    System.NullReferenceException: Object reference not set to be the implementation of individual objects
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
    in System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    in System.Windows.Forms.Control.WndProcException(Exception e)
    in System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    in System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Control.set_Visible(Boolean value)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    in System.Windows.Forms.Form.ShowDialog()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
    in System.Windows.Forms.Control.OnClick(EventArgs e)
    in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    inSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • BEx Query Designer Opening Problem

    Hi Guys,
    I am working on BI 7.0. My system OS is Windows XP. When i try to open Query Designer it showing an as below.
    Component 'BEx Query Designer': available version 154, version 229 required.
    Before you can continue you have to run the front-end setup.
    please let me know to resolve this issue.
    Thanks
    Murali

    Hi Murali,
    To make sure it works, you should make sure that:
    When you installed the SAP GUI, you have checked the BI option (in addition to the BW option)
    Install the latest front end patch (BI patch 7) from SAP Marketplace
    I highly recommand to also install the BI SP07 patch for the server - it adds lots of stability for the front end.
    It works pretty well for us, I am sure you will also eventually make it work
    hope this solves ur problem....
    Regards,
    Bala...

  • SAP BW BEx query - WEBi MDX query

    Hi Experts, have we had some discussion on this?
    Does MDX query send by WEBi report to BW use the same program to extract data from BW database?
    One of the option for WEBi report source of data is to build Universe on top of BEx query. Could you share how this process actually happen.
    I think
    - WEBi query will pass parameters that is relevant for BEx query filter of the universe
    - the BEx query will then extract the data (following normal process if we run BEx query independently)
    - if WEBi has further filtering, it will then get the BEx result above and filter it further ..??
    So, how is MDX query come into the picture?
    Or is it:
    - WEBi query and the BEx query will determine what MDX query will be generated, and this MDX query will then fetch the data.
    But why BEx query extract data faster then MDX query?
    Sorry, i am new to this. hope someone could share some light here. In the meantime i continue to real those documentation and try to get some more ideas of what is actually happening.
    Thanks.

    Hi Thanks a lot for pointing this out.
    Did i understand it correctly that BEx query is using a different set of program (platform) to retrieve data compare to MDX query, and not MDX uses those program that is used by BEx to retrieve data from BW database and have extra steps on top of that?
    Can anyone share what is actually happen WEBi MDX query is executed (how the database is hit with SQL, and what are the tools to evaluate the efficiency of the WEBi (or the used BEx). As for BEx we have RSRT to analyze it right.
    And even to test the MDX query using MDXTEST and try to get the data from WEBi report, i found WEBi report still take considerably a lot longer. Why is this so? just because BO is a different system then BW?
    And as it's shared the BO 4.0 is using the same platform as BEx to retrieve data from BW database, does this mean we don't need to care about MDX usage in BW anymore as far as BO data extraction concern?
    Thank you very much.

Maybe you are looking for

  • Where do I set linker flags?

    Hi, How do I set the "linker flags" through the Sun Studio 12 IDE? Am moving a small existing set of GTK/Gnome source C code from Eclipse 3.2.x for Sun Studio 12/Express. (Wish the "Eclipse Importer would work with C code"!) Checked out the source fr

  • N81 - doesnt work,white screen :((

    Hello everybody! I have a problem with my N81 8Gb: When i was speaking - the phone turned off (battery was low).  And dont turn on :-( When i try to charge the battery, the screen flashed - 20 second its white, then 5 second - black.   I already try

  • Broadband dropping for 2 months and crackly phone ...

    Hi, Does anyone have any suggestions as to who I can contact in BT regarding an issue that has been going on for the last couple of months please? My broadband connection drops off constantly and has to be restarted, sometimes take 30 minutes to work

  • Sql Plus worksheet (oemapp) won't start without admin rights in Oracle 9.2

    My organization is removing users local admin rights on their Windows XP Professional systems. I have been tasked with enabling SQLPlus worksheet to run with power user rights. I have granted full control to all of the files on the C drive, and spent

  • When I select an object it lags for about 8 seconds.

    When I select an object it lags for about 8 seconds. It doesnt happen when I click & drag to select, only a direct selection. Using a brand new iMac, and CC straight out of the box. Any help would be much appreciated!