BEx Prompt

Hi All,
I have a period prompt in my query (this is a custom period field).  I need a prompt on this filed when the query is executed.
In the prompt instead of showing the period stored in the cube (01, 02, 03 etc), I need in to display options such as YTD, QTR, PQ etc....Then when year to date (ytd) is selected it will calculate the ytd.
Is this possible?
Thanks.

Hi,
You have 2 options:
->Insert a 3 Chars at the cube level and use a transformation routine to stamp the values QTD, YTD and PQ depending on the time periods available, and create a variable on top of those chars such that it filters the required value.
->You can maintain a Time Variant depending on the logic and create variable on that variant.
Hope this helps....
Rgs,
Ravikanth.

Similar Messages

  • How to search for multiple values with Bex Prompts

    Hi,
    I would like to know  if it is possible to search for multiple values at the same time with Bex Prompts instead of searching one value at a time (please see the screen shot below). I searched the forum couldn't find any relevant answers. please let me know  how  to achieve?
    Thanks,
    Charvi.

    Hi Charvi,
    You can use wild card search to ensure you get multiple similar values listed as search output.use * for multiple characters and ? for single character.
    For Example, Ravi * would result you all employees with first name as Ravi
    You can use various search formats such as * Ravi * and * Ravi and Ra?? etc.
    Thanks
    Mallik

  • BEx Prompt not visible in webi

    Hello EveryOne,
    I am creating a Web intelligence Report on BEx query ( Coming from .UNV Universe ) , My problem is i have used two key dates in query . One is visible in webi another one is not. In Query analyzer both dates are visible . Can someone suggest me why it is so?
    Thanks in advance.....
    Vaishali Wadhwa.

    Hi vaishali wadhwa ,
    Try to run integrity check option at universe level  and it will give details of new fields then create new universe and copy all new element from new universe to old universe. After copied all the elements into old universe.export the universe and then check the report.
    Regards,
    Anish

  • User Cannot manually Type LOV in Prompt Screen

    Hi Experts,
    WEBI reports built on OLAP Universes (Universes created on SAP BW) has below problem:
    As you know when user click's on Run Query or Refresh Data to run reports a prompt screen will pop up and in normal cases he has option of Selecting values for LOV's or user can type his value and run report But reports built on OLAP Universes user must select only from list of values.
    Is there any way that user can directly type his value and Run Query/Report.
    -Thanks,
      DEEPU

    Thanks Rohit for the information.
    Is that Lov object in your code should be Key or Text? for me key is not passing.
    Below is the code reflected into Universe as a filter if we create the prompt (User Variable) at BEx Query
    <OPTIONAL><FILTER KEY="[ZREG_BO]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Enter Subscriber Region:','A',''Class\Lov Object',multi,primary_key)"/></CONDITION></FILTER></OPTIONAL>
    The difference between your code and BEx code is that BEx code uses Index Key ("Primary key" instead of "free") and it uses technical name (CONSTANT TECH_NAME instead of CONSTANT NAME).
    If i create prompts at Universe level instead of using the BEx Prompts (User Variables) Will there will be any performance impact ?
    Your help is highly appreciated.
    -Thanks,
      DEEPU.

  • Marketing Segmentation Using BEx Queries

    My company wants to use the CRM Marketing Segmentation tool.  The data is coming from BW via BEx queries.  I've been able to create highly defined BEx queries that can be used by the Marketing Segmentation tool.  I'd like to create a more generic BEx query with prompts presented to the user at run time if possible.  For instance, if we need a list of Business Partners with email addresses, I want a prompt asking the user to select a specific division.  I haven't found any documentation that BEx prompts can be used within the Marketing Segmentation tool in this fashion.
    Thanks,
    Jeremy

    Hi,
    You can add multiple queries to workbook using following process:
    1. Open one of the queries in BEx Analyzer and save it as a workbook.
    2. Create additional tab in the workbook, and give it name as query2
    3. Edit the query2 tab by adding other quer. click BEx Analyzer > Tools > insert new query
    OR Go to BEx Analysis Toolbox: Tools > insert new query
    4. Chose the second query and save the workbook under appropriate role
    - Geetanjali

  • Issue with Xcelsius reading BEx Formula Variable

    I have a dashboard that is connected directly to a BEx query via a SAP Netweaver BW Connection. The BEx query has several characteristics restricted by mandatory variables (mostly User Exit type). So when I publish/launch my dashboard in the Portal, my dashboard is able to read in all values passed at the BEx prompt page, except one. I have one formula variable that is mandatory called Duration, but whenever I try to map the "Current Filter Value (Key)" or "Current Filter Value (Text)" in my connection to an Excel cell in my dashboard, it causes my dashboard to hang on the "Initializing..." screen indefinitely.
    Does anybody know if there is something special I need to do in order to have my dashboard properly read in the value from a formula variable?
    Xcelsius Enterprise 5.3.0.0
    Build Number:  12.3.0.670
    Any help on this would be much appreciated!
    Thanks,
    -Brian

    Hai
    Check this it will help u to Some extent.
    http://myxcelsius.com/2011/06/15/xcelsius-2008-sp4-waterfall-chart/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3AMyxcelsius%28MyXcelsius%29
    Download the Xlf file and Check it for Summation in Excel
    http://xcelsius.excelyogi.com/supported.html
    http://www.forumtopics.com/busobj/viewtopic.php?t=171271&sid=244b8c717e3635721363eea8011cbb0d
    http://myxcelsius.com/2008/09/11/list-of-microsoft-excel-functions-supported-in-xcelsius-2008/
    http://www.ozgrid.com/News/named-ranges.htm
    Thank u
    Naveenkumar kc

  • Report returns wrong data when run on server

    Hi,
    I'm runing CRS XI R2 on Windows Server 2003 SP2.  When I refresh a report in the Crystal Reports XI Designer, I'm getting correct data.  But when I schedule the report to run on the server it returns wrong data.  The data is different from what I see when I refresh it from the designer.  In the report I have running totals set up to count customers that meet a certain criteria.  The report is very large.  It take almost 2 hours to refresh.
    I was wondering what is causing the difference in running total data between refreshing it on the designer and running it on the server.  Is it returning wrong data b/c of it not reading all the records?  Should I be making any changes to the server settings?  I saw that under pageserver, there are options for  setting the 'Minutes Before an Idle Report Job is Closed' and 'Database Records To Read When Previewing Or Refreshing a Report".  Do either of those have anything to do with the report returning incorrect data when being scheduled to run on the server?
    Thanks,
    Kim

    Hi Xuandao,
    You would need to Use Cell Binding and Trigger concept to accomplish this.
    Its simple, however, you would have to work on a trial and error basis to understand this concept as implementing the same is subject to your dashboard and WEBI Design.
    Open you LiveOffice.
    Insert your WEBI, Now, go to Object Properties of your WEBI, select the second tab that says Prompt, Here, it lists the prompts that you have for your WEBI. This would also enlist your BEx variables as well. Select this BEx variable and click on the button that says Prompt at the bottom of this window. Here, select choose Excel Data Range and click on the cell select button on the right (small button that lets you choose what cell you want to bind this prompt to), Now select a free cell that would not be even populated later on when you run the dashboard say A1 (remember the value that you select). Click on OK and again OK. The WEBI Refreshes and you can see all the prompt values at the cell A1. These are all the possible values stored for your BEx prompt variables (these values are fetched from BW system dynamically).
    Now, save this LiveOffice, Go to you dashboard. Connect your dashboard to your Live office. Go to Data-> connections-> Now, select the WEBI and in the right hand pane  go to Usage tab, here, Click on Trigger cell button on the right hand side and select A1 in you LiveOffice.
    It should work fine.
    Let me know.
    Rgds,
    Sreekul Nair

  • User response() function in SAP WEBi

    Hi Experts,
    I have created a Formula variable in Bex with name "Exchange Rate" which is ready for input and its type is Number.
    when i Created Webi report over this, I get the prompt with Exchange rate.
    Now, My requirement is to show the Total value = Stock  * unit cost * Exchange rate if user put some vaalue in Exchange rate prompt say 2.3.
    If user doesn't put anything in Exchange rate Prompt(means left blank) then Total Value = Stock * unit Cost.
    I used the userresponse function on the exchange rate but it wont work. I am getting #error in the column.
    First i Create a variable with name Exchg Rate = userresponse("[Exchange rate]")
    and then i created the variable Total value =If(IsNull([Exchg Rate])) Then Stock * unit Cost ELSE ( Stock  * unit cost * Exchange rate).
    But i am not getting the desired results.
    Please advise/help on this.
    Thanks,
    Abhimanyu Sharma

    Hi,
    Always use a technical name of the Bex prompt in Userrepsonse().
    Also try this:
    @ vExchange Rate:
    =if (Userresponse("Technameofprompt") ="") then 0
    Else
    Userresponse("Technameofprompt")
    @ vTotal Value:
    =Stock  * unit cost * Exchange rate
    Thanks,
    Jothi

  • Cannot build the query or generate the report - BI4.0 Dashboard on WebService Error

    Hello All,
         I am trying to create a Dashboard with WebService connections in SAP BI4.0 SP04. While running the dashboard I am receiving the error, Cannot build the query or generate the report. I have already set the refresh parameter to TRUE (bound to an excel cell and I have tried with 1 also). Back end WebI Reports of the BIWS connections are created from BEx queries through BICS connection. I have two prompts to run the Web Service and the report. Please share your thoughts regarding this.
    Thanks and Regards,
      Debajyoti Dan

    Hi All,
        I have found the issue. The problem is coming only when I am receiving prompts from BEx query and trying to use them through dashboard. I replaced these BEx prompts with the same in WebI report. Then the entire functionality started working correctly from dashboard.
    But, this is only a work around and can not be applied at all times. So I have raised a message for the same to SAP. I will update the thread based on what I receive from SAP Support.

  • How to get back a BW exit variable in a WEBI

    HI,
    I have created an exit variable on 0CALDAY (calendar day) in a BW query which return me the current day. I have created an univers based on this query.
    When I create a WEBI on this univers, the exit variable is not taken into account. Even if I put the calendar day in the filter section.
    Can anybody help me please ??
    Regards.

    Hi Jon,
    BEx exit variable will not appear in BOBJ universe/report and it can be seen in BOBJ universe/report when the BEx exit varaiable created is used as prompt value/selection at BEx.
    Once, BEx exit variable is added in BEx prompt/filter, the same can be used as filter in BOBJ universe/filter.
    Regrads,
    Chithambar.

  • Need to remove prompts which is comes from Bex query

    Dear Experts,
    Currently i am working in webi report (4.0 SP2), Back end of this webi report is SAP Bex query, created by using BICS Connection. In bex query we have created different variables on Company code,vendor, business area, key date etc. from this company code and key date are mandatory variables.
    My Bex users need input screen to execute the report as per their requirement. But my webi users don't required any prompts. they want to manipulate data by using input controls.
    Req : How to avoid variables (Prompts) which is coming from bex?
    Regards,
    PRK.

    Hi Praveen,
    As per my knowledge, We can not remove mandatory BEx variables from the Webi prompt screen. Value for mandatory Query Variable has to be pass from Webi report.
    You can create another Bex Query without any variable and need to use for reporting in Webi.
    ~Anuj

  • WebI report based on Universe upon SAP BEx Queries:Prompt issue

    Hi,
      I am creating Web Intelligence report using Universe based on SAP Bex Queries. In WebI report I created a filter condition as I need to run report based on two specidc dates. I need to schedule report to run 2nd of every month to show data for last month. At present I have the following filter : date between 'Start Date' and 'End Date'. 'Start Date' should always be 'first date of previous month' and End Date be always must be 'Last date of previous Month'. How to do this. The solution I thought would be to create  variables at report/universe level ('first date of previous month' and 'Last date of previous Month') and use in the filter using 'Object from this Query' option.But this 'Object from this Query' option is missing in the prompt.Is there any work around to achieve this.? Could you please help me.
    Nanda Kishore

    Hi all,
    I have a related question too.
    I have 2 queries and need a Combined BEx query written on this for reporting. (WebI)
    In the 2 queries, there is a Field which needs to be restricted.
    But this field should not be restricted in the Combined BEx query.
    So I thought of restricting the Field at the report level. But in this case, the user gets a prompt to enter a value for the field.
    And this is not desirable as per the requirement.
    COuld you please tell me if there is another way of handling this without the user being prompted to enter a value while the report is being run, but still I need selection at the Field level.
    Thanks and Regards,
    Srilakshmi B

  • Calendar prompt for Date variable from bex

    Hi All,
    I have a Bex query where I have a variable on 0CALDAY
    - Customer exit (i_step = 1 to populate with current date)
    - Single value
    - Mandatory
    I created universe on this query and in webI selection screen i do see the variable prompt.
    I am not able to see the current date populated automatically since exit values are not populated to WebI at runtime.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly.
    I am currently on BO XI 3.1 SP3.
    Is there any specific setting in Universe or bex query which is required to get this Calendar prompt instead of list of values for dates?
    Note: When we were on SP1 the universe created then had same variable from bex and it still shows us Calendar prompt but ever since we upgraded to SP3 for the query splitter functionality we not able to get the calendar prompt for date variable in new universe we create
    Thanks
    Ritesh

    Yep.
    Now tell me how you want to show that Prompt @ WebI report level.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly. Exactly, i didn't get this??
    @Prompt:
    You have flexibility to show options like:
    Mono/Multi: User can select Single value or Multiple.
    BW Variable: Same we have (Single/Multiple)
    Free/Constrained: User can Enter his/her value directly or No change option.
    BW Variable: By defalut you will get this, once you made it to Optional input.
    Persistent/Not_Persistent: Refreshed report has to show last selected value means use Persistent otherwise Not_P.
    By seeing the Prompt syntax , I can say your Variable is after Customer Exit, Correct??
    Workaround for your Problem is:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A','Date\LovDate (Previous Day)Base',mono,primary_key)"/></CONDITION></FILTER>
    You have to remove that Date class and objects from prompt syntax. Because of that it showing up LOV's not calendar.
    Like:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A',',mono,primary_key)"/></CONDITION></FILTER>
    Why, It should be blank??
    Because Date needs no class\object to show up, by default you will get Calendar on the fly.
    Hope you got my point.
    Thank You!!

  • Olap Universe Based on BEx Query - Cascading Prompt

    I need to get two prompts: 1) Division 2) Group. Division has to be selected first and then Group. I understand I have to create cascading prompt. In the universe, in default hierarchy, group stands before before division. I have created a custon hierarchy like: Division, Group. I used Tools -> List of Values ->Create cascading list of values and then selected the right dimensions and then clicked on Generate LOVs. Then I have exported it to the repository. But I cannot see any reflection at the report level. So, some questions came in my mind:
    1) Where can I check in the universe whether my cascading prompt has been created or not ?
    2) I am using L01 Dimension. But underneath, there are two dimensions called LovDivision and LoVDivisionBase which are in Italic. I believe integration kit creates this. It is the same as Group. So, my question is: Am I selecting the right dimesnsions ? Or, should I select those in Italic.
    3) Actually, these two prompts (variables) [along with others] are already created in BEx which I can see in my report. My plan is, if my cascading prompts work, I will tell the BW developer to remove those two. Do you think that these existing prompts are creating any problem.
    I would really appreciate your response.

    Hi
    1) Where can I check in the universe whether my cascading prompt has been created or not ?
    Have you entered the cascading object in the  webi query condition.At the run time  it will generate  hierarchy in the tree structure.
    2) I am using L01 Dimension. But underneath, there are two dimensions called LovDivision and LoVDivisionBase which are in Italic. I believe integration kit creates this. It is the same as Group. So, my question is: Am I selecting the right dimensions ? Or, should I select those in Italic.
    correct you are using right objects L01.By mdx driver it will create by default L00 and L01 objects.neglect the Lo00 objects.You can  hide them in the universe or go to refresh structure and their is option to replace L00 definition with some other definition.
    3) Actually, these two prompts (variables) along with others are already created in BEx which I can see in my report. My plan is, if my cascading prompts work, I will tell the BW developer to remove those two. Do you think that these existing prompts are creating any problem.
    By default  when you are creating universe based on the mdx drivers it will convert Bex query filters in the universe condition as mandatory filter  and applied on the full universe.
    You can go to the universe condition and open the condition and unchecked the option  from their and after that these will not prompt in the webi query.
    Thanks,
    Amit

  • Password prompt Error with Bex and Excel 2007

    Hi Guru's,
    We have a problem with end users that have the Bex add-in loaded in Excel 2007 when they are using a different 3rd party add-in.  The problem is when they close Excel, they get password prompted for a password protected VB project in the workbook.
    I found a MSFT article that sounds exactly like the problem I'm seeing.  Link is below. 
    [http://support.microsoft.com/kb/280454]
    Has anyone experienced this problem?
    Thanks
    Brian Winterlich

    Hi Brian:
    Take a look at SAP Note 1397278 - "BPC: Pop-up window prompting for a password to unprotect the sheet in Journal template with Office 2007 SP2".
    Regards,
    Francisco Milá

Maybe you are looking for

  • Read table entries at runtime

    Hi, I have a table in which I populate entries by importing a .csv file. Now on clicking OK i want to read this entries on screen in the table and store it in the internal table. How do I read these entries (can be any number of rows) and store it in

  • How can I control the size of the af:InputText?

    Hi, How can I control the size of the 'af:InputText' on the UI, without using columns & rows attributes. Even though I am using width & height attributes, the changes are not getting reflected in the UI. Thanks, Rajesh.

  • Are you kidding us? My passwords don´t work anymore with Firefox, but they do with other browsers! What a shame!

    I have 4 e-mail accounts and I always relied on Firefox because I just love it. All of a sudden, a few hours ago, all my accounts have become inaccessible on Firefox. When I tried to login I was received with a window entitled "Firefox - Choose User

  • Reverse a printed cash receipts in transaction FBCJ

    Does anybody know how to reverse a printed cash receipts in transaction FBCJ.  I tried using the delete row icon but I get a message "Document cannot be reversed, since it was already printed".

  • Metdata Query Crippling the Database

    Hi All, We are using ResultSet getProcedureColumns(String catalog,                String schemaPattern,                String procedureNamePattern,                String columnNamePattern) throws SQLException; method of the interface DatabaseMetaData