NULL value in static list of values???

I'm creating a static list of values and I want to check against these values in a table with a sql query. My question is, can I have the value for one of the items be NULL? Like, is the following static list of values ok:
STATIC2:No Status;,Hire;HIRE,Reject;REJECT,Maybe Later;LATER
I want it so that if someone selects "No Status" in my select list, that I check my column in the table for all records that have NULL for this value. Is that possible? Or will I have to create 2 separate queries (1 for NULL, and 1 for all the other values)?

Actually, I had tried it, but wasn't getting an expected result. I couldn't figure out if this issue was causing my error, or something else, so I posted the question asking if it was possible to do so to try and track down where my error was coming from.

Similar Messages

  • "Show List of values"  showing different values than "Preview List of values for the same dimension Object

    Hi All, 
    I have a dimension object in Business Layer which is showing a different values than the original database values. When I right click on the object and select "Show List of Values its showing values which are not related to the original values in the database but if I right click on the same object and select "Preview List of Values" it shows the right values present in the database. Any suggestions on how to rectify. It was working good and many reports have been built using that particular dimension.
    Is there any way to fix the problem without the deleting the object or recreating another similar object as the object has been used in several reports, so by deleting or recreating the object may break the reports.
    Please help!

    Hi
    A  list of values is a list that contains the data values associated with an object, Lists of values inserted in the data foundation are inherited by any business layer based on the data foundation.
    Right click on the object and select  “Show Values”… Display all the DB values including null
    Preview List of Values – also display same values...getting differnece meens...Check weather using any Static List of Values.
    If you uncheck the Associated list of values check box "Preview List of Values" options is disabled.
    For best practice …LOV is disabled for un-necessary dimension objects
    Also If you have Db access check the correct data by
    SELECT
    Distinct Schema name. Table/View name. Object name
    FROM
    Schema.name. Table/View name

  • How can I use comma in the return values of a static list of values

    Hi all,
    I want to create a select list (static LOV) like the following:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN','NY'
    I write the List of values definition is like this:
    STATIC:both are "Y"; 'YY',one is "Y";'YN', 'NY'
    However, it is explain by htmldb like this:
    Display Value / Return Value
    both are "Y" / 'YY'
    one is "Y" / 'YN'
    / 'NY'
    I tried using "\" before the ",", or using single or double quote, but all these do not work:(
    How can I use a comma in the return values?
    Thanks very much!

    "Better still, why not process the code of both Y with 2Y and one is Y with 1Y? "
    Could you please explain in detail? thanks! I am quite new to htmldb
    In fact I have a table which has too columns "a1" and "a2", both the values of these two columns are "Y" or "N". AndI want to choose the records that both a1 and a2 are "Y", or just one of a1, a2 is "Y".
    So I write the report sql like this:
    "select * from t1 where a1 || a2 in(:MYSELECTLIST) "
    Thus, I need to use "," in the LOV, since expression list in IN(,,,) using ",".
    Any other way to implement this?

  • Static list default value.

    I need to retrieve the default value of a static list Crystal report parameter. InfoView honors this setting but I haven't found the field exposed in the Java SDK.  I'm using com.crystaldecisions.sdk.occa.report.data.IParameterField to access the parameter properties. 
    Any pointers would be most welcome.
    Thanks

    Hi,
    In your model project, create a view criteria (on the VO which you would be using for displaying values in the LOV). In your view criteria add the attributes and set default value (say add Empno and set its value to literal 1111). Now, when creating LOV for the next view object, select the view criteria you've created in previous step (instead of using all queryable attributes).
    Refer : http://docs.oracle.com/cd/E23943_01/web.1111/b31974/lists.htm#BEIBAFDD
    -Arun

  • Assigning multiple values from a List of Values at detail (table) level

    Hi,
    I have a master detail entry screen. I want to assign multiple values when end user selects an item from the list. The field is at detail level (Table type). I can do it using the "Select one choice" type component (ADF Faces Core) but it doesnt retain the value when I go to the next record. This type of component works fine with the screen with only one record to show (form type). This component has binding with list type.
    If I use simple list with Table binding, I can not assign values to multiple items. This type of list retains value when record is changed.
    Can anyone help me resolving this issue?
    Thanks,
    CAH

    Post on Jdev forum JDeveloper and OC4J 11g Technology Preview
    --Shiv                                                                                                                                                                               

  • Decode a one value to a list of values

    Hi,
    I'm writing a a parameterised cursor and I need to decode the value of the parameter to a list of values but I'm not able to find and elegant solution.
    The line I currently have in the WHERE clause are:
    AND (bes_ps_s_id = DECODE (UPPER(p_act_or_res),'ACTIVE', 5444,
    'RESOLVED',5446)
    OR
    bes_ps_s_id =DECODE (UPPER(p_act_or_res),'ACTIVE', 5445,
    'RESOLVED',5447)
    I'd hoped this would work
    AND bes_ps_s_id IN DECODE (UPPER(p_act_or_res), 'ACTIVE', (5444, 5445),
    'RESOLVED',(5446, 5447));
    Can anyone offer a solution?
    Ta

    AND (bes_ps_s_id = DECODE (UPPER(p_act_or_res),'ACTIVE', 5444,
    'RESOLVED',5446)
    OR
    bes_ps_s_id =DECODE (UPPER(p_act_or_res),'ACTIVE', 5445,
    'RESOLVED',5447)
    what is wrong with above query..
    i mean why you want all in one line

  • How to create a list of value using date?

    We need to create a list on a report. The list consists of date. I have tried several times, but no luck.

    Hi Charles,
    I guess you have a user-parameter in your report and you need to define the LoV for the user parameter, so that the user can select from the LoV. In such a case you get REP-0782 if the datatype of column does not match the LoV of the parameter. Eg, if you have a query like
    select * from employees where hire_date < :p_hire_date
    And you want to build an LoV for hire_date, do the following:
    1. Go to your user parameter > Property Inspector > Datatype > select "Date". If you select Character or Number, you will get REP-0782.
    2. Now double click List of Values, choose "Select Statement" and type something like
    select distinct hire_date from employees order by hire_date asc
    If you don't want to use a Select Statement to build the LoV, you can write a static list of values, and even in this case Step 2 above should avoid the error REP-0782.
    Navneet.

  • List of values

    How to create a List of values in swings?
    A List of values is a one which on entering into
    a Field(Say TextField) popsup a new small window
    which contains some values from database/static values
    on selecting those values ,It should be fetched to that
    field
    Thanks

    Thanks in advance.
    Is there anyway to have a static list of values for parameters? I don't understand what you mean for static. But if What you want is to have a LOV that's not base in the values of an item based on a column of a table or view in the database, you can do a LOV based in a custom folder wich it's based in a select statement.
    Also is it possible to have a LOV from a select and not item class? No, LOV as far as I know can only be created using an item class, but what you can do is a custom folder. In the select clause of the custom folder, put the statements you want(like in the example), Then create an item class LOV type , base in the item that you want, then assign that item class to the items you want.
    Example.
    Select 'M' Gender From dual union all
    Select 'F' Gender From Dual
    Hope this helps

  • How to populate list of values on screen load

    Hi all,
    I have a list of values based on another field (ANOTHER_FIELD).
    e.g.
    select value d, value r
    from table_name
    where id = :ANOTHER_FIELD;
    ANOTHER_FIELD has default value.
    But when the screen is opened the list of values doesn't get the default value and the list of values is empty.
    Just when submmiting the form, the list of values is populated.
    Please tell me how can I populate the list of values on screen load.
    Thanks!

    Hi,
    So, you have created a computation for ANOTHER_FIELD but the related list still does not get any values? And, the default value for ANOTHER_FIELD is a valid value that can be used to populate the related list?
    Have you set anything for the "Display Null" settings for the related list? Or, is the default value a value will always be in the list?
    Andy

  • Prompt List of Values in WebI - SAP BI Variable - SAP BI Query -BI Infoset

    Hi,
    We have a Multiprovider built on an Infoset. SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    Multiple-Single Values type Optional Variables are created for some of the Objects of this SAP BI Query.
    Universe is created on top of this SAP BI Query, using SAP Integration kit.
    WebI is created on top of this Universe.
    Prompts are created on some of the Universe Objects, for the WebI report.
    We are facing a typical problem.
    When a WebI prompt is created on one particular object, (which also has a Multiple Single Value type Optional Variable in SAP BI Query), its List of Values is showing up only first three values in WebI. The SAP BI Variable in BEX Analyzer shows up all the 8 values for the List of Values, for the same object.
    The Output WebI report has more values for the object than shown up in the List of Values & this is the problem.
    We tried to keep the settings in Info-object, DSO, Infoset, Multiprovider = Values in Master Data (for the List of Values).
    Similar objects and similar variables for the same query / webi show all the List of Values.
    Any guidance on aspects to be checked would be helpful.
    regards,
    Rajesh K Sarin

    Problem :
    If an SAP BI Infoset is used in data modelling, and a restricted key
    figure is created in the SAP BI Query; the resultant WebI Object Prompt
    for the Info-object, only shows up LOVs which have been used for the
    restricted Key Figure. Both the things are not related except for the
    fact that some of the values for the same object are used for the
    restricted key figure.
    Details :
    We have a Multiprovider built on an SAP BI Infoset.
    SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    There is a restricted key figure in the sap bi query. KeyFigure "Number
    of Records" is restricted for 3 of the relevant Info-object "Meter
    Reading Status" values.
    Universe is created on top of this SAP BI Query, using SAP Integration
    kit. WebI is created on top of this Universe.
    Prompt is created on the Universe Object for Meter Reading Status, in
    the WebI report.
    List of Values is showing up only the three values in WebI (which were
    used in the Restricted Key Figure calculation).
    SAP BI Variable in BEX Analyzer for the same Info-object Meter Reading
    Status shows up all the 8 values for the List of Values.
    The Output WebI report has more values for the object than shown up in
    the List of Values & this is the problem.
    We have kept the settings in Info-object, DSO, Infoset,
    Multiprovider, Query = Values in Master Data (for the List of Values).
    When we delete the "Restricted Key Figure" from the SAP BI Query, the
    refreshed Universe and Webi have a complete set of List of Values
    applicable.   
    Steps for Reconstruction    
    1. Create Infoset
    2. Create SAP BI Query on Infoset
    3. Create Restricted Key Figure for Number of Records and few of the
    values for a characteristic info-object "X".
    4. Create BO Universe on SAP BI Query
    5. Create Webi on BO Universe
    6. Create a Prompt on the characteristic info-object "X".
    7. Check List of Values for the characteristic info-object "X" in SAP
    BI Query and WebI.
    8. LOVs in WebI are equal to the values used for restriction in the
    restricted key figure.
    9. Delete the restricted key figure from SAP BI Query.
    10. Refresh Universe
    11. Webi prompt shows all the values for the prompt on "X".

  • Filter view object by selected values from list of values

    Hello,
    I've the following problem with my ADF Application. I have three view objects in my application module. Two of them are connected via a view link. For example take users, who are connected to their departments. The remaining view object consists of factories. Now I want to show the user/department dependency in a tree table and the available factories in a list of values. This list of values should be used to filter the shown users.
    I've already tried to use bind variables in the users view object. But I don't know how to fill them with the value of the list of values.
    Can someboy give me a tip how to solve this problem.
    Best regards,
    Enno

    Hi Enno,
    Try this:
    - Have a AM method with one parameter(which takes user from the list of values) and inside AM method write code to set the bind parameter value and execute the query
    Sample Code
    public void filterByUser(String user){
       //Get your UserViewObject instance to userVO
       userVO.setNamedWhereClauseParam("<Bind_Variable_Name>", user);
       userVO.executeQuery();
    }- Expose the method as client interface
    - Drop the method (Data Control) as a button on to the page and pass the listofvalues value as a value to the method binding param
    Something like this: ${bindings.<User>.inputValue}
    - Finally refresh the master and detail tables based on the ListOfValues selection by setting partialTriggers property to the listofvalues component id
    Hope it is clear
    Sireesha
    Edited by: Sireesha Pinninti on Oct 15, 2009 4:54 AM

  • How to select from list of values?

    Dear All,
    I am using XML publisher for word, where I need to select a value from a list of values, for example I have hotel code like TTAG,TOBBR,TTAG,TOTM now I need
    to select hotel code and the corrosponding data should be display on word after
    running the RTF. Tell me, how can I achive the same?
    hare krishna
    Alok

    Thanks prety much,I am using XML to upload data from there into RTF templete. I've already insert table through load data option, but my problem is, how could I select a value from a list of values and based on that value selected from the list, it should displaydata corrosping to it. For example, I have few codes like TTAG, AMAG, TOTOM and if I select TOTM, it should display the complete address of that hotel named TOTM. If above given scenario is not at all possible, then Is there any alternate method to achieve this?
    hare krishna
    Alok

  • How can we allow over 103,718 list of values to display in webi report selection?

    I know, why would we want to?
    Our business users would like to see the list ordered and first select from a range and drill down.
    Any query in information design tool already does this as well as the preview values for the LOV object.
    Is there a way to make large LOV function this way in webi query/report?
    If not, is there a way to move beyond the warning of 'Partial list'?

    These are all dependent parameters for LOV
    At BO Server level
    Web Intelligence Processing Server-> Maximum List Of Values Size (entries) - 50000 (default)
    Web Intelligence Processing Server-> List of Values Batch Size (entries) -1000 (default)
    At Universe level
    Array Fetch parameter at database.PRM file.
    Limit size of result set to --  parameter
    Query Level
    Max rows retrieved ( Click Query Properties to display the "Query Properties" dialog box.)
    You can try below steps
    Follow these steps to change the maximum size for a list of values:
    Log in to Central Management Console.
    Click Servers.
    Right click Web Intelligence Processing Server and select Properties.
    Increase the value of Maximum List Of Values Size (entries).
    Save and restart the Web Intelligence Processing Server.  Note: Setting large number for Maximum List Of Values Size (entries) may affect the performance of Web Intelligence. It is recommended to set the appropriate number according to the system performance.

  • A list of values type item in a based table block

    My block is based on a table. An item of the block take the value of a field of the table when the form raises. But this item must be updateable (by selecting a value in a list) and then it must be of the list of value type. And the values in the list of values come from another table (not the based table). Is it possible ? If it is, how can I do this ?
    Thank you !

    Yes, it's possible. Just use a regular text item. Create an LOV using the LOV wizard. When you define the query for the LOV's record group, enter a statement that selects from the other database table. Set the return value of the appropriate LOV column to be the text item on the form. Finally, assign the LOV to that text item, so that the LOV pops up when the user presses the LOV key with the cursor in that text item. You can also set the LOV so that it automatically displays when the cursor enters the text item.
    Just look up LOV in online help if you need more info.

  • Issue with creating List of Values in Business View Manager

    Hi,
    Could any one help me to figure out what this issue refers to?
    When i created a List of Values in Business View Manager, it is throwing the following error!!!!
    The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
    Prior to creating LoV, i've done successfully with creating Data connection, Data foundation, Business element and Business View..
    Thanks
    Viswa

    Hi Visaw,
    Firstly,
    -->Open Repository Explorer,
    -->where you are have related DF,DC,BV,BEand LOV's
    -->Right click on LOV's -->There you can find Schedule list of values.Then schedule list of values and check if it prompts for errors.
    If you face the same problem, what is the error you are getting.
    Else try to use the LOV's and proceed further.
          -->Check whether the LOV's are pointing to the same Business View and check the Business view pointing to the same Datafoundation.
    If you are facing the same problem then try with the below steps:
    -->Try to Create a report at designer level Using then Business view
    -->Create two new parameters and select the existing parameters(LOV parameter's)
    -->Check whether it is working.
    -->If you  face the same problem ,Update the connection of Business view manager.
    Go to Database tab-->Select Set DataSource  location and update it with current Businessview Manager.
    Try this ,and let us know.
    Regards,
    Navin

Maybe you are looking for

  • Creating search field for a list component

    i have created a glossary of terms using the list component and populating it via an XML file. what i would like to do is create a search field that as the user types in the search bar if there are any matching entries in the list, the focus/selectio

  • MacBook and power overseas

    I purchased a World Travel adapter kit a few weeks ago, because I'll need to use my MacBook in Italy. Is the World Travel adapter kit all I need to SAFELY charge my MacBook and iPod with their respective power adapters while in Italy, or am I missing

  • Printing French characters on HP 4600

    I have no problems printing English characters on HP 4600 printers from my UNIX computer where I define my primary symbol set in my printer profiles as follows: ^1b^28^38^55 for Roman 8 symbol set and ^1b^28^31^34^4a for Ventura US What do I need to

  • Dato folder on DVD

    Hallo Can someone perhaps help me out here. I want to make a DVD with menues etc. and burn it as a regular DVD. At the same time I would like to give the customers of my client the possibility to watch the content in HD as flash rendered via Encore t

  • Upgrade ERECRUIT 603 to 604

    Hi all, Is that possible to upgrade ERECRUIT 603 to 604 by using EHPi? I've tried in many ways such as upgrade few important components (SAP_BASIS, SAP_ABA, PI_BASIS, SAP_BW, SAP_BS_FND, WEBCUIF, ERECRUIT 604), only NM701 (SAP_BASIS, SAP_ABA, PI_BASI