SUMCT , SUMRT & SUMGT functions of Bex Query not supported in Uinverse,

Hello Experts,
I performed the following steps:                                               
1. Created the Bex Query using the Query Designer with the following functions as                                                                               
SUM CT                                                                               
SUMGT                                                                               
SUMAT                                                                               
and saving the Query.                                                                               
When creating the universe connection and try to connect to the above query, it is not showing the dimensions or any objects. It is just blank. It throws the error " error getting dimensions for cube".                                                                               
But the BEx query works fine in the Query Designer.                                                                               
When using other functions, and the Universe and Universe connection works fine. Please let me know if this is a limitation or if I am doing anything wrong.                                                                               
Let me know if you need any further information on this.
Thanks and Regards,                                                                               
Jothivel

Hi Ingo/Stratos,
I enabled the traces for the universe creation in my test environment( basically I enabled the SOFA and MDX logs using the registry key settings) and got the following :
Thu Dec 31 09:15:09.390: SAPMODULE: SAPConnection: m_pRfcWrapper->Close( m_hRfcConnection ) 0.015
Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Authentication model for SAP connectivity is CREDENTIALS
Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Authentication model for SAP connectivity is username and password
Thu Dec 31 09:15:15.609: SAPMODULE: SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,ASHOST=10.165.81.246,SYSNR=01,R3NAME=T25,AUTHTYPE=CREDENTIALS,USER="badari",LANG=EN,CLIENT=800,CATALOG="Z_BOBJ_M",CUBE="Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO",PASSWD=******
Thu Dec 31 09:15:17.218: SAPMODULE: SAPAuthenticationService: m_pRfcWrapper->RfcOpenEx() 1.609
Thu Dec 31 09:15:17.218: SAPMODULE: SAPConnection: Connection to SAP BW server successful
Thu Dec 31 09:15:17.625: SAPMODULE: CLIENT: MDDataProviderBW.GetCubes 0.407
Thu Dec 31 09:15:17.625: SAPMODULE: CLIENT: Reserved Structure Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO
Thu Dec 31 09:15:17.640: SAPMODULE: STRUCTURE: Getting dimensions for cube Z_BOBJ_M ...
Thu Dec 31 09:15:18.343: SAPMODULE: STRUCTURE: RFC function call MDDataProvderBW.GetDimensions failed.  System error in program CL_RSR_MDX_META_DATA and form CONSTRUCTOR-01- (see long text)
Thu Dec 31 09:15:18.343: SAPMODULE: : Error getting dimensions for cube Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO (catalog Z_BOBJ_M): See RFC trace file or SAP system log for more details
Thu Dec 31 09:15:18.343: SAPMODULE: STRUCTURE: MDDataProviderBW.GetDimensions 0.703
Thu Dec 31 09:15:18.343: SAPMODULE: : Error getting dimensions for cube Z_BOBJ_M/ZZ_IH_OLAP_TEST_RATIO (catalog Z_BOBJ_M): Unknown error
I have asked the customer the perform the above steps and let me know the logs.
Please let me know if the above logs help. I don't have access to my test SAP System logs. Hence unable to check the RFC trace file.
Thanks and Regards,
Jothivel

Similar Messages

  • Inverse Normal Distribution function SAP Bex Query

    Hi All
    In BEx Query designer there are different aggregation  types available i.e. min, max,average, standard deviation etc.  for
    formula or calculated key figure.There are not any additional statistical functions such normal distribution, inverse normal distribution available in Bex query designer.  How to achieve normal distribution, inverse normal distribution as aggregation
    type in Bex Query designer? Your help is appreciated.
    Thanks

    Hi Dennis,
    We have done the similar thing recently but performance of crystal reports is very poor on bex query. Did you face the same thing? Any suggestions/ideas to improve performance..
    Thanks,

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

  • Bex Query not passing all rows to Crystal reports

    hello experts,
    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. this is known as a left outer join.
    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. (this is compared to a inner join)
    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.
    here is the sql query from crystal that was created automatically when i used the bex query to created the crystal report.
    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
    i am using the mdx driver, and the integration kit is 2.8.
    any thoughts?
    thanks,
    erik

    Thanks Ingo for the quick response.
    this sounds like a limitation in the integration between bex and crystal because the query shows the correct data and the crystal reports does not. i have tried to add a calculated key figure to all the rows and put a number in it but it still does not show the rows in crystal.
    my issue is that they(the business users) want to know all the employees in the employee master data along with all the sick / illness data.
    do you have a suggestion for this issue?
    do you think that the mdx driver should be updated to allow master data to flow to crystal?
    thx,
    Erik

  • BEx query not shown in BO 4.0; BICS

    Hi,
    I have a sample BEx query designed in Query Designer 7.x; I would like to use this query with Web Intelligence of BO 4.0. However, the query is not being displayed.
    In CMC -> Authentication we have entered our SAP BW system and we are getting the roles imported. So the connection seems to work.
    In the query I have turned on the option "Allow External Access to this Query" (but I think this isn't necessary for BICS?).
    However, the query isn't displayed when creating a new WebI document based on BEx. Do I have to do some more steps?
    Thanks!
    Edit: I now created a new OLAP connection, our BO server can see the query and cube. But: I don't see this OLAP connection in Web Intelligence Rich Client. I am using the administrator login and have full access.
    Edited by: SteveXI on Sep 7, 2011 5:29 PM

    Hi,
    I have created 2 OLAP connection in CMC with SSO and Predefined. (does not work with prompt).
    I can see the list of queries from cube with predefined connection, but all are gredout!!. what could be the reason?
    With SSO connection i get following error -
    com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
    Any input is much appreciated.
    Thanks.
    Edited by: Rajan Patel on Oct 12, 2011 4:40 PM

  • Date Filter in BEx Query not applied to Webi Document

    Hi
    I have a simple BEx Query on 0MATERIAL - with Article (0MATERIAL) and Created On Date (0CREATEDON) characteristics in the Rows and 1ROWCOUNT key figure in the columns.
    If I restrict the BEx Query on 0MATERIAL to a single value, only that particular record is returned when I run the query in WebI - which shows Article and Created On Date.
    However, if I restrict the BEx Query to a specific 0CREATEDON date, the WebI report ignores this restriction and returns ALL records in the InfoProvider 0MATERIAL.
    If I run the BEx Query in the web, only those records with the particular restricted date are returned, so why does the WebI report ignore the BEx Query date restriction?  Any ideas where I am going wrong?
    Thanks
    Anton

    Hi Victor
    Thanks for the reply.  It turns out even after refreshing the universe structure and exporting I had to shut down Webi and reopen it for the changes (date restriction) to take effect.
    But thanks for the headsup on that bug/SAP note anyway - it is helpful to know.
    Rgds
    Anton

  • Can we restrict changes made in BEx query not to resemble in Universe

    Hello Gurus,
    I have a question. Lets say if there is a universe created based on BEx query and if later on BEx query is changed (newly added Chars, KF's or change in names) can we restrict the changes not to resemble in Universe?
    Please give me any related document or link which will be a big favor for me.
    Thanks a lot for your time.

    Changes in the BEx query are not reflected always automatically in your universe: Eg. if you add an new restriction or a new keyfigure. You have to maunally refresh the structure of your universe and export it again on your BOBJ server.
    Some changes will be automatically available though eg. if you change the code of a customer exit variable which is already used in your BEx query, even if you do not refresh the universe.
    Please keep in mind that some kind of changes in the query (removing existing key figures or characteristics) may cause error messages when you try to run your universe (assuming you did not update it).
    The recommendation here is to refresh your universe when you change the underlying BEx query. If you do not want to do that then your universe may stop working.
    Regards,
    Stratos

  • Changes made in Bex query not refelecting in Webi reports BO 4.0

    Hello Every One,
    We have made changes in BeX query and these changes are not getting reflected in webi reports.
    - We try to edit the connections.
    - Recreated the new connections and point it the webi report.
    We are using BO4.0 patch 2.9.
    DO we have to made any setting in BICS or in CMC or there are any parameter need to tkae care while creating the OLAP connections. we are using SSO.
    Thanks in Advance.

    Hi,
    You shouldn't have to do a "change source" at data provider level, but confirming the object mappings again by repointing webi to the bex query should help.
    As i'm sure you know, we are delivering many corrections in this area, for example:
    If this concerns a Hierarchy change see ADAPT01607814   (P2.11)
    If it concerns change to prompt variables see ADAPT01609491   (P2.12)
    Here's the link to the readme for Patch2.12 (out today) https://websmp101.sap-ag.de/~sapidb/011000358700001362992011E
    Out of interest, what change did you make in the bex query specifically ?
    Regards,
    H
    Edited by: Henry Banks on Feb 17, 2012 10:01 AM

  • BEx query not getting reflected correctly in OLAP workspace

    Hi,
    I have an OLAP workspace based on a BEx query. Everything works fine with BEx query and We can see the BEx report as required. But in OLAP workspace for one of the feilds (profit center), the workspace is coming with the Texts but not keys. Keys says Not Assigned everytime.
    BEx
    OLAP Workspace
    1990909099/Super Center
    #/Super Center
    871812788/Athlon
    #/Athlon
    We refreshed the connection couple of times and created new reports without any better results. Can anyone suggest a solution for this.
    Thanks
    Neo

    Hi,
    Yes,We're using standart template.
    This below  URL generated froum Query Designer.
    http://<hostname>:50100/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=KSD_M01_Q006
    regards

  • BEX Query not dispaying results

    Hi All,
    I think this week am hit with number of issues....as mentioned in my earlier posts am new to SAP BW and having issues.
    Issue:
    We have a BEx query and it is not displaying results(in Web report). Error is "could not find any records for the given selection......... "
    I have checked the Infocube for the given selection in Query and I can display the records where as it is not displaying at all in BEx query results.
    I have reactivated the cube to see whether the data flows through but it didn't work.
    I tried executing query using RSRT and it is not displaying any results.
    I have deleted data in the infocube and loaded it again and it didn't work
    Any help would be much appreciated.
    Cheers
    Sandeep

    Hi Akshay,
    No errors while executing query under RSRT.
    Yes we are using time variants and we have included fical variant under characteristic restrictions.
    Cheers
    sandeep

  • BEx Query not able to excecute on SAP Portal using Internet Explorer 9

    Hello,
    What config. do I need to do in the Internet Explorer 9 so that it will excecute the query on SAP portal.
    Error message: Internet Explorer cannot display the webpage
    Thanks
    Arjun

    Hi Arjun
    Please check the SAP portal and BI system version and then check the compatibility for BEx Query in IE9.
    Refer to http://service.sap.com/pam >> Click on SAP Netweaver version, here you can find the PDF files.
    BI (BEX Web) is supported on IE9 with SAP porta version 7.0 SPS24 in vista or windows 7 if you SAP portal version is 7.0
    Best Regards
    Arun Jaiswal

  • Median function in BEx query based webi report

    Hi Experts,
              I have a requirement to have a median function in a chart in my webi report. I'm using BO 4.0 SP2 Fix pack 2.9 and using IDT connection to connect BEx queries. I have 3 dimension objects in X axis and Median as y axis. When i'm calculating median, it need to have the child dimension aslo be part of the chart. but my requirement the child dimension should not be in the chart.
    Example: i have Region, Country and state dimensions as X axis, and Median of sales revenue by city as y axis.
    In my chart, i should not include city. So i have written the formula like "Median(Sales revenue) Forall(City) in (Region;Country; state)" and i tried all the combinations of this.
    When i'm including the city object its working fine, but when removint it, its not. Please help me in this.
    Thanks.

    Hi Suman,
    thanks aigain for your reply!
    I have tried your proposal before you have posted it.
    In my special case the following if/else statement works successfully:
    CKF = calculated key figure
    Formula1 = (CKF1 == 0) * 0 + (CKF1 <> 0) * CKF2
    In my case the CKF2 is the result value from "Incoming Order value" - "Turnover"
    So I had to define a separate Formula (1:1 equals to CKF2) and then I was able to set "*CKF2" in the statement.
    The statement CKF2 = (CKF1 == 0) * 0 + CKF2 is not possible (because it´s not possible to calculate from CKF2 itself).
    Now it works
    Best regards,
    Michael

  • *Currency Conversion created in BW BEX query not working in BO report:*

    Hi,
    We have created a key figure with currency conversion and working fine in BEX when I execute that query.
    But when created a BO universe and WEBI report on that query, I am getting following error.
    "MDX query failed to execute with Error".
    Can anyone please help.
    Thanks
    Dhana

    Hi
    Thanks. But new problem.
    When I pulled OCURRENCY to free area now it is working in BO also.
    But now another problem is --> for Currency translation am getting prompt in BO also to select target currency. There , all values (all currency types) are not displayed , only USD is coming. WEBI report is fine for USD conversion.
    But when I want to convert into AUD , its not there in LOVs .
    Some time back this problem exists in Bex also, but when we changed cube level setting as below:
    Infocube : display-> OCURRENCY right click and go to "provider specific properties"..and then
    go to "object specific properties "  and then for "Query Exec Filter Val" selected "M Values in Master data table".
    Now when executing query in Bex for target currency selection values it is taking from master data and displaying all types like USD, AUD, INR ..etc. in drop down list.
    Now created new BO universe and new WEBI report but only USD is coming in selection LOVs not all types.
    Please help us.
    Thanks
    Dhana.

  • Totals in BEx query not matching with actual total

    Hi,
    We have one report in BI, the total for few columns (Given by BI system i.e system generated) for the values of the key figures is not matching with actual total of that values...
    I am confused to see, how sap BI can do the totaling mistake...
    Please suggest and help....
    Thanks,
    Nitika

    Hi
    Please check following things
    1. Check key figure aggregation properties, how it is defined, it might have been defined as Avg, Last,first value or it might using exceptional aggregates.
    2. Double check your process of validation between cube and bex report for totals.
    Thanks
    Raghu.

  • Report to Report functionality in bex query

    Hi All,
    I've created two queries... query A and query B. In Tcode RSBBS I have set up query A as the sender and Query B as the reciever. Query A contains summarised data about milegae claims e.g. total miles and cost. Query b has further details about the mileage claim such as travel location, travel reason etc.
    The user is then able to right click on a line in query A from the summariesed data to query B to the more detailed data relating to that line. My problem is that not all the lines in query A have more detailed data relevant to it. My question is, is there a way to create something in query A so that it indicates whether the line is available for drilldown or not such as colour.
    Regards
    Forhad

    Forhad,
    This is what I had in mind:
    Report A:
    Comp Code   Sales Org   Amount  Count
    0100          ABCD      $200       5
    0100          EFGH      $100       2
    Effectively, the InfoProvider has 5 records with company code 0100 and sales org ABCD. When a user right-clicks on that row and goes to dependent query, the detail report has to show only 5 records because InfoProvider has only 5 rows for those filters.
    In other words, you are not referencing the child query count in parent query. It is just the way the data is in the cube and both reports show the data independently.

Maybe you are looking for