Records read by a BEx query

Is there a way to determine how many records were read by a query?
A user created a query that was running a long time.  We moved some of the selections out of columns and into the filters area.  The runtime improved, but we want to know how many records were read prior to the improvements and after the improvements.
Thank you

You can go to transaction RSRT -> execute + debug -> Display statistics data
After the query result is shown, click the green back button (F3), you can see the information
including the number of record.
Regards,
Patricia

Similar Messages

  • Bex Query - Display Rows, even when no database record exists?

    Hi everybody,
    im creating a Query with Bex Query designer and have a requirement which i cant cope with atm, so i hope you can help me.
    I made a small screenshot with excel to explain how the query should be:
    [http://yfrog.com/ncqueryj]
    So, the requirement now is, even when for example there are no records for company A at all, the rows A-A1 to A-A4 should still be displayed in the query simply with no values.
    The Accounts are already in an row structure, but it isnt an option to take the company into the row structure, as this would mean we have to do several thousands selections for one query and there is more then one query to do, with each time different accounts, so the row structure wouldnt be reusable too.
    Do you know any way to achieve this without adding the company to the row structure?
    I hope my explanation was comprehensible, if you still have any question just ask.
    Thanks in advance
    Noody

    Hi Harry,
    thanks for the answer, it was already very helpful, but my problem still isnt completely solved because actually they dont want to get all companies that exists, but only certain companies which then should always be displayed, even without records.
    So for example they have company A, B, C and D, they always want to have A, B and C, even without values, but never D, even when D has values.
    The companies they want to see in the Query are in an Hierarchy which is selected through filter, so actually they dont want all existing companies from master data but all existing companies from an hierarchy.
    Regards
    Noody

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • % Calculactions in Bex Query Designer

    Hi Experts,
    Could you please on how can i perform the below % Calculactions in Bex Query Designer.
        Vendor No line item Not = L category =A  status =RFQ :for items
    Example : I have 8 items for vendorNo 200274 and only 4 as above condition and 5 items as not L(delete)
    requament: % RFQ Without Response:
    Percentage of Quotation response ={(No. of RFQReponses Received/ No. of RFQ items sent)*100},
                                                                   ( 4/5 * 100= 80%)
    Percentage RFQ without response= 100 -  Percentage of Quotation response
                                                                  =  100-80 = 20%
    How can i perform the % Calculations in Bex Query Designer.
    Vendor
    Purchasing document
    Indicator: Line Item
    Purch. doc. category
    Purch. doc. status
    Item
    Number of Records
    category A item L
    200274
    V-LINE EUROPE EXPORT MARKETING
    6000003778
    L
    A
    Not assigned
    10
    1
    20
    1
    30
    1
    6000003779
    Not assigned
    A
    Not assigned
    40
    1
    9000000046
    Not assigned
    A
    RFQ
    10
    1
    1
    20
    1
    1
    30
    1
    1
    40
    1
    1
    Result
    8
    4
    thank you

    Hope you have done some groundwork you have done on this requirement. Have you tried to create New Formula and put the required formula in it to calculate Percentage of Quotation response ?
    Your formulas seems to be straight forward.
    Keep in Filter: item Not = L category =A  status =RFQ
    You may start working on it and get back with if you are struck.

  • Results based on From and To value in Bex query designer.

    Dear all,
    We are using BI7.00. In one of our report which pertains to PM user wants to get the details of number of breakdowns which falls in the value range 0 to 1 hours.
    I created a condition which has 2 variables, one is From value and the other is for the To value (since user wants to enter both the limits). I have written a condition that if the breakdown hour is greater than or equal to variable1 and less than or equal to variable2.
    Using the above condition if the query is run, i am not getting the desired output. The values avaialble in the report are 0.65,0.78,1.30,7.38,0 etc., when i give 0 to 1 i should get the values 0.65,0.78 and 0 but instead report displays "No valid results".
    I changed the condition and selected "Between" variable 1 and variable 2 - yet no change in the query.
    To my knowledge i foresee that system is not able to recognize the decimal and hence provides details only based on the whole numbers.
    How to get my requirement achieved in the Bex query designer.
    Experts suggestion with steps will be very useful to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Dec 26, 2008 11:28 AM

    Hi Magesh,
    I think you could try one more way.
    Create a formula inserting your two formula variables for limits .(FV -  are ready for input ) .
    The formula would return the result as 1 or 0 because it would have boolean condition in it.
    You could then place a condition in the query designer to only show all records where the value of the formula key fig is 1.
    You formula A would look like
    ( KF > FV1) AND (KF < FV2) * 1.
    And in the condition put A EQ 1.
    You could scale the key figures as well and multiply the limits mentioned by the users in FV1 and FV2 if decimals are still not recognized by SAP.(scaling)
    Regards,
    Sunmit.

  • Bex Query not passing blank columns to crystal reports

    good morning ladies and gentleman,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. very good...
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up.
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    i have tried to create a formula that will add 1 to the hours sick field, then all the rows should have a amount in it. but, it still does not show the employees who do not have sick time.
    here is the sql query from crystal.
    SELECT {[Measures].[4J8L2TQJ3P517ISQ1R4Y8UZ36], [Measures].[4J9PY3UANRIW2HW15YSOED92A], [Measures].[4J9TLIO0NDQROSA2YONCW6HB6]}
    ON COLUMNS, 
    NON EMPTY
    CROSSJOIN([0EMPLOYEE].[LEVEL01].MEMBERS, [0EMPLOYEE__0COMP_CODE].[LEVEL01].MEMBERS)
    DIMENSION PROPERTIES [0EMPLOYEE].[50COMP_CODE], [0EMPLOYEE].[50MAST_CCTR] ON ROWS
    FROM [ZCATS_MC1/ZZCATS_MC1_Q001C]
    SAP VARIABLES [0I_DAYS] INCLUDING [0CALDAY].[20100502] : [0CALDAY].[20100903]
    this is kind of an emergency and i have been working on this for two days and cannot come to a resolution.
    if anyone can help, i would appreciate it.
    i am guessing that there is a option somewhere that will allow blank records to show.
    please help.
    thanks,
    erik

    miss stated the issue. created new note.

  • How to restrict the Null Values for Key Figules in the Bex Query

    Hi Friends,
        I want to restrict the Null values of a perticular key figure in the Bex Query Output.
    I will explain in details. i have 3 key figures in my query.. let us assume.. key1 key2key3
    key1           key2                key3
    4                4                   100.00
    5                0                   200.00
    1                0                    19.00
    0                1                    10.00
    i don't want to see the the records for which key 2 is 0.
    we have a setting in the Bex Query for restricting the Zero values in the query properties. If we enable that setting it will show
    4               4          100.00
    but i want the report to display..
    4               4           100.00
    0               1           10.00
    can any body guide me. <b>i want to display the values if key2 <> 0.</b>
    Regards,
    Nagesh.

    Hi AVR,
    nice to see reply.
    can you eloborate your view...how can i put the condition.
    <b>i want to put the condition key2 <> 0.</b>
    Regards,
    Nagesh.

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

  • Crystal Reports 2008 and SAP BEX query.  Issue in retrieiving multiple recd

    Hi All,
    I have designed a crystal report which has BEX query as a datasource. The values from this query are placed in page header. Also two subreports are available which get data from an RFC. Main report and sub report are linked by primary key ID.
    (In the bex query one condition is implemented on a key figure)  When I run the BEX query , it retrieves single record. But when I execute the crystal report, execution says 2 records and my details section is getting repeated.
    I am unable to use filter as it is a keyfigure.
    Any suggestions or  help here is highly appreciated.
    Regards,
    Surya

    Hi,
    BEX query retrieves only one record (In the bex query one condition is implemented on a key figure) When I run the BEX query , it retrieves single record). I am puzzled on how the crystal is retrieving two records.
    Actually infocube has 2 records one with status "active" and the other with status "postponed". Some other fields also will vary.
    So, I cannot use this formula to supress.
    Regards,
    Surya.

  • 2 BEx Query Limitation

    Hi,
    Currently I met two limitations in BEx query designer:
    1. The query can only contain 50 characteristics, but the customer requires a report have 138 coulumns, is there any advice how can i fulfill this requirement?
    2. I found that a lot of people met the Excel limitation of 65000 records, somebody adviced two ways to solve this problem, one is Web Report, another is Info Hub. Is there someone who can give some details about these two solutions?
    Thanks and regards,
    Sugie

    Hi
    The first limitation in a BEx limitation and the second one is a excel limitation. I had faced a same scenario but i dealt it in a different way. But i am not sure if this was the correct way to but it solved the problem.
    Please let me know if you are doing this report on ODS or Cube.
    Please ask the users about the restrictions on the different fields.
    But here is what i did:
    Ask the business or the end user which are the important 50 fields (Characteristics) have them in row in your query definition and have the rest of them in Free Characteristics. Give some training to users on BEx and tell them about the swap feature. With this feature the user can swap any of the existing 50 fields with the fields you had defined in the free characteristics after the report is run. Also check with the user if there are some restrictions that are to be applied to any of these fields if so you can have them in the filter characteristics.
    Regarding the 2nd problem - Based on the restrictions this should be solved.
    Regards,
    Satish.

  • Bex Query showing incorrect data

    Hi Experts,
    I have a Bex query on an infoset. The infoset is based on Sales Order Line Item DSO and Sales Order Condition DSO. I am refering Net value from Sales Order Line Item DSO. In the query, the values of Net Value is not coming correctly. When i check the value in Sales Order Line Item DSO it shows 100. However, in the query it shows 500. When i checked the infoset, it had 5 records. In each record, the net value was 100. What should i do to get the correct value of Net Value in the query.
    Have anyone faced similar problem ?
    Please reply as soon as possible.
    Thanks,
    Saachi

    Hi Sachi,
    This is a common problem in infoset.
    Sales order line item - SLI say
    Sales order condition - SC say.
    The value you see in your net value field depends on your join condition in the infoset.
    Currently you have join in such a way that 1 record in SLI correspods to 5 records in SLC (this is as per your join condition), hence you see this error. Youcan manupilate your join condition to get the required result, if this is viable.
    However, in most cases you may not be able to alleviate the fields defining the join.
    Say your sales order and item form the joining fields, then in sales order condition DSO you have 5 records for that sales order and item.
    The way you could probably avoid net value getting multiplied 5 times is by using exception aggregation  with reference char a characteristic in the query.
    The ref char should uniquely identify the 5 sales order item condition lines.
    (basic principle - we have to net value/ no of lines in Sales order condition DSO [5 in this case] .)
    The problem, however is, whenever you consider uniqueness defining fields, you would look at the keys of DSO, because they define uniqueness. One could have multiple infoobject when defining a DSO key.
    So you would'nt be able to define any record with only one particular infoobject(ref char), based on which you could define the  exception aggreation.
    You could define one more data field in the DSO which is a concatenation of all of its keys and then use it in exception aggreg as a reference char in the query.
    One more way is to load data from the two DSO to further cubes to achieve the requirement.
    I think, this is the limitation with the infoset.
    Please let me know if you find any other solution.
    Hope it helps,
    Regards,
    Sunmit.

  • Runtime error Bex Query Execution

    Hi guys,
    I'm facing an BW-BEX error, when I Execute a Bex Query that supposed to
    make some time to retreive data, about 30000 records, un Excel runtime
    error occurs
    with the same query but enough restricted to retreive less than 5000
    records, this time it works fine
    This bug occurs on any PC workstation not only on my computer.
    ST22 shows no thing abnormal.
    ON RSRT, it works fine
    Any Idea ?

    I had this in the Bex Log file
    ListSeparator: ,
    ExcelVersion: 11.0
    AddinVersion: 7005.5.1502.949
    GetSystemInformation
    SUNI Const: 0
    CommunicationFactory.GetSystemInformation (Setting Conn 1)): 0
    CommunicationFactory.GetSystemInformation (Setting Conn 2)): 0
    CommunicationFactory.GetSystemInformation (Setting init Propties)): 0
    CommunicationFactory.GetSystemInformation (SUNI.FUNCTION_EXISTS)): 0.779665
    RSR_XLS_RFCtrc: 3.898325
    CommunicationFactory.GetSystemInformation (RSR_XLS_NET_INTERFACE)): 6.393253
    CommunicationFactory.GetSystemInformation (XML Stuff)): 8.576315
    CommunicationFactory.GetSystemInformation (Prop Stuff)): 8.576315
    CommunicationFactory.GetSystemInformation (Version)): 8.576315
    CommunicationFactory.ObtainSystemInformationandCheckVersion (GetSysInfo)): 8.732248
    CommunicationFactory.ObtainSystemInformationandCheckVersion (CheckAfterLogin)): 0.155933
    CommunicationFactory.LogOnUsingComConnection (ObtainSystemInfo)): 8.888181
    CommunicationFactory.LogOnUsingComConnection (MainConnectionChangedEvent)): 0.935598
    CommunicationFactory.LogOn: 10.135645
    BExCheckFrontend.CheckFrontend: No Check performed (20071119) 0
    RSR_XLS_RFCtrc: 0.467799
    BExThemes.LoadFromBackend: 2.338995
    BExThemes.LoadFromBackend: 0
    BExConnect.LogOn: 91.220805
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 0.155933
    OpenWorkbookGetTheMimeAndStoreItOnTemp
    BExProperties.CreateFromDeSer: CompId was not provided!
    BExItems.CreateFromDeSer: Trying to deserialize the Items...
    BExApplication.AfterRender: 01Pas de cellules correspondantes.
    BExApplication.AfterRender: 01Pas de cellules correspondantes.
    OpenWorkbookOpenTheSavedWorkbook 4
    RSR_XLS_RFCtrc: 1.091531
    RSR_XLS_RFCtrc: 0.935598
    RSR_XLS_RFCtrc: 0.623732
    BExProperties.CreateFromDeSer: CompId was not provided!
    RSR_XLS_RFCtrc: 0
    RSR_XLS_RFCtrc: 0.311866
    RSR_XLS_RFCtrc: 0.467799
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 2.338995
    RSR_XLS_RFCtrc: 0
    RSR_XLS_RFCtrc: 0.311866
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 0.779665
    RSR_XLS_RFCtrc: 2.338995
    RSR_XLS_RFCtrc: 0.311866
    RSR_XLS_RFCtrc: 282.082797
    RSR_XLS_RFCtrc: 1.403397
    RenderIndent: 1.24736
    RenderBorders: 0.156032
    RenderHierarchyShapes: 0
    7.0 Workbook : SAPBEXonRefresh exit called
    BExApplication.AfterRender: 01Pas de cellules correspondantes.
    BExApplication.AfterRender: 01Pas de cellules correspondantes.
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 3.898325
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 0.467799
    RSR_XLS_RFCtrc: 1.871196
    RSR_XLS_RFCtrc: 0.155933
    RSR_XLS_RFCtrc: 2448.469559
    11/20/2007 5:07:42 PM----
    System.Exception: BExConnect.BExWorkbook: Exception ---> System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.
       --- End of inner exception stack trace ---
       at com.sap.bi.et.analyzer.addin.BExConnect.get_BExWorkbook(String iWorkbookName, Boolean iConstruct)
       at com.sap.bi.et.analyzer.addin.BExMenu.UpdateMenuSubMenuControls()
       at com.sap.bi.et.analyzer.addin.BExMenu.UpdateMenu()
       at com.sap.bi.et.analyzer.addin.BExMenu.Update()
       at com.sap.bi.et.analyzer.addin.BExMenu.CommunicationFactory_MainConnectionChanged(BExCommunicationEventArgs iArguments)
       at com.sap.bi.et.Communication.MainConnectionChangedEventHandler.Invoke(BExCommunicationEventArgs iArgs)
       at com.sap.bi.et.Communication.CommunicationFactory.LogOff()
       at com.sap.bi.et.analyzer.api.BExConnectionLostException..ctor(Exception iException, BICS_PROV_T_MESSAGE itMessage)
       at com.sap.bi.et.analyzer.api.BExDataProvider.RetrieveResultSet()
       at com.sap.bi.et.analyzer.api.BExApplication.GetTemplate(Boolean iDoNotReadData)
    BExConnect.BExWorkbook: Exception
       at com.sap.bi.et.analyzer.addin.BExConnect.get_BExWorkbook(String iWorkbookName, Boolean iConstruct)
       at com.sap.bi.et.analyzer.addin.BExMenu.UpdateMenuSubMenuControls()
       at com.sap.bi.et.analyzer.addin.BExMenu.UpdateMenu()
       at com.sap.bi.et.analyzer.addin.BExMenu.Update()
       at com.sap.bi.et.analyzer.addin.BExMenu.CommunicationFactory_MainConnectionChanged(BExCommunicationEventArgs iArguments)
       at com.sap.bi.et.Communication.MainConnectionChangedEventHandler.Invoke(BExCommunicationEventArgs iArgs)
       at com.sap.bi.et.Communication.CommunicationFactory.LogOff()
       at com.sap.bi.et.analyzer.api.BExConnectionLostException..ctor(Exception iException, BICS_PROV_T_MESSAGE itMessage)
       at com.sap.bi.et.analyzer.api.BExDataProvider.RetrieveResultSet()
       at com.sap.bi.et.analyzer.api.BExApplication.GetTemplate(Boolean iDoNotReadData)

  • Webi on top of Bex query, maximum of fields 50 limit

    Hi there,
    I'm creating the Webi Report on top the Bex Query that has 50 characteristics in the row area and around 10 characteristics in Free Characteristics area. (Bex query can't have more than 50 in the Row Area)
    When I create the WEbi report, it limits the output to the same 50 characteristics, it means that even though I have 10 more characteristics available from the Free Characteristics Area and I can't add them to the Webi Report.
    I'm new to Webi and I didn't know about this limitation of number of fields can be added. Is there a workaround for this case?
    Is 50 fields really a limit for Webi Report or am I doing something wrong here?
    Thanks!

    Hi,
    Much like BEx, with WebI it is recommended to not have more than 50 dimensions selected into a single OLAP query, otherwise performance will degrade.
    I have customer who try to put 80-200 objects into webi query panel and get angry when they can't...
    However, this is a silly thing to do.  For example, how many people can read tables with 80 columns?
    It usually mean that the business requirements aren't being focused enough, and that reports are trying to answer too many flexible u2018ad hocu2019 purposes.
    To conclude, it's an u201Cirrelevant testu201D because WebI isnu2019t a u2018data dumpu2019 tool. you should perhaps use a genuine ETL to extract records for hundreds of objects
    Regards,
    H

  • BEx QUERY - pre filter characteristic values (material group)

    hi gurus
    i have a bex query where the user is asked to enter a material group value, this query is for planning some kind of material groups, so i need to show in the match code for material group (variable screen) just the material groups related to this query.
    For example, material group 0matl_group in rsdmd looks like this:
    M1
    M2
    M3
    M4
    M5
    M6
    M100
    I just wanna show in variable screen the first five material groups so the user can select one of them, i dont wanna show all the 100 material groups
    regards
    joker

    Hi ,
    I am not sure but You can try writing a customer exit code .
    create a interval variable of type customer exit .
    In the customer exit code write the code :
    In I_step = 1
    read the material group master data table in your case or the source from which you get the material group .
    write a code to read the first five records .
    In the low value read the first record.
    and in high value read the fifth record .
    your user should get only the first five materials to input in this case .

  • Changing BEx query - Lock against External Changes

    I have BEx query in DEV system.
    It was transported to QA system.
    Now some changes were made in Cube, Like adding infoobjects.
    These infoobjects are to be available in BEX query.
    But when the query is opened the following message is getting display
    Lock Against External Changes...
       BEx transport request 'DV1E756532' is not available or not suitable
    After checking details of message
    Diagnosis
    There are the following possible causes:
    No request has been set up as the standard transport request for BEx objects.
    The (set up) request 'WD1K917646' (for the package '' ) has already been released.
    The (set up) request 'WD1K917646' (for the package '' ) is not of the type 'transportable change request'.
    System Response
    The request WD1K917646 can not be used to record changes to BEx objects (queries or Excel workbooks). The changes made to objects you are editing will not be logged.
    Procedure
    If you want to record changes to BEx objects, set up an open transportable change request as the transport request for BEx objects. (If the package '' is not empty, set up a request for this package).
    Inform your system administrator of your actions, or enter a new, targeted transport request in the Administrator Workbench in the transport connection by using the 'BEx' pushbutton (Create Transport Requests for BEx).
    Procedure for System Administration
    How to make changes to query.
    Step by Step help needed.

    Hi,
    I'm also receiving similar error 'BEx transport request is not available or not suitable' when I open a query in development SYSDEV to edit.
    This query has been transported to SYSQA but now I need to make some changes so I opened it in  SYSDEV but it doesnt allow me to edit.
    Do I need to follow the below steps to be able to edit the query in SYSDEV and once done I need to transport the changes/query to QA for validation.
    In SYSDEV or SYSQA ?
    Step 1) Go to RSA1 Tcode.
    Step 2) Click on "Transport Connection" function on the left side pane.
    Step 3) Make sure that Grouping is "Only Necessary Objects".
    Step 4) Make sure that Collection mode is "Collect Automatically".
    Step 5) Collect your query by double clicking on "Selected Objects" which is under "Query Elements"->"Query"->"Selected Objects".
    Step 6) On the Right side pane, take a Right Click on the "Query Elements" node and choose "Transport all below".
    Note: Make sure that you have not selected any other object other than the objects which are under "Query Elements".
    Step 7) Click on the "Transport Objects" ( Truck Icon ) button. Is it Transport Bex button here ?
    Step 8) Create a new "Transport Request".
    Also below are the steps I used to transport from SYSDEV to SYSQA initially.
    Step 1) Go to RSA1 Tcode.
    Step 2) Click on "Transport Connection" function on the left side pane.
    Step 3) Make sure that Grouping is "Only Necessary Objects".
    Step 4) Make sure that Collection mode is "Collect Automatically".
    Step 5) Collect your query by double clicking on "Selected Objects" which is under "Query Elements"->"Query"->"Selected Objects".
    Step 6) On the Right side pane, take a Right Click on the "Query Elements" node and choose "Transport all below".
    Note: Make sure that you have not selected any other object other than the objects which are under "Query Elements".
    Step 7) Click on the "Transport Objects" ( Truck Icon ) button.
    Step 8) Create a new "Transport Request".
    Please advice
    Thank you.

Maybe you are looking for