Dynamic Prompts in Universe using BEx query

hi,
We have create an object in BO Universe using @prompt. the formula goes like this.
<EXPRESSION>IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= USD,@Select(Actuals\Actual Amt (USD)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= EUR,@Select(Actuals\Actual Amt (EUR)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= GBP,@Select(Actuals\Actual Amt (GBP)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= JPY,@Select(Actuals\Actual Amt (JPY)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= AUD,@Select(Actuals\Actual Amt (AUD)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= LOCAL_CURRENCY,@Select(Actuals\Actual Amt (Local)),IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= DOCUMENT_CURRENCY,@Select(Line Item Detail in Doc Currency\Line Item Doc Currency Amt),0)))))))
</EXPRESSION>
The objects Actual\Actual Amt (USD) works , but when using these objects are used in this kind of expression, its not working. It does a memory leak on the SAP BW side.
has anyone faced this issue and fixed it?
Thanks,
Anu

You can-not return characteristics via <EXPRESSION> tag.
In fact right now it is not possible to do substring and similar operations. You can only create objects which returns numeric
value.
Regards,
Rohit

Similar Messages

  • IIF not accepting Dimensions in a OLAP Universe using Bex Query

    Hi,
    We have an issue with Prompted object , u2018IIFu2019 expression is not taking dimension object in u2018Thenu2019 clause, it takes only the measure object.
    Below are the two expressions one with measure and other with dimension, object with measure works fine and dimension doesnu2019t.
    Dimension u2013 Prompted trend (Fails with Error)
    <EXPRESSION>IIF(@Prompt('Select a time period trend view','A',{'Fiscal_Year','Fiscal_Year_and_Quarter','Fiscal_Year_and_Month','Calendar_Year', 'Calendar_Year_and_Quarter','Calendar_Year_and_Month'},mono,constrained)= Fiscal_Year,@Select(Fiscal Dates\Fiscal Year),A)
    </ EXPRESSION >
    Measure u2013 Prompted trend (Works fine)
    <EXPRESSION>IIF(@Prompt('Select a time period trend view','A',{'Fiscal_Year','Fiscal_Year_and_Quarter','Fiscal_Year_and_Month','Calendar_Year', 'Calendar_Year_and_Quarter','Calendar_Year_and_Month'},mono,constrained)= Fiscal_Year,@Select(Actuals\Actual Amt (Local)),0)
    </EXPRESSION>
    Has anyone tried to do this in a different way
    Thanks,
    Anu

    Hi,
    just to let you know - not overlooked - will look into this.
    Ingo

  • BO Universe on BeX Query in Lumira

    Hi All,
    I have a requirement of accessing a BeX query in Lumira and do visualizations on it. As Lumira is not capable of accessing BeX query directly, I think, I would need to create a universe on InfoCube, for that BeX query, and then consume that universe in Lumira. Thereafter, I would need to create different datasets for different queries.
    Now, I have two questions:
    1. Is this approach correct? Is there any other more efficient methos than this?
    2. Can I create a universe on BeX query directly? Is it possible?
    When I'm following first approach (universe on InfoCube using IDT) and trying to consume that universe in Lumira, I am getting below error:
    And when I'm following 2nd approach (universe on BeX query using UDT), I am not able to view that .unv in List of Available universes in Lumira.
    Please help.
    Thanks Much,
    Purnima

    Explanation on the error you faced:
    The data acquisition of medium-large, large, and very large datasets from UNV or UNX universes is not supported on default installations of both SAP BusinessObjects Business Intelligence platforms 4.0 and 4.1.
    It is recommended for customers that want to acquire such datasets to install a SAP BusinessObjects Business Intelligence platform (SAP BIP) server dedicated to SAP Lumira and significantly increase the value of the Maximum Character Stream Size of the Web Intelligence Processing Server on that particular server. Note that increasing this value on a running SAP BIP server can impact the memory consumption and performance of any BI clients tool running on that installation, particularly Web Intelligence. While this practice is not formally discouraged, we advise customers implementing this solution that they might face memory consumption increases and longer document data refreshes so they will need to monitor the SAP BIP server's behavior adequately to control the impacts.
    Can you try to place some filters to limit the data volume retrieved?
    Best regards
    Antoine

  • Universe on BEX query - Measures Question !!

    Hello All,
    I am building a Universe on BEx Query.
    We have the following environment:
    SAP BOE XI 3.1 SP2 FIX Pack 2.5
    Integration KIT SP2 FIX PACK 2.5
    SAP BW 701 Level 6
    I see that in the BEX query the KF have technical names as "ZZRKF_Amount".
    But, when this query is brought into Universe, I see the tech names as
    [[4J922TWKO24NHTROOEY3WXK72]].[[4J922URARWJHKBXHBR7H15F26]]
    I would like to see this as [[MEASURE]].[[ZZRKF_Amount]].
    Does anyone know how to do it?
    Your help & time is appreciated.
    Thanks

    Hi,
    In the Universe Designer, select Tools ->options. In the OLAP tab, there is option to select as generate technical names as details.
    I guess this may help you.
    If still facing the same issue, then follow the user guide from the below link:
    http://help.sap.com/
    -Noor.

  • Created Webi report using BEx Query.

    Hi All,
    I am going to upgrade in BW and using BEx  & Webi Report. I have created webi report using BEx query. Now I need to test data in webi report.
    Can anyone tell me how to test data?
    Regards,

    Hi,
    compare the webi report data with Bex report. more you can compare webi report with SAP R3 system for random records.
    Thanks,
    Amit

  • How to build and publish a webservice using Bex query?

    Hi Experts,
        Can anyone tell me how can i step by step to build and publish a webservice using Bex query,
    so another application can call this webservice.
    thanks.

    There i already a web service called query_view_data for the same available as delivered by SAP...

  • WebI Prompts using BEx Query Variables

    Hello,
    I have the following issues with WebI report selection input paramaters (prompts) that use BW BEx Query variables. Could anyone please assist?
    Issue 1:
    The WebI report has one mandatory and two optional input paramaters (all paramaters from BW BEx Query). When I execute the report via WebI rich client directly, enter the value for mandatory input parameter and leave blanks for both optional input parameters, the report ran OK and has no issue. However, when I ran it through CMC a strange thing happen: I could not select the value for mandatory input paramater as it requires to have values for both optional input paramaters first (which I wish to have them blank and optional). When I refersh values for the mandatory paramater, it says "List of Values for current prompt requires values for following prompts:...(ie. the two optional parameters).
    Anyone has any idea - it seems like it is a CMC issue for the WebI...
    Issue 2:
    Take the same WebI report above, the issue here is the order sequence of the prompts (ie. the selection input parameters). How can we change/control the sequence of the prompts? Whatever sequence of the varaiables (input paramters) in BW BEx Query, the WebI ignores it. Please advise.
    Thanks & Regards,
    Andy

    I did not see separate thread for issue #1, therefore I'll us this thread.
    I am running into similar issue when I get an error message ''List of Values for current prompt requires values for following prompts: <Name of the prompt>".
    We are using BO V4, SP2, Patch 10 with SAP BW as DB via BEx queries.
    I opened support ticket for this issue since obviousely it's still an issue after applying patch 10.
    It's not an issue when 'Rich Internet Application' option is selected to view report in 'Reading' mode (via Launchpad Preferences then Web Inteligence; defautl value for viewing is 'Web').
    I have not tried to use Client tools but even if it works with Client tools - it is not a solution for us. Our company does not plan to install client tools on end user computers.
    Bigger issue us is that report scheduling invokes Web version (not Rich Internet Application). Therefore we cannot schedule report that is giving us problem described. I tried scheduling report from Launchpad and from CMC and both game me error highlighted.

  • Cnnection error while creating universe on Bex Query in BW

    Hi
    I am getting connection error while connecting to BW Bex query.
    The error i am getting while creating universe is  A runtime exception has occured Error getting levels for hierarchy  dimension .....:Unknown error.
    After this
    Also while creating universe no key figures/measures are getting generated from Bex query to designer.
    Also in Bex query which are created as mandatory variables comes as  Prompts in webi.
    But when I try to parse in Condition filter it is throwing error.
    Currently that mandatory variable is From Date and To Date
    Is we require to change the prompt syntax in Condition filter.
    Also kindly suggest solution for Connection error as impemtation is getting affected.
    Regards
    Gaurav Mang

    Hi
    R u saying allow external acces in BEX query.This option in Bex Query designer.
    Or In whether while creating universes under properties tab there is use of OLAP universes option has to be made to Yes.
    This both things we have tried
    Let me know any other option to be tried.
    Regards
    gaurav mang

  • Unable to sequence the prompts as mentioned in Bex Query

    Hi,
    We are unable to sequence the prompt order in web i report which is build up on Bex query.
    We have follwed the prompts order in Bex query,
    When we build a web i report the sequence of prompts is not coming as expected, rather its taking in alphabetical order.
    Please help us in ordering the sequence of the prompts in Web i.
    Thanks in Advance,
    Swaraj.

    Hi,
    Part of this other post I just answered, so I'll leave the same info here...
    This is a known behavior, but I know it is bugging more people, because the same is true for (normal) universe based prompts.
    They also cannot be 'arranged'. Since the Bex query is the 'universe', ordering that has been set in the 'universe' is the only chance you have.
    Like with the universe you could use prefixes to separate them from the query defined prompts (based on an alphabetic sort of the prompt message). I'd say this is a good one for the idea place...
    (actually it is there, part of this one... [https://cw.sdn.sap.com/cw/ideas/2377])
    Vote for it if you want this happening.
    Good luck,
    Marianne

  • Universe on Bex Query with Condition

    Hi,
    I'm working on creating a WebI version of a Bex Report. I've created a universe on top of the Bex Query and then a WebI report based on the Universe. The Bex Query contains 4 conditions. They allow optional filtering of two measures, Less Then or Equal and Greater Then or Equal. The conditions are applied at the employee level of the results set, so for example, if an employee's total sales is greater than 50 and the user enters 50 for the condition then none of that employee's rows of data will appear.
    A single filter was created in teh Universe containing all four conditions. I had to update the syntax as they were all brought in using Equals instead of the GreaterorEqual and LessOrEqual. I also updated the filter key to use the @Select and the correct dimension.
    In the WebI report, only the two using LessOrEqual are functional. The two conditions that utilize GreaterOrEqual will only remove individual rows, not the enter set of rows for that employee. I've set the aggregation to sum instead of Database Delegated for the two affected measures.
    If anyone has any input on how to get the GreaterOrEqual conditions functioning properly, or a workaround that will remove all rows for an employee when their sales are not above a cert number, it would be greatly appreciated.
    Thanks,
    Jeff

    Also here is the syntax for one of the filters that is not functioning properly.
    <OPTIONAL><FILTER KEY="@Select(Total Quantity of Adjustments\Total Quantity of Adjustments)"><CONDITION OPERATORCONDITION="GreaterOrEqual"><CONSTANT CAPTION="@Prompt('Minimum Quantity of Adjustments','N',,mono,free)"/></CONDITION></FILTER></OPTIONAL>

  • #Multivalue Error on Webi when Using BEx Query

    Hi All,
    I have created a Webi Report on top of SAP BW BEx Query. I have created a variable in Webi on top of a dimension. When I add that variable in the report block some of the Measures are showing as #Multivalue. I know we can get rid of this by creating a universe and then changing the properties of the measure to sum. However we do not plan to have a universe and would want to make the changes in the BEx query or in the Webi Report whereever applicable.
    Kindly suggest the solution at the earliest.
    Regards,
    James

    HI James,
    Creat Variable =
    =sum(Tonumber([Dimension]))
    use this variable in report , it will help you
    Regards,
    Mahi

  • SubStr function in Universe on BEx Query

    Hi SAP BO experts,
    We have a universe based on SAP BEx Query with an object  "WBS Element",  a 24 Character field from which we need to resolve certain sections as different objects for reporting purpose.  One of the objects required is first 8 chars (WBS Project No.)  Following code is used in object definition. 
    <EXPRESSION>Substr(@Select(WBS Element\WBS Element), 1, 8)</EXPRESSION>
    Parsing is OK at universe level.
    Webi query without "WBS Project No" is running OK but when "WBS Project No" is used, I get an error - invalid MDX command (WIS 10901).
    What is the correct syntax?  Any input will be appreciated.
    Thanks in advance.
    Venkat

    You can-not return characteristics via <EXPRESSION> tag.
    In fact right now it is not possible to do substring and similar operations. You can only create objects which returns numeric
    value.
    Regards,
    Rohit

  • Using Bex Query with cell definition with WEBI

    Hi,
    Currently I am using a Bex query as a datasource for a webi, normally this works ok but I am having trouble with one particular query.
    This query has cell definitions defined in the query. When i import the query into WEBI I get an MDX error.
    Any suggestions?
    Thanks
    Flash

    Hi,
    We do not see all elements of the BW query in the universe, just those not using cell definitions.
    We are currently on Business objects XI 3.1
    Using BW 3.5
    And the query runs fine using RSRT, it does show some asterix for some of the values but this can be removed by filtering on currency type in BW report
    Thank You,

  • 4.x: Document Link passing range parameter to a WebI rpt using BEx query

    I'm new to working with BEx queries, so I may use the wrong terminology.  I'm trying to create a document hyperlink from one WebI report to another.  Both are based on BEx queries, which I didn't create, nor do I have access to modify.  The BEx query for the target report has a parameter, Fiscal year/period, which is a range parameter.  The displayed value in a report or in pick lists is in the format "JUL 2010".  The key is in the format "K4/007/2010". 
    I have tried using the Document Link expert to configure passing the range parameter, but have been unsuccessful.  The typical result is an error message, ERR_WIS_30270, which is most likely the result of an incorrect format for passing the range.  I've not been able to locate adequate documentation that describes the syntax for passing a range value to a BEx parameter.  I've successfully created Document Links to reports using BEx queries that have a parameter that requires a single value, and I've done Document links in non-Bex reports in 3.1 without issues.
    Has anyone successfully passed a range value to a BEx paramter?   If so, what syntax did you use?
    The environment is BI 4.0, sp 2 (14.0.2.439)
    Edited by: Steve Green on Oct 7, 2011 8:04 PM

    Marianne,
    Thanks for the heads up on the fixpack.  I tried looking at the note # you sent, but a search of SAP Notes says that the note has not been released.  However, reviewing the Fixed Issues in fixpack 6 shows the following item:
    ADAPT01580012
    Link to a WebIntelligence report using syntax OpenDocument fails when target document contains a prompt
    based on a BEx variable of type Interval. Error message is "An internal error occurred while calling
    'answerPromptEx' API. (Error: ERR_WIS_30270)".
    Behavior is now correct and refresh operation takes into account interval answer passed in OpenDocument URL.
    Now we just need to upgrade to fp 2.6 to see if it resolves this issue.  I've also opened a ticket with support, so I'll see what they say.
    Edited by: Steve Green on Oct 12, 2011 7:27 PM

  • Creating a Universe on Bex Query --- Information Design Tool 4.0

    Hi,
    I am creating a Universe on a BeX Query, based on my understanding from the documentation i dont have to create a data foundation layer and i can directly call the connection in the Business Layer.
    when I create a business layer and select OLAP connection (BICS connection), I get an error "this connection is not supported".
    I was trying to look for a solution but i haven't found anything yet. Did anyone else encounter this issue. Please Share.
    Regards,
    Sheikh Hassan Ayub

    HI there,
    I read somewhere that the support for BEx Queries are done via Relational Connection.  However, the BICS connection is only available via OLAP connection.
    I was able to successfully create an OLAP Connection with BEx Queries.  However when I do a Business Layer with this OLAP connection it says ERROR, not supported.
    I havent tested creating a relational and thus having a Data Foundation yet as I am still have issues with my installation with ports.
    Anyway, let me know if you are able to create a relational connection.
    I'd be interested to hear your experience.
    Regards,
    Iris
    P.S. the connection needs to be published.
    Edited by: Iris Co on Nov 2, 2011 6:18 PM

Maybe you are looking for

  • Getting data from list

    hi all.  so i was able to fill my list box from a mysql table.  i know want to get the values that the user select.  heres what i have: [CODE] import fl.controls.List; import fl.data.DataProvider; import fl.events.ListEvent; stop(); var myDataProvide

  • Error in response

    HI have a IDOC - Soap Communication. its IDOC - BPM- SOAP. It has 3 entries in MONI. 1. IDOC - BPM 2. BPM - Soap 3. Soap- XI in the message 1, I see ackonwledgement has no errors. when I double click on this message and check for the acknowledgement,

  • Mozilla doesn't refresh the audio tag file. Mozilla's faulty audio

    <pre><nowiki><div class="formRow"> <div class="field"> <img style="margin-left:91px; margin-top:-6px;" class="image" src="http:www.xyz.com/captchaServlet"> //the above line calls a servlet for the image </div> </div></br> <div class="formRow"> <div c

  • IPhoto deleted facebook albums also deleted iPhoto albums.

    I hope someone can help me out. I started up iPhoto after deleting a lot of pictures from Facebook. It stated something like do you want to import the pictures from facebook albums? I was like no because they are already on my iMac but not it seems t

  • Why aren't my "File Types" accessible to all users? TS Win2k8R2

    I am an Admin on a Windows 2008 R2 server, with Terminal Services installed. I want to have particular file associations created / active, so that any user who attempts to open particular files on this server users certain applications. I opened Cont