OLAP universe object parsing issue

Hi,
We have recently upgraded to Business Objects XI 3.1 sp3 with SAP 7.1 sp5 and SAP integration kit and all the transports are done for installation.
Using enterprise authentication i am logging into universe designer and then created a connection using SAP BW client on BEx query by providing all the login parameters (sap login usr name and pwd, application server name etc).
Universe is created and everything is fine, but when i tried to create a calculated measure i am unable to parse object.
i created a simple measure like
<EXPRESSION>(@Select(Key Figures\Orders) * @Select(Key Figures\Quantity))</EXPRESSION>
when i parse i am getting  " XML expression is correct,however the MDX expression is not parsed in this process. (UNV 00050)"
when i used this calculated measure in webi, column is empty.how ever other objects are working fine in webi report and i could able to perform all calculations in webi.
Can any one tell me what could be the issue with object parsing.
Thanks,
Harsha

Hi,
I tried all the syntaxes but still the measure is not parsing, before upgrading In BO XI 3.1 sp2 i have created calculated measures and there was no issue.but after the upgrading to BO XI 3.1 sp3 i am not able to create calculated measures in universe I am using BEx query as source i have created some RKF's and CKF's in BEx, and i need to create some measures in universe as per reqmt.
I ran the report including the measure with below formula
<EXPRESSION>(@Select(Key Figures\Orders) * @Select(Key Figures\Quantity))</EXPRESSION>
MDX generated is as below:
WITH MEMBER [4IVR0WPP0WQB4EFAXRVX90OQ4].[BD4D9550-F4CD-4289-AA,CC,A4,21,82,3B,1B,EB] AS ' ([4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HB8NU8VBIMMCXYNRQZNZG] *
[4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HBO0W62QJVP99MSGB3LF0]) '  SELECT  { [4IVR0WPP0WQB4EFAXRVX90OQ4].[BD4D9550-F4CD-4289-AA,CC,A4,21,82,3B,1B,EB],
[4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HB8NU8VBIMMCXYNRQZNZG], [4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HBO0W62QJVP99MSGB3LF0] }  ON COLUMNS , NON EMPTY
[CS_LOCN].[LEVEL01].MEMBERS ON ROWS FROM [MP_003_BO] SAP VARIABLES [!V000006] INCLUDING [0FISCPER3].[001] : [0FISCPER3].[008] [0P_FYEAR] INCLUDING
[0FISCYEAR].[Z12010] [!V000003] INCLUDING [CS_VAC].[020]
here the MDX is incorrect the calculated measure is appearing before the SELECT statement in above MDX.
I would like to know that any MDX driver is missing and also how to debug this issue.
Thanks,
Harsha

Similar Messages

  • BW OLAP universe object with Aggregate

    How to create an BW OLAP universe object with Aggregate to a higher level than the underlying query?
    The objective is to synchronize 2 queries by Contract Agreement quantity range and part of the calculation is to obtain the contract total quantity in one of the queries that is by Year and Month. For that query I need the total quantity for the contract.
    Example;
    Contract #    Year    Month     Qty
    1             2011    1         230     
    6             2011    2          50
    14            2011    3         124
    u2026
    25            2011   12          87
                     Total Qty --> ?
    The following syntax gives the total quantity by contract / Year / Month, not the overall contract quantity. I could not find any MDX reference to use to solve this.
    The dimension is [0SALESDEAL].[LEVEL01]
    <EXPRESSION> AGGREGATE({[0SALESDEAL].CurrentMember:[0SALESDEAL].CurrentMember},[Measures].[DBKTD232QCONV8CVZYB17B5P0]) </EXPRESSION>
    Thanks,
    Marco
    Edited by: Marco R on Dec 6, 2011 3:25 AM
    Edited by: Marco R on Dec 6, 2011 3:27 AM
    Edited by: Marco R on Dec 6, 2011 3:31 AM
    Edited by: Marco R on Dec 6, 2011 3:33 AM
    Edited by: Marco R on Dec 6, 2011 3:35 AM

    Hi Andrew,
    Looking at your statement I get the feeling you want this as a dimension/characteristic.
    Since an expression has to be numeric and a characteristic in BW cannot be numeric, this will not work.
    Only measures/keyfigures are possible.
    The direction from SAP is to push any modeling to the BW query or even BW itself.
    Hope this helps,
    Marianne

  • OLAP Universe : Objects LOV pointing to master table in BW

    The LOV's generated were pointing to master table in BW. Say like we have Material dimension along with LOV's generated by Universe based on Bex is poingting to Master table in BW. "0Material.Level 0". when we refresh or search for a purticular Material we are getting two errors: Partial Results and No Value found.
    I checked in the Parameter and we dont have any restriction bringing the number od rows. Can anybody advise how to show all the Materials in LOV's. I tried using delegated search option in the Object properties. But doing that we loose Search option
    and showing LOV. Because it expects User to key-in the Material Number.
    Thanks
    Pats.

    Hi,
    I believe that under universe option Under control uncheck every thing and export the universe and this will resolve the issue.  If not then go to following SDN link try to apply the solution provided in this section to see if you get your issue resolved.
    [Large volume data - WebI document fails;
    Bashir Awan

  • SAP BW OLAP Universe performance issue

    Hi,
    Based on BO recommendation, I created a universe on top of a big BEX query which included all characteristics and key figures from a cube. I then created a webi report with 5 characteristics and 1 key figure from this universe. I also create the same report in BEX query designer(same number of objects). I ran both. The Bex query completed under a minute and the webi report took more than 12 minutes to run. I did a bunch of other test with different number of objects combination and saw similar differential in query performance.
    I did a trace using 'sm50' and saw the open SQL submitted to BW from BEx was very different from what got submitted from the webi report. Here is what I saw in pseudo code.
    Bex:
    select dimension1.blah, dimension2.blah, dimension3.blah, dimension..... sum(measure)
    from dimension1, dimension2, dimension3, dimension..... factTable
    where dimension1.SID = factTable.d1SID
    and dimension2.SID = factTable.d2SID
    and ......
    and (query filters)
    OLAP Universe
    select dimension1,blah, dimension1.SID
    from dimension1, factTable
    where dimension1.SID = factTable.d1SID
    select dimension2,blah, dimension2.SID
    from dimension2, factTable
    where dimension2.SID = factTable.d2SID
    select dimension3,blah, dimension3.SID
    from dimension3, factTable
    where dimension3.SID = factTable.d3SID
    It seems the OLAP universe was querying the BW cube one dimension at a time and then somehow piece the result sets together to form the final result set. Dimension tables join to the fact table without any filter definitely causes performance issue. Beside, I have no idea why the query requests are submitted to the BW system like that.
    I looked in varies forums and found no similar issues posted by others. Has anyone had any performance problem with there OLAP universe? Is this a matter of configurations?
    My envrionment:
    SAP BW 3.5
    BOXI 3.0
    ORACLE DB (version ??)

    Hi,
    You cannot compare a BEx query and a universe query by just comparing the trace.
    BEx query makes ABAP calls and universe query makes MDX calls;
    Moreover there is only one MDX call sent to SAP, what you have noticed is that there is one MDX call to retrieve member for a given characteristic whereas a prompt has been set on.
    Last, Web Intelligence consume only flattened data (row sets) wheras BEx consume data sets.
    That means that there is a flattening operation between SAP OLAP engine and the data sent to the Web Intelligence document.
    A fix have been developed for a customer to improve performance on Web Intelligence queries, this fix will be available for all customers in SP2 planned in June 09.
    Here is a a brief summary of what the fix provide:
      -  Provide data directly from SAP server to Web Intelligence document. Avoid unnecessary conversion steps: row set --> data set --> row set
      -  Eliminate redundant sort operations
      -  Other optimization operations
    Didier
    Edited by: Didier Mazoue on Nov 20, 2008 8:38 AM

  • Parsing Issue at Universe Level

    Dear All,
    I am a BO Consultant, for the past few months we (our report developing team) were trying to create new objects at the Universe level (based on requirement) so that we can use the same in the report level, but unfortunately we failed to do the same.
    Actually we are struggling in this case. Every time when we try to create an object with function specified at the Universe level its coming up with errors like this expression is not parsed etc.
    We are using,
    1. SAP BI 7.0 with DB2
    2. SAP BO XI 3.1 Edge
    3. Universe Version 12.3.0 and Build 601
    Universe on top of BW Cubes have any limitations??????????
    Please help us with a solution.
    Regards,
    Arun Krishnan.G
    SAP BO Consultant

    Hi,
    It all depends what your syntax is, and what you are trying to do.
    Also, I would not trust the Parser too much in OLAP BAPI universes.. 
    Here is an SDN guide about OLAP universes and some examples of XML markup required for predefined filters for MDX scenarios.
    [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb?quicklink=index&overridelayout=true]
    Regards,
    H

  • BO performance issues on OLAP Universes

    Hi All
    I am working on BO XI 3.0 and installed the SAP Integration Kit for Windows 3.0 version.
    I have built OLAP Universe based on BW cubes and reporting on the Universes using Web Intelligence.
    I am facing performance issue when trying to query on OLAP Unvierses and the query is taking ~10 mins to fetch the data. I have installed the FP3 for BO XI 3.0 and there is no improvement as such. Could anyone help me on this issue.
    This has been a long standing issue and is causing a hindrance to our deliverables.
    Regards
    Chetan

    Hi Ingo,
    We are also currently facing similar kind of performance issues.
    We have sap bw Infocube and bw query on top this we have BO Universe.
    As per best practices document "the WebI query panel definition is what defines the "MicroCube" and thus the MDX query which is executed on SAP BW".
    It means that the actual query performance / query execution time / memory consumption is directly related to number of objects dragged into WebI query panel not in SAP BW query.
    if this is true then what is the reason not to have all infoObjects / keyfigures of InfoCube in a single sap bw query?
    I found another Best practices document which says that "DO NOT build one query per infoProvider because elements can add processing time even though you are not using them into the Web Intelligence Report
    In one statement it says that the WebI Query panel definition is what MDX query going to execut on SAP BW and in other statement it says that the elements in SAP BW query can add processing time even though we are not using them in Web Intelligence Report*.
    Appreciate if you can clear these contradicatory statements.
    Regards,
    Ravi Kumar Garre
    Edited by: Ravi Kumar Garre on Oct 26, 2009 4:00 AM
    Edited by: Ravi Kumar Garre on Oct 26, 2009 4:06 AM

  • Olap universe(creating new object)

    All,
    I am using bo 4.0 version and i have created an olap universe on top of bex query.i am new to olap universe.
    I have a need to create a new customized object in my olap universe out of two existing objects.As of now i am creating variables in my webi report generated out of the olap universe to fit my need.Instead i want to create a condition object or some kind of object in the universe itself.
    how can i do this?Any ideas or suggestions.
    For ex:
    my requirement looks like this,not exactly the same as indicated below but similar.
    existing objects
    city object has certain values 'hyd','new york'
    currency objecthas 'rupee','dollar'
    new person object out of the above mentioned existing objects
    if city='hyd' and currency='rupee' then 'indian' else 'non indian'
    how can i do this?Any ideas or suggestions.
    Regards,
    Reji.
    Edited by: reji2011 on Dec 7, 2011 11:10 PM

    Hi,
    there's a function builder / formula editor in Universe Designer, with OLAP universes this uses MDX syntax with XML markup.
    to build up some logic, you need to use the "IIF" operator.
    regards,
    H
    p.s.  in BI 4.0,   route-one should be the BICS BEx connection, not the OLAP .unv ..

  • Olap universe lov restriction on detail object key

    Hi,
    I created a restriction on dimension lov in SAP olap universe using 0PLANT dimension on Orders keyfigure as below
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[1000])</EXPRESSION>
    this syntax works but webi results are not matching with BEx.
    Values of BEx RKF and formula object (
    =[Orders] Where([L01 Plant] = "1000")
    )created in webi are matching.
    I am trying to create restriction on detail key object,  like
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[LEVEL01].[[20PLANT]].[Value].[1000])</EXPRESSION>
    above measure is giving error when i run the webi query.
    here both L01 Plant and L01 Plant Key are having same lov as 1000,but i wanted check exact values with detail key syntax.
    Can anyone please tell me the syntax for using detail objects keys for restriction in Select Clause.
    Thanks,
    Harsha

    Hi,
    why are you not creating this as a restricted key figure in the underlying BEx Query ?
    Ingo

  • SAP BW Time characteristics data type issue in BO OLAP Universe

    Hi Ingo,
    We have time characteristics in our SAP BW Queries, for example OCALMONTH with data type NUMC.
    When we create OLAP Universe these objects are having Character as data type and not working properly when we use these objects as filters. The filter working on string instead of calender month.
    If i try to change the data type in Universe we are not able to execute Web Intelligence queries due to Driver Not Capable error.
    Appreciate you help.
    Regards,
    Ravi Kumar Garre

    Hi,
    Please find my linline answers:
    - are you entering the value manually or did you select the value from a list of values ?
    I am selecting the values from list.
    - based on which item is the list of values ?
    List of valules are coming from BI infoObject 0CALMONTH
    - what about creating a variable for this in the underlying BW query ?
    We have created a BI Variable, found that the Condition operator is Between and hence when execute the WebI query for this object there are two prompts one is for FROM value another is for TO value. If i give a value Dec, 2007 for FROM and leave TO as blank then i am getting data for all months instead of DEC 2007 onwards.
    - did you trace the Web Intleligence part to see the details ?
    I do not have authorization to login on server and find the trace. I will ask our BO Administrator for MDX log file.
    Thanks & Regards,
    Ravi Kumar Garre

  • Edit an object's select statement of OLAP universe SAP BW

    Hi everybody
    I am new at working with Olap Universes BW, and I have to edit one universe SAP BW, I don't know if I can to use substring function on a select statement, for example  substring([0D_DIV].[LEVEL01],5,5), I try to use this function but I have a error,
    Could you help me? I need to returns part of a string, is correct to do it on a universe or is better to do at BW.

    Hi,
    First of all I recommend you read the documentation that gives you information about OLAP universes and especially SAP BW universes.
    I also recommend to download documents related to SAP universes deployment, administration and customization:
    [OLAP Universes - how to samples and recommendations |https://wiki.wdf.sap.corp/wiki/display/globalregions/OLAPUniverses-howtosamplesand+recommendations]
    [SAP Integration |https://wiki.wdf.sap.corp/wiki/display/globalregions/SAP+Integration]
    Now you can customize expression using MDX in OLAP universes. MDX expressions must be enclosed with <EXPRESSION></EXPRESSION> XML tags.
    Unfortunately SAP BW MDX does not support calculations that return string or date values.
    The onlyway to return string is to use NAME or UNOIQUENAME attribute.
    See answers I already in the forum: [Forum answer |Re: Create new dimension on top of SAP BW data]
    Regards
    Didier

  • PromptSummary() issue in OLAP universe

    Hi all,
    I'm trying to display the user prompts on a webi report. The universe is an OLAP universe based on a Bex query with an SAP variable. The user is prompted to enter a month and year. When viewing the webi report in Edit mode, the cell containing the PromptSummary() idisplays the selected month/year as expected. When viewing the report (not in edit mode) the cell displays "**Query Name:Query 1**"
    Can anyone explain what's going on?.
    Cheers
    Keith

    Try increasing the cell size.
    You can also use the UserResponse function in webi.

  • Designer gets closed when integrity check is run - OLAP Universe (MSSAS)

    Hi All,
    I have an OLAP universe (Designer XI 3.1).  The source cube has been built and deployed using MS SQL Server Analysis Studio 2005.  When i try to run an integrity check to parse objects the designer closes down automatically.  This issue is only with OLAP universes, other universes work just fine.  In fact I remember the same universe was working perfectly well a few months back.  Recently I had to re-install BOXI 3.1 due to some issues with the registry files but after the re-installation this is the first time I am working on an OLAP universe.
    I checked MDA.log file and found the following error logged there multiple times (each time i ran the integrity check):
    Failed to locate the LogFormat settings in the registry. In this case, the LogFormat will use the default format.
    I searched the net for a possible solution but couldn't find anything useful.  Has anybody of you faced a similar problem?  Is this a registry issue?
    Please help!!
    Thanks in advance!!

    Hi Sonia,
    How did you solve the problem? We are also facing problems with Hierarchies in the BW Universe. Please share the knowledge, so we (someone else) can also be beneficial.
    Regards,
    Bhavesh

  • Webi Reports Hyperlinks on top of OLAP Universe

    Hi Webi Gurus,
    my BoBJ version 3.1 sp3
    BW-OLAP universe.
    I checked below Link for the solution, but couldn't
    get answer, as these are based on relational universes.
    /people/erika.atencio2/blog/2011/04/14/creating-hyperlinks-between-webi-reports-in-infoview
    I have a OLAP universe. On top of it, there are two reports
    One parent report and one child report.
    Question: I have a column called Auction Id on parent report.
    Now, when I click on any of the Auction Id values, child report
    should only bring data for that Auction Id alone and not other Auction Ids.
    In the child report, I have Auction Id as query filter.
    Now while in Webi's Interactive Mode, I chose the option
    Select Column--> Create Hyperlink --> Link to a document -->
    Document prompts: Prompt User in runtime.
    This option works fine.
    However, when I change the Document Prompt to:
             Select Object (or) Build Formula
    report throws MDX error, during run-time,
    Please suggest.
    MDX error:
    ========================================================================
    The query failed to execute with the error Value for the Characteristic.....WIS 10901
    ==================================================================================
    Regards,
    AK

    Still getting error...I tried this
    >> 1. In the detail webi report, create a query filter for AuctionID and use Equal operator. Give the prompt text as ActionID.
    AK: Done
    >> 3. In the column properties, in the display section select display cell content as HTML.
    AK: Done
    When I provide the URL and Parse it throws following error.
    "Invalid identifier a at position 15. (WIS 10022) "
    I gave following URL and parsed it.
    ="<a href="http://sapbojdev:8080/OpenDocument/opendoc/openDocument.jsp?
    iDocID=18774&lsSAuction ID="URLEncode([Auction ID])"&sRefresh=Y
    Q: Is there any problem with syntax?
    Q: Secondly, for OLAP universe based webi report , can't we use the hyperlink option:
    Link to  Document
    Thanks,
    AK

  • Setting a Prompt value for KeyDate in WebI on SAP OLAP universe

    I have a webi report which has as its dataprovider a query against an SAP olap universe against a BEx query which has the KeyDate parameter exposed.
    Iu2019d like to get at this prompt from the SDK.
    In infoview if I run the report it pulls up the keydate prompt (a special dialogue which seems to be implemented as part of the connection definition) - this prior to pulling up the full prompts dialogue and showing all universe based @prompt filters.  In WebI I can see the prompt value entered using =UserResponse("dp.kd.value") .   So it does seem to see the keydate as a prompt of some sorts.
    I've got a little jsp that allows me to set prompts very nicely (and packeaged as a jar in the CMC that schedules ok as well) but when I put it against a report with a key date u201Cpromptu201D it just wonu2019t see it.  When I call a getCount() as below it returns 0.
    oDocumentInstance.getDataProviders().generateQueries();     
    Prompts oPrompts = oDocumentInstance.getPrompts();
    out.print(oPrompts.getCount());
    This is all in an attempt to get around the scheduler limitations of key date which would give me two queries, two universes and two reportsu2026 one report for scheduling (using a customer exit to set key date) and a second for user refresh  (with a prompted key date)  which would all be rather messey to say the least!
    So any cunning ideas on how I can get hold of this key date thingymebob in the SDK?
    (ps. "Fixed in V4" would be nice to hear as an aside to thisu2026 In playing with the ramp up Iu2019ve got the same issues however so Iu2019m not to hopefull )
    Thanks!
    Jeremy.

    Hi,
    First I think you have to create a support ticket because normally the object in the universe must be generated with data data type nad it is not the case.
    We are awere of some limitations with data types.
    Secondly, if you want to have users entering date you have to specify date in the prompt data type like this:
    <OPTIONAL><FILTER KEY="[PERIOD SD].[DB Full Date].[DB Full Date]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT CAPTION="@Prompt('Enter Date ','D',,mono,free)"></CONSTANT></CONDITION></FILTER></OPTIONAL>
    Regards
    Didier

  • Parsing Issue in Filter For Date Format

    Hi Folks,
    I am having Parsing Issue on "Key Date" Object in Universe. See the Error and Code below for your review
    Error: Parse Failed: Exception: DBD, The value entered is not valid. It must adhere to one of the following formats.
    YYYYMMDD
    DD.MM.YYYYState:N/A
    Code:
    <OPERATOR VALUE="AND"><OPTIONAL><FILTER KEY="0I_DAYIN"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@Prompt('Day Interval From','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/><CONSTANT TECH_NAME="@Prompt('Day Interval To','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/></CONDITION></FILTER></OPTIONAL><FILTER KEY="0P_KEYDA"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key Date','D',,mono,free)"/></CONDITION></FILTER></OPERATOR>
    This universe is created by someone else and client need to modify it with a calendar but i did not modify it yet however its already giving me the hard time. Kindly advise, any kind of help will be appreciated
    Thanks

    Hi,
    With the information provided I cannot for sure get to the error but here is what I would check.
    Firstly, I was wondering if the 5th parameter in the @Prompt can be Primary_Key. I thought it would be either free or constrained.
    Secondly, please the LOV values for the @ prompt are being populated from 'Calendar Day\LovDay IntervalBase'. So I would check the date format being used there.
    Third, the To and From dates are alphaneumeric and not dates, so I am not sure how the comparision would happen.
    Hope this helps.
    Regards,
    Madhur

Maybe you are looking for

  • Is it possible to change the color of the folders in Mail

    I just tried to change the color of the IMAP folders in Mail. I want to mark some of the folders to find them easier. so it would help if i can chance the color of the Name or Icon. Thanx

  • Error while using UDF in 2007b

    Hi, i recently upgraded from 2005b to 2007b when i am using manager login to enter some UDF values in excise invoice there is no problem but when i am using any other login and clicking on view>> user defined fields it is giving an internal error and

  • How to create a view with a column of counts of the occurence of values

    If my table is: ID 1 2 3 3 5 5 5 I want to create a view with the following result: ID   COUNT 1     1 2     1 3     2 5     3 How would I accomplish this?

  • Changing email address, and reconfiguring iCloud

    Hey you guys! I recently changed the email address that I was using for my iCloud. Now my iPhone still has the iCloud information with my old email address, and to change that, it appears that I have to delete the iCloud account and re-add it. The on

  • How to Create Charts with the variable value

    Hi, I have to create a crystal report in which i have given variable under "Facility:". I have kept two variables under facility of which one is like you can select one or more values and other one u can select only one value and i mentioned it as ma