Optional prompt in Universe level

Hi All,
I am having a date prompt in a WebI report in which some default value will get display while refreshing the report. The issue is when ever we change the browser locale this default date value is not getting change.
The prompt is coming from universe. In the prompt definition we have given the deafult value.
The prompt definition is "@Select(Asset\Asset Install Date) between @Prompt('Enter Installation Date (Begin Date):','D',,mono,free,not_persistent,{'01/01/1970'},optional) and @Prompt('Enter Installation Date (End Date):','D',,mono,free,not_persistent,{'01/01/2020'},optional)".
This default value which is there is not getting change according to the locale. Thats why we are planning to remove the default value in definition so that prompt will display calender to user to select the date values which is fine.
The issue is when we make the prompt optional if user doesn't given any input value at that time prompts "Begin date","End Date" have to pick the default values. How to implement this ...?
Any idea please help me out as this is very urgent requirement.

Hi All, Any idea about above mentioned thread?
Plz reply me ASAP...................
Regards
Edited by: manoj_BPL on Aug 23, 2011 6:22 AM

Similar Messages

  • How to create default MTD,YTD prompts at universe level.

    I want to create default prompts for mtd and ytd at universe side.
    Please  help me on this issue.

    Hi
    If the universe source is bex query, as per the best practice you can define all Predefined Time Periods like,
    LY        Last Year
    MTD     Month To Date
    YTD      Year To Date
    MTG     Month To Go
    at the Bex query level. so complexity will be decreased while developing the universe  and performance also increase.

  • How to Define a Required Prompt at the Universe Level

    Apologies if this has already been covered somewhere... I searched and can't find the topic covered yet.
    I've been under the impression for a long time that one could configure a Universe such that it would require a prompt on a dimension whenever that Universe was run, regardless of the tool or report.  For example, you could configure an eFashion Universe such that any report or analysis built against it (Webi, Crustal, Design Studio, Lumira, PowerQuery... whatever) would trigger a prompt, perhaps on Year or State.  The idea is that at the Universe you could prevent developers and self-service users from building "Select All" reports.
    However, even with the use of LOV flags in the Data Foundation and Business Layer (e.g. "Force users to filter values before use"), I can't figure out how to make it work.
    So, I have two questions...
    Is it possible to include required prompts/filters in the Universe definition?
    If so, how?
    Thanks,
    Josh

    Hi...
    Is it possible to include required prompts/filters in the Universe definition?
    Yes..it’s possible to include prompts at universe level,
    If all the reports are using same prompts, you can create at universe level and use same prompt in all the reports. You can define mandatory or optional prompt.
    Following is the syntax for the function.
    @Prompt('message','type',[lov],Mono|Multi,free|constrained|primary_key,persistent|not_persistent,[default_values])
    The following are simple examples of @Prompt syntax.
    Minimal use of the @Prompt function:
    @Prompt('Displayed text ','A',,,)
    Using the @Prompt with a LOV without default values:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,)
    Using the @Prompt with a LOV and one default value:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,,,{'Paris'})
    2 : If so, how?
    In the condition's SELECT or WHERE field, right-click at the place in the expression where you wantto add a prompt and
              select @Prompt editor from the shortcut menu.
    In the Message box, type the message that you want the user to see.
    Select Keep last value selected if you want the prompt to propose the values used for the previousreport.When the report is run for the first time, the default values (if any) are proposed.
    Select Allow multiple selection if the user can enter or select more than one value.
    Set the Selection mode. For Free selection, the user can enter any allowed value. For Constrainedselection, the user must select a value from a list of values. For Primary key, the user selects theobject name, but the object's primary key is used by the query. You can only use the Primary keysetting if Index Awareness is set.
    Note:
    When the Constrained option is selected and a List of Values is not specified, the corresponding Tab color turns to red, OK button is disabled, and on moving the cursor over the highlighted tab, the contextual tooltip displays a message indicating how to rectify the problem.
    Set the Value type for the selection mode: Alphanumeric, Number, or Date.
    If you have selected Primary key for the selection mode, set the Key type: Alphanumeric, Number,or Date.
    If you are using multiple selection, define the list of values. Do one of the following: you can type orimport a list of values, or you can select a universe object.
    Click the Default Values tab and define any default values. When you allow multiple selection, youcan set more than one default value.
    Click OK.
    The "@Prompt" editor closes and the prompt expression is visible in the condition's statement in the "Edit Properties" pane.
    Validate the prompt and click Parse.When the syntax is
    http://business-objects-xi.blogspot.in/2009/06/prompt.html

  • Changing Prompt Order of Prompts defined at the universe level

    Hi All,
    I need to change the order of the prompts defined at the universe level.By default they appear in alphabetical order.
    Thanks,
    Shweta.

    Hi Shweta,
    If you are on XI R2 then you can try the following extended syntax for the prompt definition:
    @Prompt('Region', 'A', 'Class\Object Name', multi,free,,,User:0)
    @Prompt('Area', 'A', 'Class\Object Name', multi,free,,,User:1) ...etc
    Else there is no other way to sort the prompt in the desired order. Either you have to prefix the prompt text with numbers
    or alphabets.
    Regards,
    Rohit

  • Qualifying Prompt at the Universe level

    Hi
    I wanted to know whether it is possible to create a qualifying prompt at the universe level:
    The first prompt will be u2018Select a Timeframeu2019 which will prompt user to select one out of following values
    u2018Select Dateu2019 (multi select), u2018Select Weeku2019 (Multi select) and u2018Select Periodu2019 (Multi select). When user selects  say any one value like u2018select Weeku2019 value , he will be give the Values for the Week number concenated with Week End Date. On selecting one or more values, the data for selected week numbers will be given. Same for u2018Select Dateu2019 where he can select Multiple Dates and select Period where he can select multiple periods.
    Please let me know if there is any solution for this issue as this is a very high priority form my cleints.
    Any help is highly appreiciated.

    Do you users expect a fixed number of possible values in the 2nd selection level regardless which of the 3 selections was done on the 1st level (week, date, period)? Or should they be able to type in in the 2nd level their own values also at least for some of the 1st level selections (eg. period)?
    Which database do you use?
    Regards,
    Stratos

  • How to create @prompt filter at universe level for my Webi reports

    Dear all,
    I am using BO XI 3.1 SP3 with SAP BW 7.0.
    I have created an open[big] query based on a multiprovider for my OLAP universe.
    OBJECTIVE: to create LOV prompts for Calender year, for my webi reports, which takes 2010 as input then offsets the input year and then shows Gross sales for the prompt year [2010], 2009 & 2008.
    ISSUE: if 2010 is selected in webi prompt filter, then it doesn't display any data for any other year, lets say gross sales for 2009.
    ALTERNATIVE: i tried to create a prompt filter in the universe with this syntax,
    <FILTER KEY="@Select(Calendar year\Calendar year).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Enter year','N',,Mono,Free,Not_Persistent)"/></CONDITION></FILTER>
    it worked fine. but i also want to create a measure or dimension which subtracts 1 from the above filter and return a result with a previous year.
    e.g
    PROMPT: 2010
    PROMPT-1: 2009
    Universe structure
    [TIME]                         class
      [Calender year]        class
         [Calender year]     dimension  ( type:string)
    Please guide me with correct procedure and syntax.

    masood44 ,
    I think you should just prompt for year and capture and use the selection at the webi report  level.
    say you have calendar year(convert it into numeric) prompt at webi level. say user selects 2010 capture it in a variable var1:userresponse('enter year'). then create a variABLE (var2)  with formula :
    if(isPromptAnswered('enter year')='yes';([year] where year inlist(var1;var1-1;var1-2);null)
    build your report with var2 and gross income
    Thanks,
    Karthik
    Edited by: kbharadwaj79 on Jun 2, 2011 5:34 PM

  • How to use optional prompts with stored procedure universe?

    Hi Experts,
    Iu2019m working on stored procedure universe in BO XI 3.0 SP2 FP2.5 with oracle at back end. My requirement is that I have to pass 5 optional prompts in the report and we have to pass these prompts through open document link. Please tell if this can be worked out on stored procedure universe?
    Thanks in advance.

    Hi,
    Try with OpenDoc syntax as follows.
    http://<servername>:<port>/OpenDocument/opendoc/<plat
    formSpecific>?iDocID=****&sIDType=CUID&sType=wid/rpt&lsM/lsS/lsRPROMPTNAME=[V1],[V2]&sDocName=reportname&sRefresh=Y/N
    where
    server name: cms server name
    port: portno
    <platformspecific>=: for java -> openDocument.jsp
                                      for .net -> opendocument.aspx
    idocid,sDocName & cuid -> we can get report properties ( goto info view -> select report -> right click -> properties i.e. doc id, cuid and report name)
    sType -> type of report i.e webi or deski ...
    lsS -> to pass single prompt value
    lsM -> to pass multiplle values to prompt
    lsR -> range of values ....
    Note: Here prompt name should be same as the one which we used in the report. Use + if there is blank space.
    Cheers,
    Suresh Aluri.

  • Universe level Prompts

    Hi,
    I was created Universe level Prompts like below.
    Example: Date Between @Prompt(Sysdate) and @Prompt(Sysdate-60)
    I was created one report by using Date object which is having prompts and in the report properties i have checked REFRESH ON OPEN.
    when i tried to open report, report is refreshing fine and giving data correctly when i click on refresh in prompt window by selecting the values.
    But i want the report to be opened and refreshed without asking prompt window to select the values. Because always iam selecting Current date (28-06-2010) and Current Date-60 (EX: 28-04-2010) values.
    Please help me out.
    Thanks in Advance
    SureshBabu

    Although there is always more than one way to skin a cat , I do not recommend to allow user to input the value. There will be format error or typo error that keep the report from returning data, or worse, return an error message.
    In the software development world, you should always have code to handle all possible situation. This is true in the report development world as well. You want to control every situation as much as possible. To avoid user error, the date prompt should always be an LOV (list of value). You can create LOV for daily dates, or weekly dates, or monthly dates, and so on.
    If your prompt should always start with today's date as the report ending date, you can still create an LOV that defaults to today's date. But this gives the user the flexibility to choose yesterday's date or last week's date as report ending date, just in case they want to. Then you can calculate a rolling 60 days (backward) without the unnecessary second prompt for the report starting date. That is the best way to handle date prompt.
    Hope this helps.

  • To restrict a object to a particular Group at the Universe level

    Hi,
    I have a object which should be restricted only to a particular group at the universe level.So when i define the universe we have to have explicit security that will restrict access to this object information from reports and from ad-hoc queries.I should restrict the object only to the particular group by a role based security.
    Please help me out in this case.
    Thanks in advance,
    Madan

    Hi Madan,
    Please follow the below steps:
    (In Designer)
    1) Open Island Resort Marketing universe or any universe in Designer.
    2) Goto Tools -> Manage security -> Manage Access Restrictions.
    3) Click on New option - > Give the Restriction name - >click on Rows tab - > Click on Add button (New Row Restriction window comes) -> give table name For example:"Resort_Country" in the Table text box, under the Where Clause "Resort_Country.COUNTRY = @Prompt ('Which country?u2019,u2019 A',, MONO,FREE)"-> Click OK -> Click Ok.
    4) Click on Add user or group - >Select the user ->Ok.
    5) Click on Apply -> Click OK.
    6) Save the universe and export it into the repository.
    7) Cretae the new report (webi/deski) from the user the one who belongs from this group.
    Hope above steps will helps you.
    Regards,
    Deepti Bajpai

  • Ascending Order of Objects at universe Level

    Hi Techies.
    I am working on BO 3.1 Designer SP5.
    I have one Period (Month Year) object at universe level and I have arranged the order of object as Descending by editing the properties of the object.
    and when I use this object in the Query Filter section and making it as a Mandatory prompt, the values are loading in a different way rather than descending order.
    Please help me on this......
    thanks in Advance...

    Hi
    If you want to sort the LOV’s, use the  LOV’s based on custom SQL option.
    Please find the below sample code.
    Sample Code
    SELECT DISTINCT FIELD
    FROM
    TABLE
    ORDER BY 1
    And find the below link for more info.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/11/how-to-sort-the-list-of-values-in-the-prompts-screen

  • How To Capture The Inputs given for a Filter Defined at Universe Level

    Hi ,
    I have a conditional filter defined at Universe level
    Wen this is used for Running Query using web Intelligence, It is asking for a prompt. That is cool and fine
    Now my Question is that , I was unable to capture the prompt value being passed while running the Query .
    For this object I am passing the values at universe Designer(3.1 SP5)
    I would like to capture those prompts, I am not getting the same when I use UserResponse Function
    Please Help me on this
    Thanks in Advance

    Hi
    To capture the prompts values entered at query run time.
    =UserResponse( "Prompt Text") Like ("Enter Values for Sales ID")
    Will give the prompt entered value.
    =PromptSummary()
    Will give the list of prompts entered at Query run time.
    Pleaas find the below link.
    http://bobjblog.wordpress.com/tag/userresponse/
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf

  • OpenDocument syntax with UserResponse  at universe level

    HI,
    Can any one tell me what is missing or wrong in the following syntax of Open Document. I am using this at the universe level with user response and two parameters.
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="UserResponse("Select Name:")l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+'</a>'
    Thanks!!!!
    Bernard.

    Hi Bernard,
      UserResponse is for WEBI reports, in universe the formula is prompt.
      Where clause = <FILTER KEY=u201D[MyVar]u201D>
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT NAME="@Prompt('Hierarchy node values','A','Sales
    employee\LovHierNodeL03 Sales employeeBase',multi,constrained)"/>
    </CONDITION>
    </FILTER>
    I replace in your syntax the UserResponse for @Prompt
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="@Prompt('Select Name:','A',{'NAME1','NAME2','NAME3','NAMEn'},mono,constrained)]l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+''
      This is an exaple of MDX for SAP BI, Choose a dimension among the different u201Ctimeu201D dimensions available in a SAP Netweaver infocube.
    0CAL@Prompt('CalendarLevel?','N',{'YEAR','QUARTER','MONTH','DAY'},mono,constrained).[[LEVEL01]]
    I hope this help you.
      Federico.
    Edited by: Federico Sperling on May 11, 2009 4:39 PM
    Edited by: Federico Sperling on May 11, 2009 4:39 PM

  • Formula's at Universe level

    Hi All,
    I want to create objects at universe level for the following :
    Ver:- BOXIR2, Database is Oracle.
         Monthly averages for the last 12 months u2013 Balances for last 12 months are shown in the report. These are previous 12 months, starting from the month of the report date.
         Variance between last month and previous month u2013 This column will display the variance between two consecutive months. The optional attributes of FX variance can be used by the user in that case.
               Variance between last month and same month from previous year u2013 This is the difference in volume of balances for the last month of the current year and the same month of the previous year.
         Year-to-Date (YTD) average u2013 This is an aggregated average of balances up to the current month in the current year.
         Previous year average - This is an aggregated average of balances up to the current month, but for the previous year.
         Variance between YTD average and Full Year- previous year u2013 This is the difference between the balances YTD and the year ending December 31st of the previous year.
    Please contribute your inputs .
    Thankyou in advance
    Regards,
    Chaitanya

    Little hints to get you started.
    Monthly averages for the last 12 months u2013 Balances for last 12 months are shown in the report. These are previous 12 months, starting from the month of the report date.
    Avg(<columnName>)
    Where
    Date_dim.reportdate between add_months(<reportdate>, -12) and reportdate
    Year-to-Date (YTD) average u2013 This is an aggregated average of balances up to the current month in the current year.
    Avg(balance)
    where
    Date_dim.reportdate between add_months(<reportdate>, - extract(month from sysdate)) and reportdate
    Previous year average - This is an aggregated average of balances up to the current month, but for the previous year.
    Avg(balance)
    Where
    Date_dim.reportdate between add_months(add_months(<reportdate>, -12),-extract(month from add_months(<reportdate>, -12))) and reportdate
    --Kuldeep

  • Getting Error while using Optional Prompts

    Hi,
    Has anyone faced the below error before? Please let me know the solution for this.
    I created the following filter condition named "Status" in the universe: This is basically an optional prompt.
    @Select(Demographic\Status)  In  @prompt('Enter value for Status:','A','Demographic\Status',Multi,Free,Persistent,{},User:0,optional)
    When I create a WebI report using the above filter condition and if I dont choose any value from the prompt I get the below error message:
    Removing skipped prompts from the query will introduce new prompts. This introduces complexities that cannot be supported. (Error: WIS 00027)
    If I choose some value in the prompt, the report runs successfully for the chosen value. Why does this occur? And also, when I try to create an optional prompt in WebI it works perfectly. But this is not my requirement.
    My requirement is to create an optional prompt in the universe, but if I implement the same it doesnt seem to work
    Is there any way to get rid of the error? Pleeease help
    Regards,
    Megh

    The systax is definitly wrong, the object check in Universe Designer should give you an error message.
    You may use the"famous old trick" where you enter a default value (like '*') which means 'all values', and use the definition:
    ('' IN @Prompt('Enter value for Status (""=all values):','A','Demographic\Status',multi,free,,{'*'}) )
    OR
    (@Select(Zeit\Jahr) in @Prompt('Enter value for Status (""=all values):','A','Demographic\Status',multi,free,,{''}) )
    which obviousely generates an OR condition in the SQL and therefore might be slower if the database optimizer does not recognize the constant values generated in during runtime.
    hth,
    Walter

  • Best practice of coding optional prompts

    Post Author: maddyforums
    CA Forum: WebIntelligence Reporting
    I have a report that has 35 optional prompts for which I want to pass default values if the user doesnu2019t enter any values. This report was originally designed using BO 6.5 and has to be redesigned in WebI XI R2. The main concern of the data modeling team is:
    To avoid hard coding of the default values for these optional prompts as this kind of coding will result in messing up the code when a report has too many prompts and might cause performance issues. During scheduling they want to run some scripts to pass the default values to the prompts but the issue is when the report is manually refreshed. They want us to find out whether we can pass the default values to the prompts without hardcoding this logic in the universe/ report for the manual refresh.
    Ex:
    SELECT -
    FROM -
    WHERE  ( dbo.BDS_BDS_TEST_TABLE.PAID_DT <= case when ltrim(rtrim(@variable('To Date (MM/DD/CCYY) (Optional)'))) is null then dateadd(ss,-1, convert(datetime,convert(varchar, datepart(mm, getdate()))'/01/'convert(char(4), datepart(yy, getdate())),101)) 
    else convert(datetime, ltrim(rtrim(@variable('To Date (MM/DD/CCYY) (Optional)'))), 101) end )
    One of the team members has suggested the use of separate data providers for the prompt responses (A data provider that stores all the default prompt values) and uses the data provider functions to pass the values to the prompts. Please let me know whether this kind of approach works. What is the general coding approach for designing these kind of reports with lots of prompts? Please advice.

    Hi Ian,
    There will be some guidelines in the new documentation, which is currently not yet available.
    Here some very short tipps:
    - Use an assistance class for each component, which should hold the current data and where you can place central methods. Placing methods in external classes is better than putting them into the component controller, because there is less overhead and more functionality (e.g. optional parameters and exceptions).
    - Hold your current data in the assistance class and only put them into the context if needed (e.g. via supply functions).
    - Call your business logic from the assistance class during event handling. Then you have the opportunity to do navigation or not depending on the output of the business logic.
    - You could use any other class for this purpose, but the assistance class is easier, because it is instantiated by the framework and you can access it via wd_assist-> instead of wd_this->my_class-> .
    - Do not create a model component, because this is just overhead and no advantage. In earlier states of the WD project, we thought, a model component would be a good idea, but we changed our minds
    - Use context mapping, where it is needed, e.g. if you use the same context in different views.
    - It is quite well to call the assistance class from the views.
    - Be careful, if you store any references to component parts in your assistance class. Some references may change during runtime, especially those of context nodes placed in a deep hierarchy.
    Hope this helps, and more tipps will follow in the documentation or weblogs.
    Ciao,  Regina

Maybe you are looking for

  • Audiobook will not move to iTunes... Please help.

    Hi, I am using the ListenAlaska website, this is a legitimate library type of free audiobook rental download website. I downloaded an audiobook: "The Golden Compass: His Dark Materials Series, Book I" to try this out for the first time. It successful

  • Excel Save As dialog not appearing for one user

    Hi, My company uses a payroll application called Cintra. It's possible to run a report in this application and export it to Excel. When one of the users exports a report and clicks File > Save As > Browse nothing happens. All other users get the Save

  • JVM Crash OutOfMemory Chunk::new Out Of swap Space

    Hi ! We are currently experiencing a problem on both JRE-1.5.0_15 and JRE-1.6.0_7. We have a JEE application running with EJB2 on JBoss 423 that we have migrated to EJB3 on JBoss5. The server is Windows 2003 SP2 server running in 32 bits mode (with /

  • Electronic PDF Submit - extend.dat file ??

    Hi, I am a website designer and this part of my job feels out of my league. My clients assigned me to convert a hard copy PDF into an electronic PDF document that can be filled out on the computer, saved, and then directly sent to the recipient. I us

  • Where to find "netscape.javascript.*" package to download.

    Hi all anyone got idea where to download the "netcape.javascript.*" package for applet to communicate with Javascript.Thanks in advance.