How to include list of values in filter

Hello Friends I am new to Universe design, I want to create a filter on field and filter should display multiple list of values like
phone,cell,email etc for the end user so that he can select one. Or else If he select '* 'he should get data for all LOV. * should be deault for all values. Thanks so much,
Toby.

Hi,
W026DTI1.LIHEA_RECIPIENTS.LAST_NAME IN @Prompt('Enter Name','A','Classname/Objectname',MULTI,FREE)
This 'Classname/Objectname' gives you the LOV of Objectname from which you can select the values.
While for having * in place of any values you need to add an OR condition while defining the prompt defition as
'*' IN @Prompt('Enter Name','A','Classname/Objectname',MULTI,FREE)
So, The complete definiton will be as:
W026DTI1.LIHEA_RECIPIENTS.LAST_NAME IN @Prompt('Enter Name','A','Classname/Objectname',MULTI,FREE) OR '*' IN @Prompt('Enter Name','A','Classname/Objectname',MULTI,FREE) 

Similar Messages

  • How to implement list of values with bind parameters

    Hi All,
    Please give me details about how to implement list of values with bind parameters.
    I have implemented with below things.
    1) created lov view object with query like select meaning, lookup_code from fnd_lookup_values where lookup_type=:1;
    2) The above vo added to applicationa module.
    3) created Controller class in the co class written code in processRequest();
    String vLookupType=pageContext.getParameter("LookupType");
    Serializable params={vLookupType};
    am.invokemethod("Initialize",params);
    4) In AM Impl Class invoke the VO
    5) In VO Impl class executed the query..
    But the above process working fine but when i give the value in lov text field like 'C' then press tab button the result will not showing instead of that i am getting error message, i want to implement standard lov functionality while implementing query with bind parameter.
    any thing reqired to add the code to controller for search criteria..
    Thanks
    Mateti

    Hi
    i am getting error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
    FROM fnd_lookup_values
    WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
    Thanks
    Mateti

  • How to use List of values with bind variables on item?

    Hi
    I made a dynamic list of values with a bind variable as a provider. I tried to run the list, and it worked fine - i filled inn the bind variable when asked for, and i got a list of values to choose from.
    I would very much like to use this list of values as an attribute on a custom made item. My wish is that when creating the item you someplace write the bind variable, and the list will then turn up as wanted. (I could f.ex add the variable as an attribute on the page type)
    I tried to create a custom attribute and assign the list of values to it. It created an error when I then tried to add the attribute to the item.
    Does anyone have any idea on how to solve this?
    Any help appreciated!
    Maja R. Anjer

    Hi
    i am getting error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
    FROM fnd_lookup_values
    WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
    Thanks
    Mateti

  • How to refresh list item values before report is run?

    We have two SELECT LIST items (drop boxes) on our report. One SELECT LIST has values of "World Region" (e.g. NORTH AMERICA, SOUTH AMERICA, EUROPE, ASIA)
    the other SELECT LIST has values of "Subregion" (e.g. NORTHERN EUROPE, SOUTHERN EUROPE, SOUTHEAST ASIA etc...)
    The values in the Subregion list are dependent on the value that is chosen from the "World Region" List. Can someone tell up how to update the values in the Subregion list BEFORE we submit the page? We can get these values to update (via sql query) when the page is submitted but that is only happening after the report gets run- which is not what we want. We want the user to select a Region from one SELECT LIST and then see all the qualifying Subregions for that Region in the Subregion SELECT LIST. Only after both Region and Subregion have been selected do we want to run the report. Thank for any help on this.

    hey john--
    john) things like Scott's reference to "The name of the LOV Item". What does this really mean?
    raj) in htmldb there's a concept of items at the page and at the app level. page level items have ui component associated with them. in scott's explanation above, he's talking about using a page-level item with a "Display as" type of "select list w/submit" for your first select list. in that case, he's suggesting you have one select list item drive the values of another. when the self-submitting select list submits the page, it sets an htmldb built-in variable called :REQUEST to the name of the self-submitting select list item. in your follow-up post's example, that'd be "REGION_LIST". scott was explaining how you could control the functionality on your page by adding conditions to things like...
    :REQUEST = 'REGION_LIST'
    ...or using declarative Condition options like "Request = Expression 1" and then putting the string "REGION_LIST" in that Expression1 field. so in your case, you have a report region that you don't want displayed until the user's done selecting from your Subregion list. an easy way to handle that would be to add a hidden item (where "Display as" is set to "Hidden") to your page, for example :P1_LAST_REQUEST, to store the last value of :REQUEST. put a Computation on your page that populates :P1_LAST_REQUEST with :REQUEST each time the page is submitted. then put a Condition on your report region that makes it only render when :P1_LAST_REQUEST != 'REGION_LIST'. so this way your users can select a Region and have the page submit itself. the page will then redraw with the values of subregion list correctly populated (you'd presumably use :REGION_LIST in your subregion LOV query to achieve the filtered values) w/o your report region displayed. the user would then select a correct subregion and click some sort of "run my report" button. this time when the page redraws, :P1_LAST_REQUEST would be set so something other than "REGION_LIST" (it'd be set to whatever you named your "run my report button") and so your report region would display as desired.
    hope this helps,
    raj

  • 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

  • How to catch List box value

    Hi gurus
    I have set list box value through vrm_set_value and in the screen level it's working fine
    In the custom  program I need to fetch data from table using that selected list box value , but  its always coming blank  .
    please help me how to catch that list box value in the program .
    Thanks

    This is the code
    *************SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS    :  P_bukrs  TYPE bukrs    OBLIGATORY  ,                        " Company Code
                     p_psc    TYPE psc_name OBLIGATORY ,
                     p_monat  TYPE MONAT    AS LISTBOX VISIBLE LENGTH 5 OBLIGATORY ,  " Quarter
                     p_gjahr  TYPE gjahr    DEFAULT sy-datum+0(4) OBLIGATORY .                        " Year
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS    : P_KIND      AS CHECKBOX USER-COMMAND abc ,                          " Check Box
                    P_prcent(6) TYPE P DECIMALS c_val_three  ,                    " Take in kind percentage
                    p_prod      TYPE PSA_PRODUCT  AS LISTBOX VISIBLE LENGTH 10  .   " Take in kind product
    SELECTION-SCREEN END   OF BLOCK b2.
         A T   S E L E C T I O N    S C R E E N                          *
    AT SELECTION-SCREEN on BLOCK b1 .
    Validate Company Codes.
      PERFORM sub_validate_com_code.
    Validate PSC
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_psc .
      PERFORM sub_validate_psc.
    Validate Quarter
      PERFORM sub_validate_quarter .
    AT SELECTION-SCREEN on BLOCK b2 .
    Validate Take in kind percentage
      PERFORM sub_validate_percnt .
    Validate Take in kind Percentage
      PERFORM sub_prod_disp .
    form sub_prod_disp .
    populated internal table lt_prod_val .
    LOOP AT SCREEN.
            CALL FUNCTION 'VRM_SET_VALUES'
              EXPORTING
                id              = 'p_prod'
                values          = lt_prod_val
              EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
          ENDLOOP.
    in start of selection the p_prod is always coming initial .

  • How to include a default value in Dynamic cascading prompt from 2nd Level.

    Hi,
      I use Command Object in 'Datbase Expert' to create 'Custom Tables'  and use these tables to fetch LoVs. I use Dynamic Cascading Prompts in the reports.  I have a peculiar requirement using DCP.
      There are Four Levels as in the Example:
      Continent
       Country
       State
       City
      In the Custom Table, requirement is to create an additinal row with '' that represents 'All Values selected' for that level starting from second.  and The default selection should be '' . I defined that '*' means 'All Vales Selected in the report' This si not a problem. But the problem how to show a default value in a Dynamic Cascading Prompt i.e. how we can make sure in an default value can be selected in DCP from Second Level?
    how can the examples 1,2,3 can be achieved detaisled below beacsuse we need to show a default value in Casacading Propmt
    Eg of Schedules with DCP:
    Schedule 1   
      Continent: Europe
       Country: *
       State: *
        City:  *
      Schedule2:
       Continent: Europe
       Country: England
        State: *
         City: *
    Schedule 3:
        Continent: Europe
       Country: England
        State: Greater London
         City: *
    Schedule 4:
    Continent: Europe
       Country: England
        State: Greater London
         City: City of london

    You won't be able to have a true "default" value in the various cascading levels, since there aren't default values in a dynamic cascading parameter.  That being said, I've created a sample report in Crystal Reports 2008 that has a Command-driven DCP with '*' values for the 2nd and 3rd levels of my 3-tier DCP and have accounted for them in the record selection criteria.  You can find the sample here at https://www.box.net/shared/mav5qp337j

  • SQL Query: How to pass list of values to the IN operator

    Hi,
    I'm trying to pass a list of values to the WHERE <a> IN <list>
    I dont want to use dynamic cursors (REF CURSOR). Is this possible using Oracle SQL?
    Please let me know.
    My program:
    DECLARE
    list_of_ids := '10, 20, 30';
    SELECT MAX(sal) INTO max_sal FROM employee WHERE emp_id IN (list_of_ids);
    END;
    Thanks in Advance,
    Niko

    You do not want to pass a comma separated list. You want to pass a collection. So
    CREATE TYPE num_tbl
    AS
    TABLE OF NUMBER;
    DECLARE
      l_list_of_ids num_tbl := num_tbl( 10, 20, 30 );
    BEGIN
      SELECT max(sal)
        INTO max_sal
        FROM employee
       WHERE emp_id IN (SELECT * FROM TABLE( l_list_of_ids ));
    END;
    /Justin

  • How to maintain List Of Values (LOV's) for BPEL Processes

    We are integrating two systems.Source and destination systems store data in different formats. For example State is stored as a string in source and its stored as an number in destination system. In BPEL we are trying to transform this information and send it to destination system so that it understands the incoming data.
    A sample of transformation we need to do is as shown below.
    State in Source     Sate in Destination
    Texas               1
    Nebraska          2
    But we have so many fields that we need to transform as we are doing for State.
    What is the best way of handling these domain mappings in BPEL. I want to know is there any efficient way we can handle this in BPEL as we do in J2EE applications(Maintaining them in Domain tables and making them available for all functionalities).
    We are looking to hold all these domain mappings at one place and use in all the processes we design.Can anyone suggest a better way to handle this for BPEL processes.

    Hi,
    I am using the lookup-xml for maintaining list of values.But dont know whats the problem unable to get the output.
    Example: this is just a sample one which i am testing.
    My xml file is placed in c folder with the name "StateList.xml" which contains the following info.
    <?xml version="1.0"?>
    <Countries>
    <Country><Abbreviation>CO</Abbreviation><FullName>CO</FullName></Country>
    <Country><Abbreviation>CT</Abbreviation><FullName>Connecticut</FullName></Country>
    <Country><Abbreviation>ID</Abbreviation><FullName>Idaho</FullName></Country>
    <Country><Abbreviation>NJ</Abbreviation><FullName>New Jersey</FullName></Country>
    <Country><Abbreviation>AP</Abbreviation><FullName>Andhra Pradesh</FullName></Country>
    </Countries>
    And in BPEL, in the transformation i am taking the input and assigning this lookup value to the output variable as follows :
    <ns1:result>
    <xsl:value-of select="orcl:lookup-xml('file:/c:/StateList.xml','/Countries/Country','Abbreviation','FullName',/ns1:HelloWorldPavanaProcessRequest/ns1:input)"/>
    </ns1:result>
    But unable to get the result.Kindly help me out in this.
    Regards,
    Pavana

  • Credit Management: How to include back orders value in credit exposure?

    Hello,
    We have to have credit management implemented for some sales order types.
    Credit exposure is working fine with normal sales orders.
    But credit exposure is not taking into consideration the value of backorders which are present prior to credit management was implemented (with horizon period of 2 months).
    Please let me know how we can include the value of back orders in credit exposure?
    Thanks in advance for your answer.
    Mallik

    hi
    goto OVAD
    assign delivery type with dly credit group 02, GI credit group 03. s ave
    goto OVAk
    assing order type with check credit D credit group 01
    goto OVA8 double click on relevant credit control
    field Oldest open item select it, then  Days oldest item assign value
    regards
    [email protected]

  • Chapter NUMBERS? How to include list styles in TOC?

    How does one include chapter numbers!?? I have used a list style with a paragraph style as headings for chapters and paragraphs (Example: 1. Introduction | 1.1. Company X), which I now want to include in the TOC. Using the specific heading in the TOC only includes the text, and not the entire list item (number followed by text). How do I accomplish this list item to be included? Is there a way to (only) tweak the TOC style of a template?

    http://discussions.apple.com/thread.jspa?threadID=2107212&tstart=0
    Yvan KOENIG (Vallauris, FRANCE dimanche 9 août 2009 14:00:22)

  • Help : How to use list of values in Variable in ODI

    Dear All,
    I have a multiple values in table, and I would to use these values a a parameter in ODI to retrieve rows based on these values. As I know that we can use single value in variable in ODI.
    Any one can Help me please?

    Can't you use a join between the tables ?
    ODI mostly take advantage of native technologies.
    i.e If my source technology is oracle then i will create a join between the table i.e. MAINTABLE.column = LOVTABLE.COLUMN and also put a filter on LOVTABLE to take required values.
    OR you can write a subquery in the Filter i.e. MAINTABLE.COLUMN in ( Select LOVVALUES from LOVTABLE where LOVTABLE.ATTRIBUTE = 'BUSINESS_UNIT')

  • How to include a key value, per employee, in payslip print program output?

    Employee payslips are printed externally. The output file has to include a 3 char value, per employee, to determine the logo that will be printed on to the payslip.
    What is the best way to include this 3 char value in the output file?
    I assume the best way is to use program RPCEDTG0 and include the code in this program. We are on ECC6 so PE51 isn't used, HRFORMS is, but I assume this wouldn't matter anyway as we don't need to change the HRFORM but rather the RPCEDTG0 program?
    Thanks in advance.

    Hi Kapil,
    Thank you for your help.
    Yes, I have suggested as you said, i.e. putting logo into the smartform linked to the HRFORM. However, the external printers want a code in the file which they will interpret their side and then pickup and output the logo from their system. We merely need to pass them the code for this.

  • How to change list of values associated with a field using Personalization?

    Hi,
    We are using the standard Oracle TeleSales ASTCDDTL.fmb form 12.0.6 version. In that form, a field called "Type of School" is associate with the look up "HZ_TYPE_OF_SCHOOL". Now we need to customize the field to list down our list of countries (list of countries through a query of value set). Is there any way in Form Personalization we can achieve this? i.e changing the already associated look up type to a query or a custom value set?
    Appreciate your help on this!
    Thanks!
    Nithya

    959061 wrote:
    Hi,
    We are using the standard Oracle TeleSales ASTCDDTL.fmb form 12.0.6 version. In that form, a field called "Type of School" is associate with the look up "HZ_TYPE_OF_SCHOOL". Now we need to customize the field to list down our list of countries (list of countries through a query of value set). Is there any way in Form Personalization we can achieve this? i.e changing the already associated look up type to a query or a custom value set?
    Appreciate your help on this!
    Thanks!
    NithyaPlease see old threads -- https://forums.oracle.com/forums/search.jspa?threadID=&q=LOV+AND+Personalization&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to change List item value

    Hi All,
    The scenario is like this....
    I have two list item Country and State.....Now when I select a specfic country from the list item.....corresponding state will come in the State list item....
    Plz Help me to solve the issue....
    Thanks in Advance.
    T.Halder

    Halder,
    In the WHEN-LIST-CHANGED trigger of the country list item write,
    DECLARE
         Num_Temp           NUMBER;
         RG_Group_ID RECORDGROUP;
    BEGIN     
         RG_Group_ID := CREATE_GROUP_FROM_QUERY('RG_STATE', 'SELECT STATE_NAME, STATE_CODE FROM STATE_TABLE WHERE COUNTRY_CODE = ''' || :CB_COUNTRY || '''');
         Num_Temp           := POPULATE_GROUP(RG_Group_ID);
         CLEAR_LIST('CB_STATE');
         POPULATE_LIST('CB_STATE', RG_Group_ID);
         :CB_MODULE := GET_LIST_ELEMENT_VALUE('CB_STATE', 1);
         DELETE_GROUP(RG_Group_ID);
    END;Replace the field names, table and and control name as per your requirement.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

Maybe you are looking for

  • How can I use HTTP authorization in my program?

    I'm writing full-featured proxy server in Java and want to require users to provide login and password and then use their login-name internally to provide different permissions, different quotas, etc... for different users. How can I do that with Jav

  • Can we remove timestamp which is added infront of the file name, in archive

    Can we remove timestamp which is added infront of the file name of datafile which was imported succesfully , in archive folder, i have a requriment to move file from archive folder  to another folder, but programmer is finding diffficulty in moving t

  • Audio Out always working?

    I have a question about the audio analog output of the 19SL410U TV.  Will muting or changing the volume of the TV have any effect on the output of the L and R stereo jacks on the back of the set? Is my assumption that the output terminals provide sta

  • How do I populate a new iPhoto library from my default library?

    How do I efficiently move large numbers of photos between 2 iPhoto libraries?  I want one for personal use and one for business.  Right now everything is in one iPhoto library.  I was able to create a second, business related library, but couldn't fi

  • JACOB and pop up windows

    I am using JACOB to test a webapp that contains a proprietary activeX control. So far, so good...I can open a browser, navigate around, access the activeX control and call methods on it. The problem I have is that one of the webapp links pops up a vb