Query design: Default Value List Filter Prompt to None

I am building a query with several filter prompts which are of data type Value List
The problem is that the list defaults to the first value in the Value List, and I would like to default it to None. The reason of course is so users don't have to switch all the dropdowns to None manually.
I am wondering, what is the default value that can default the list to None? I have tried "0", "None", "null" all to no avail. My current hack is to add another value to the value list called "Any" and make it the first choice in the list.

Unfortunately I tried that and it didn't work.
The values of my filter prompt are as follows.
Parameter Name: AGREEMENT_TYPE
Prompt Message Resource: Agreement Type 
Default Value: null:616:null
Data Type: Value List
String Matching:Exact Match
Value List Type: Agreement Type
Prefill value from cache:
Optional:
Hidden:
Locked:

Similar Messages

  • Fiscal Year Period - Query Designer - Characteristics Value

    Hi Experts,
    In query designer, characteristics value for 0FISCPER by default shows value of fiscal year variant V9. But for Fiscal year variant V9, 002.2014 is November 2013.
    Now user want to display the correct period and its description (002.2014 is February 2014) which implies need to use different variant. Please let me how this can be changed.
    Regards
    Suresh Kumar

    Hi Suresh,
    Try this
    Path: Financial Accounting >> Financial Accounting Global settings >> Fiscal Year >> maintain Fiscal year variant (maintain shortened fiscal year)
    Transaction Code: OB29
    Regards,
    Amit

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • How to pass current month as the default value in the prompt

    Hi,
    Could you please tell me how to pass the current month as the default value in the prompt.
    I have a report where month is a prompt. By Default it should ahve current month as the default value along with other months.
    Please let me know the syntax for the same.
    Thanks in advance!!
    Regards
    Sindhu

    Hi,
    what datasource do you have? Is it SAP BW or something else?

  • How to get a calculated default date value as filter prompt

    Dear Colleagues,
    I would need to get a calculated date as dafault value in a query filter promp.
    I tried to use the token <%TODAY%> to set by default the current date and it works.
    But I'd need to set 6 months before the current date as default value in the filter prompt. Any idea to get it?
    I tried to set <%TODAY%> - 120 for example  but it's not working because I think the system is taking this as a DATE type value.
    Thanks in advance!
    Regards.
    Martin

    Dear Colleagues,
    I would need to get a calculated date as dafault value in a query filter promp.
    I tried to use the token <%TODAY%> to set by default the current date and it works.
    But I'd need to set 6 months before the current date as default value in the filter prompt. Any idea to get it?
    I tried to set <%TODAY%> - 120 for example  but it's not working because I think the system is taking this as a DATE type value.
    Thanks in advance!
    Regards.
    Martin

  • Crystal Reports scheduling disregard the default values and requires prompts to be answered every time.

    Hi guys,
    When scheduling a Crystal report, the page to configure the prompt answers does not have any prompts answered by default - they all appear as "[EMPTY]". This means that any required prompts must be answered during configuration of the alert schedule. Since prompt is required and the default value (which is equivalent to not answering the prompt) is not available in the selection list.
    Is there any way around it?
    Ideally I would like the prompts to keep the default values, so I could schedule the report for all the prompt answers (Whole list of value) instead of having at least one prompt value.
    Is there any configuration in crystal reports or on database side that could help me resolve the issue.

    First off, Thank you for your replies!
    Rabeb SLIMANI, we can't use universes by user requirement. If we could, it would have to be through IDT (Information Design Tool) but, nonetheless, the users want a direct BICS connection between BEx and WebI.
    Victor Gabriel Saiz Castillo, we can't do that because the users want to choose between accessing the published instances or refreshing the reports on demand.
    The way i see it, it would take a second set of BEx query + WebI report to provide both functionalities (one for ready for input, another for not ready for input). Am I correct?
    @Sathish Kumar (sorry, i can't tag you right), i was checking with the BW team and we already have the logic for If left null, populate with Customer Exits.
    But they are currently mandatory, so we will change them to optional and test the behavior.
    If you have any other ideas, they are more than welcome! I will keep you posted on the outcome!
    Best regards,
    Francisco

  • Default value in dashboard prompt

    Hi,
    I have created 2 dashboard prompt one is projectnumber another one is date which is in 'MON-YYYY' format.
    My requirement is date prompt default value one month before a current month.
    Example if it is February 2012 it must displayed as JAN-2012
    Thanks in advance.

    Hi RR,
    Edit the Prompt.
    Under Default Selection select SQL Result and place the following query:
    SELECT concat(upper(CAST (MONTHname( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) AS CHAR(3))),concat('-',cast( YEAR( TIMESTAMPADD(SQL_TSI_MONTH,-1, CURRENT_DATE)) as char)))
    FROM "OBIA"
    Try this.. I think it will solve your issue.

  • Using a Sql Result in Default Value of Dashboard Prompt

    Hi,
    I Create a Dashboard Prompt, this have two dates, the initial and the last for a period to filter. I need to set the default value in the fist and last date of the previous month, for example, if today is 20th of november the default value of initial date has been 1th of October and the last date has been 31th of october.
    I used in default the option 'SQL Results' and use the next sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM') FROM dual;
    SELECT TRUNC(last_day(add_months(sysdate, -1))) from dual;
    But when I try to use the dashboard prompt the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT TRUNC(add_months(sysdate,-1),'MM') FROM dual
    When I try to use only select sysdate from dual; the result is:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27004] Unresolved table: "dual". (HY000)
    Thanks for your help.

    Thanks for your help. Finally I solve this issue of
    this form:
    1. I Create a Initialization Block with the next
    sentences:
    SELECT TRUNC(add_months(sysdate, -1), 'MM')
    INITIAL_DATE ,TRUNC(last_day(add_months(sysdate,
    -1))) END_DATE, To_char(TRUNC(add_months(sysdate,
    -1), 'MM'), 'YYYYMM') PERIOD FROM dual;
    2. Then I Create three Repository Variables and
    assign the Initialization Block to this
    3. In the Dashboard Prompt I use the "Server
    Variable" Option in the default and call the three
    variables.
    Thanks again
    EdwinHi: How u access server variable with two fields of date. Actually, I am doing the same work. But I can not do this work. Because this is ok when the date is greater than or less than. When i use between, in default server variable button did not show any text area for reoository variable. I also made initailization block with 2 fields.
    My Task is, I have to initialize the one date coloumn. From Date: and To Date. Pluzz help me in section
    Ali Haroon Nawaz

  • How to setup a default value when defining (prompting) for a value?

    When I prompt the user in a SQL statement then I can declare a default value like in:
    SELECT *
    FROM all_users
    WHERE username = nvl('&myvariable','SYSTEM');
    But when I define a variable this does not work:
    define tablename=nvl('&tablename','test123')
    How can I setup a default value here?
    Peter

    Is there a way to define a default value DIRECTLY in SQLplus DEFINE command (and not later when the value is used in SQL statement)?no, there is not for DEFINE but you can use ACCEPT:
    SQL> accept tablename prompt 'Enter value for table Name:' default EMP
    Enter value for table Name:
    SQL> select column_name
      2  from cols
      3  where table_name='&tablename';
    OrderNumber=1234
    COLUMN_NAME
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    8 rows selected.Max
    [My Italian Oracle blog| http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • Set default values in date prompt

    Hello,
    I have tried everything I can find in the forum to resolve a very daunting task. Thanks in advance for all your help.
    We have Crystal Server 2008 with Tomcat and IIS.
    I have several reports that use start date and end date  as parameters. When the user launches the report date prompt dialog box appears where you user can input the values. Typically (75% ) the user is always looking for yesterday's data however at times he/she would want to pick different date range to review the results. The requirement is to set the default values in the dialogbox to be currentdate-1. Any help is greatly appreciated.
    Paul.

    What we do for all of our reports is have the date parameters be text fields that allow something like PD for prior day, PM for prior month, CM for current month, YTD for year to date, etc.  We then have crystal functions (and database functions; one for start dates and one for end dates) that translates the characters to real dates.  If the text entered does not match one of the "mnemonics", it is assumed to be a date, and it is treated as such.  This allows using the same report for scheduled daily, weekly, monthly, quarterly, etc. and ad-hoc runs without any other special coding.  In your case, you'd set the default parameter values to PD.
    Our mnemonics are of the form [PY]{P|C}{D|W|M|Q|Y}[DOW][{+|-}n], where [PY] is optional to specify a prior year date (for comparison reports), P=Prior, C=Current, D=Day, W=Week, M=Month, Q-Quarter, Y=Year, [DOW] is optional, and used with [PY] to specify that you are looking for the same day of week in the prior year (if CD=8/24/09, PYCDDOW=8/25/08), and the +n or -n allows you to add or subtract days/weeks/months/quarters/years (depending on the interval used) to the date.
    HTH,
    Carl

  • Query mode & default values

    Hi,
    When a block is put into QUERY MODE all the
    fields in it are blanked.
    I am looking for a way to put in default
    values in some of my fields when in
    query mode.
    Is this possible.
    Any help is appreciated.
    Regards,
    Klas Malmstrom
    [email protected]

    You could try the When-New-Record-Instance trigger for the block and assign values to items when the :SYSTEM.MODE = 'ENTER-QUERY'. Users may be able to change these default values.
    To have hidden default values use the default where property of the block and either set on the property sheet or dynamically in the PRE-QUERY trigger; or assign values to database items in the PRE-QUERY trigger.

  • How to set the default value in dashboard prompt?

    Hi there,
    In my Dashboard prompt I'm getting values like:
    Mar 2010
    Apr 2010
    May 2010
    Jun 2010
    How to set the default value to the current month (Jun 2010). I don't want to use "specific value". I want to use the "SQL Result" for populating the default value.
    Appreciate your help

    hi,
    you can create a Repository variable current_month with the expression as
    select to_char(trunc(sysdate),'Mon')from dual
    and use this in the prompt "Default to" Server variable and use this repository variable.
    hope this helps.
    cheers,
    vineeth

  • Default values in cascading prompts

    Hi,
    We are using Crystal Reports 2008 and our environment is Business Objects XI 3.1.
    We have certain crystal reports with dynamic cascading prompts. Is there anyway where we can set the default value in the child parameter based upon the value selected in the parent parameter.
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • How to add a default value in a prompt list?

    I have a prompt list that I'm getting from the database, I want to add a deafult value in the top of the list. Ei "ALL", my current list is:
    "AMERICAS"
    "EMEA"
    "ASIA"
    I want a list like:
    "ALL"
    "AMERICAS"
    "EMEA"
    "ASIA"
    This is the code I have:
    @Select(Country Region\Regionname)IN @Prompt('Enter the region','A',{'All'}distinct 'Country Region\Regionname',Multi,Constrained)
    It is displaying only "All". Does someone know how to merge text with a database list in a promp variable?
    Thank you!
    Marcela

    please find this post
    i've solved this problem with someone before
    Optional User prompt
    ok, lets get back to our problem
    since you are in sybase databases i dont know weather there is a DUAL table like oracle or not,
    anyway forget about it and follow those steps
    1. import the universe to the desginer
    2. Right Click any empty space on the Stage to Create a derived table.
    3. Give The derived table any Dummy Name lets say "ALL_table"
    4. write a small SQL statment in the derived table "Enter SQL Expression"
    select 'ALL' from anytable you have in the database.
    lets say the countries table itself
    SELECT 'ALL' FROM USER.COUNTRIES
    validate the SQL and Click ok.
    5.you will have a derived table called "ALL_table" with field name "ALL"
    6.Drag the Field Name ALL to the Same Class whicn you "Country Name" in.
    7.Get back to your "Country Name" Dimension and Double Click it to get its properties, then go to the Properties tab.
    8.in the peroperties tab. "Associate List of Values" ,, Click "Edit" Button.
    9.you will find your "Country Name" Dimension, click "Combine Queies" icon in the bar, to have another queries union with the first one.
    10. you will have another query with "U" beside itm Drag the "ALL" dimension in it, and remove the "Country Name"
    so you will have 2 union queries one with the "Country Name" and another on with "ALL"
    gooooooood.
    11.Click "Save and Close"
    12.Check Export with universe and "Automatically Refresh before use"
    13.now you can hide the "ALL" dimension we have created before, to make it invisible for the users. (do you have problem hiding this dimension?)
    14.export your universe
    15.open WebI
    16.Create Report on this universe.
    17.put the "Country Name" Dimension on the filter and make it prompt,
    18.Run the query,
    19. tell me what you see?
    good luck
    Amr

  • How to pass a value to a filter prompt based on a value list?

    I have a query that has a filter prompt that is based on a value list. I want to call this query from another query as a drill down.
    So I build the URL to call the query and pass the value for the filter prompts as URL parameters. For the filter prompts that are simple text fields this works without problems, but how do I pass a value to the filter prompt that is based on the value list?
    I tried passing
    <parameterName>=<valueListId>:616:null
    and that gives me "None" for the value list prompt as expected.
    I then tried to pass the DisplayName (as I would do when setting a default value for the prompt).
    Like this:
    <parameterName>=<displayName>
    but that does not work.
    I also tried some variations/combinations like
    <parameterName>=<valueListId>:616:<displayName>
    but that does not work either.
    So does anybody know how to pass a parameter to the value list prompt?

    Hi Martin,
    I saw the following post which may help answer your question.
    How to default a Value List or Object Picker to a particular value
    Regards,
    Reshma

Maybe you are looking for

  • Pages Sequence in Smartforms

    Hello Masters, I am new in SAP ABAP , i need your help , i am creating a Smartform for Appointment letter, there are 3 pages in the smartforms , each of the 3 pages has 3 main windows(main windows are empty) work has been done on other secondary wind

  • Conditionaly calling a page in adobe print  form

    Hi All, I have a requirement where I need to conditionally print  body pages. In some scenario, i need to print say first body page, in some others second body page and also both body page in a scenario. I have two body pages. I tried  hiding the pag

  • Separate PO terms and conditions in different scenarios

    Hello, We're on 12.1.3 and currently do not attach terms and conditions to our purchase orders when they are emailed to suppliers. However our circumstances are changing and our new management would like to be able to attach DIFFERENT terms and condi

  • TOSHIBA MK6025GAS - Noisy and unusual sounds.

    Hi, I have a Toshiba Satellite A30-141 and I recently replaced the hard disk with one of Toshiba's own the TOSHIBA MK6025GAS. According to other reports on the internet this is a noisy device (which I can live with). However, I am also experiencing o

  • Which difference parallel database and RAC database

    Hi Experts, I saw some document about parallel database and RAC database. My boss confused these two product. which difference between parallel database and RAC database? does parallel database is a "old RAC"? Thanks Jim