BEx query run on multiprovider

Hi ther,
i run the query on multiprover, which are based on 3 ods 2005, 2006, 2007, and also based on employe and employe subgroup characteristic, that query does not given any response after 6h runing.
Please help me i need direction,
Thanks,
Rob

The first question to ask I think is how many records are in this ODS?  6h could be reasonable, or it could be awful.  WIthout knowing data volumes, what you are selecting, and what indexes exist, there is no way to know.
Can you use SM50 to see if you have the queries are actually running?
If the result set is large (more than 30,000 rows I believe is what the system considers large in this case)?  MultiProvider queries are normally, unless configured not to, going to start in parallel. So it is probably starting to run a query for 2005, another for 2006, and another for 2007.  If these quereis begin to return too much data, the BW cancels all three queries, the begins to execute them sequentially. 
So I think you need to do a little leg work in order to get much help beyond guesses.
Have you reviewed teh Explain Plan?  That should tell you a lot.  If you are not familiar with an Explain Plan, ask your DBA to review it.  It provides a lot of information on how the DB intends to execute the query.

Similar Messages

  • Error while executing BEx query made on Multiprovider having Virtual cube

    Hi All,
    We are getting an error message while executing a BEX query made on Multiprovide which consist of a Virtual Infocube infocube which extracts data from APO Live Cache, the error which we get is as below
    ''Error Reading the data of the infoprovider ZSS_R054
    Error in Substep
    Errors have occured while extracting data from datasource 9A_E2E_FC2
    Errors occured during parallel processing of query 4, RC:3
    Error while reading data; navigation is possible''
    And also when tried to execute from RSRT , it gets executed in debug mode in TRY and CATCHE
    Please let us know if anyone faced a similar situation or can suggest me what to do.
    Please suggest.
    Thanking you in advance.
    regards,
    ajay

    Hi Ajay,
    Try RSRV transaction, Select All Elementary Tests, Select query, now drag both these items on the right hand pane, select your query from this popup. and execute.
    Let us know what the result is.
    regards,
    Sree.

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

  • BEX Query - Run time char InfoObjects manipulation for query results

    Hello Experts,
    Iam working on BEX queries to meet following requirements,
    1)  Display only first 2 char of an InfoObject in the query results. Actual infoprovider has 24 char for this InfoObject. Example: Summary code FABCDXXXX.. But we want to show only 'FA' in query results
    2) We split a 120 char description into two 60 char InfoObjects, we need to concatenate the split char into one for query result display
    3) We need to show a specific hierarchy level, nothing before or after. For example: Eighth level for a cost element hierarchy.
    4) We need to show a constant in a column (which is not there in the table)
    We are planning to use both BEX analyzer and Crystal for the reports.
    I read in one of the thread that we can use formula variables/Customer exit for this but iam not very clear, if you know how to do it or if you have any step by step procedure, can you please pass it to me. Thanks in advance for your help.
    Regards,
    Raman

    Thanks for quick response. We have users who need BEX analyzer, is there any way to handle the above requirments for BEX analyzer.

  • BEx Query on Multiprovider

    Hello BW Guys,
    I am creating a BEx Query on a Multiprovider (ZHR_MULTI) which include one Infocube (ZHR_HRM1) and one Infoset (ZHR_HRM5).
    The infoset contains 'Employees Master Data' and the infocube contains some master data and 2 Key Figures (Headcount and Movements). The requirement is to create a query on multiprovider using the 'Employee Master data' (which is in Infoset) based on a key figure 'Headcount' (which is in Infocube).
    When i tried to run the query, I don't get any data for 'Headcount'. Can anybody help in this.
    Regards
    Rajat

    Hi Rajat,
    Check the below.
    1) Identifications
    2) Filter conditions in the query
    3) Use LISTCUBE and check the base cube ZHR_HRM1 and see data is available for headcount for the same filter restrictions which enabled in the query.
    3) Use LISTCUBE and check the multicube ZHR_MULTI and give exact restrictions and see whether it pulls data for you.
    Let me know if you have any questions.
    Viswa

  • Unwanted LOVs - Universe on a BEx query on top of a Multiprovider

    BO XI 3.1
    BW 7.01
    OLAP Universe on a BEx query
    BEx query on top of a Multiprovider
    Multiprovider on 2 DSOs; lets say DSO1 and DSO2
    BEx query has a global filter for "INFOPROVIDER = DSO1"
    BEx query has a user input variable defined for "Field1" (Field1 is present in both DSOs)
    In BEx, F4 on Field1 variable entry gives the values of Field1 from DSO1. (which is what we want)
    Expected LOVs for the generated prompt for Field1 in the WEBI report: Values of Field1 from DSO1
    Problem:
    Actual LOVs returned in WEBI report: Values of Field1 from both DSO1 and DSO2
    Has anyone faced this before?
    Thank you

    Henry Banks wrote:
    > I have a suspicion the BEX property 'only values in infoprovider' isn't picked up/consumed by the BAPIs used by the MDX interface.
    That is correct. The BEx properties do not carry over to the BO side. In Webi 3.1 here are the default selections for LOVs (as far as I know)
    OLAP universe against BEx query on an infoprovider (Infocube, DSO, Multiprovider) - Only values in Infoprovider
    OLAP universe against BEx query on an Infoset - Values in the master data table
    My understanding now is
    OLAP universe against BEx query on a Multiprovider - Only values in ALL Infoproviders under the Multiprovider
    Henry Banks wrote:
    > Yes, this is confirmed by Note 1224318 - MDX: InfoProvider restriction for the member rowset
    > It's a BW limitation of the OLE DB for OLAP.
    I have seen this note before and according to it you can set an RSADMIN parameter MDX_JOIN_CUBE_DIME and have more control over the LOVs.
    MDX_JOIN_CUBE_DIME = "A" -> The read mode for all LOVs is Only values in master data
    MDX_JOIN_CUBE_DIME = "I" -> The read mode for LOVs is either master data or infoprovider depending on the infoobject settings
    Henry Banks wrote:
    > It might be easier to have to 2 data providers for this document, if you don't already, for plan and actual;  or 2 seperate bex queries.
    Well, that would work but it would defeat the purpose of having a Multiprovider for logical partitioning, wouldn't it?

  • BEx query Authorization works in BW but fails in WebI

    Have a BEx query which has 5 fields marked as authorization relevent.  Some of the fields use BW Auth variable in the BEx query, although not all fields do.  The BEx query runs fine and does not throw any authorization failures.  One of the fields is Org Unit, which uses hierarchy node variable.  This field and its user variable exist in two different queries, using different multiprovider. 
    One BEx query and its corresponding universe and WebI report fails when user tries to refresh Org Unit prompt values in WebI, however a secondar query with identical field and variable does not fail.  A trace on BW side does not reveal any authorization failures.  We tried refreshing the universe and even creating a whole new universe, refreshing it, etc.. however the issue is not resolved. 
    Has anyone seen this problem before?  If so, how did you resolve it.

    Hi,
    You need Single sign-on (SSO).
    Regards

  • Cannot see BEx Query in Creating Universe Connection

    Hi,
    I have a BEx query based on Multiprovider
    I did check the box "Allow External Access to this query" from "Release for OLE DB for OLAP".
    When I come to Designer create a connection, that query does not show up.
    This has happened with some other query create on that Multi Provider too.
    I checked the query for operators.
    Note: Queries containing formulas with the operators %RT, %CT, SUMRT, SUMCT and LEAF cannot be released for OLE DB for OLAP. Mentioned in
    http://help.sap.com/saphelp_nw04/Helpdata/EN/07/0ab63c71f41d5ce10000000a114084/content.htm
    I cannot explain why.
    What could be possible reason?
    Thank you,

    Check to make sure the BW role that is used has auth obj S_RS_COMP that provides Display access to the InfoProvider that your query is built on.   The userid that runs the Bex query would also needs Execute access to that query.  You may need to get your SAP security person to run a trace when you start designer and try to create your connection if you find that your BW role already has the auth I mentioned.
    SAP made a recent change with 7.0 SP22 / 7.01 SP5 that applied BW security to the display of queries in the Designer.  We could no longer see out BEx quereis in Designer after we applied SP22 until we added Display access to the role we use for our Business Objects service acct we setup.
    From SAP Note 1364715 - MDX: Authorization check of BEx queries
    Symptom
    You use the BAPI "BAPI_MDPROVIDER_GET_CUBES" to read the BEx queries
    available in the BW server that have been released for OLE DB for OLAP
    (ODBO) (indicator "Allow External Access to this Query" is set in the Query
    Designer).
    Authorizations are ignored.
    Cause and Prerequisites
    The authorization check is ignored.
    Solution
    The authorization check is performed for the user that calls the BAPI. If
    an RFC is used to call the BAPI, the check is performed for the RFC user.

  • Removing or Suppressing 0DAT SAP Exit from BEx Query

    Hi,
    I have a BEx Query on a MultiProvider. The Multiprovider is based on two Cubes. Iam facing a problem with the 0DAT Characteristic Variable on 0CALDAY. Although I dont use the 0CALDAY in my query, this SAP Exit Variable pops-up when I run the query. How do I remove or atleast suppress it from popping-up?
    I tried the 'Save & Reuse Varibale Values' options from the Query Properties Dialog Box. Although this works but I want to use one more Customer Exit Characteristic Variable on 0CALDAY & this variable is also getting resued because of the setting I made for 0DAT. I want this variable to pop-up and the 0DAT variable to be removed completely(or atleast suppressed).
    Would also like to know why 0DAT Variable is popping-up even when I dont use 0CALDAY at all....
    Thanks in advance,
    -Ravi

    Hi,
    Please refer to your following mail..I have the same problem with 0dat. Could you provide me any solution for this..
    Thanks & Regards,
    Karthi
    > Hi,
    >
    > I have a BEx Query on a MultiProvider. The
    > Multiprovider is based on two Cubes. Iam facing a
    > problem with the 0DAT Characteristic Variable on
    > 0CALDAY. Although I dont use the 0CALDAY in my query,
    > this SAP Exit Variable pops-up when I run the query.
    > How do I remove or atleast suppress it from
    > popping-up?
    >
    > I tried the 'Save & Reuse Varibale Values' options
    > from the Query Properties Dialog Box. Although this
    > works but I want to use one more Customer Exit
    > Characteristic Variable on 0CALDAY & this variable is
    > also getting resued because of the setting I made for
    > 0DAT. I want this variable to pop-up and the 0DAT
    > variable to be removed completely(or atleast
    > suppressed).
    >
    > Would also like to know why 0DAT Variable is
    > popping-up even when I dont use 0CALDAY at all....
    >
    > Thanks in advance,
    > -Ravi

  • UNCAUGHT_EXCEPTION "CX_RSR_X_MESSAGE" when runnign BEx Query

    Hi,
    We have a user who is using the Accounts Payable report. User is able to access the BEx query, run the query but when the user is trying to move the company code from free characteristics to rows BEx is throwing the following error:
    An error occurred in the communication with the BW server.
    Due to this, the connection had to be closed
    Detailed Description:
    An exception occurred that was not caught.
    When i checked the ABAP dumps for this user, there is a dump with UNCAUGHT_EXCEPTION "CX_RSR_X_MESSAGE" .
    Can anyone hlep me understand this problem. The reports when executed by me works fine. We tried reinstalling the front end for the user but that did not resolve the problem.If any one has seen this problem for BEx reporting and if any notes are applicable
    Any help is greatly appreciated.
    Regards
    Vijay

    Hi,
    please try this one:
    - clean the system setup, temp files, temp internet files
    - start query designer -> open this query -> check the query
    - executing in BEx web
    - go to RSRT2 -> generate query -> execute in SAP GUI
    - start system trace while executing
    Best regards
    Sven

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

  • BEX WAD 7.0:  Chart Takes Long Time to Display in Portal - Query runs FAST

    I have a BEx WAD 7.0 template which contains 3 column charts (each with it's own seperate DataProvider/Query).  When the page loads...two of the charts show up right away, but one of them takes almost a minute to display on the screen (I thought it was missing at first).
    I ran all three queries in the BEx Query Analyzer (including the one for the chart that takes forever to load) and they all complete within 3 seconds of hitting "Execute."  So I don't believe it is the query causing this issue.
    The chart that doesn't show up right away does have more data to display than the other two...but I have queries/charts on other web templates that contain 3-times the data of this one and show up fine when executed in the portal.
    Anyone else having this issue or have an idea on how I can optimize the WAD charts and/or find out what is causing this issue?  Again...the query that fuels this chart completes its execution in about 3-4 seconds.
    Thank you for your time and of course points will be assigned accordingly.
    Kevin

    Hi,
    have you already checked how much time the IGS consumes when creating the charts?
    Run TA SIGS and check the statistics values.
    Regards, Kai

  • 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

Maybe you are looking for

  • Report is not starting an adobe window when pressing the print button

    When ever I press the print button on my report and I get the box that asks you which page to print.  I choose all and then press the ok button.  Nothing happens when I press the ok button.  I'm I missing something on the server that is running the a

  • URGENT Trying to wipe and reinstall Leopard 10.5 on my 2008 imac8,1 from the disk but my hard drive doesn't show up

    So to give a little big of a background on my computer.  I got it January 2009 as a graduation gift, because I was going to get a degree in Graphic Design and Animation.  I only worked on it [mostly brousing the web, and itunes]  for about 6 months b

  • Unable to view on PC

    I created a slideshow in Aperture and exported .mov for Mobile me - into my gallery. It has uploaded and works fine. BUT ONLY ON A MAC ! How can my friends view it on a PC ? They get the soundtrack ok but the picture is just a green patch. Is it my p

  • Errors encounted during installation. (U44M1P7)

    Happens when I try to update: 06/18/13 14:11:38:326 | [INFO] |  | OOBE | DE |  |  |  | 10644 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* =*=*=*=*=*=*=*=* 06/18/13 14:11:38:326 | [INFO] |  | OOBE | DE |  |  |  | 10644 | Vis

  • How to pass values from one stage to other

    I have two stage (say primary and secondary).The primary stage creates the secondary stage. When the secondary is opened i can access all the members(say bitNo) of 1st stage and try to set some value. But in the 1st stage i find the value not being s