Exact Search Criteria in OAF

Hi,
I have developed a Custom OA Page with VO having 9 Columns, all 9 columns are in search criteria having LOV for each column. It is oracle R12 environment.
Problem:
When i search for a specific value for column it is returning values in result region starting with that value.
Example: when i search for a value like 1234, it is returning the values starting with 1234. Actually it is taking as 1234%, hence it is returning values like 12341,12342,12343,12344,12345. Is there any property that i need to set to get results for exact values.
Thanks in Advance.
Regards,
Surendra N

Thanks Sushant,
I could able to override the executeQuery.
I am facing another issue that is with where clause, please find the below where clause that i have used.
setWhereClause("segment1 = nvl(:1,segment1)");
By using this i can search exact match, but there is another requirement to search like values. I can search for a value '1234', but if i give '1234%' it is not retrieving the details.
In where clause can i use LIKE instead of '=' sign.
Regards,
Surendra N

Similar Messages

  • How to add a new  search criteria in Advance Search Page in OAF

    HI,
    In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
    1. AX receivables
    2. Sales online
    From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
    But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
    Now, User is asking to add that field on search page of AX receivables as well.
    So, how to add one more field (as search criteria), on an standard 'Customer' screen?
    Additional Info :
    1. LOV is based on HzPuiClassificationFilterVO
    2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
    So can we achieve this by Personalization only ? if yes plz share the steps as well.
    Regards,
    Adi

    Yes. It is possible through personalization.
    1. Create a criteria row under Advance Search
    2. Create a Result Item under advance table columns
    3. Create a Query Criteria Map based on the criteria and result item above.
    Please note the newly added criteria field should be in the Searchresults VO attributes list.
    Otherwise you need to extend the VO as well.
    Hope this helps.
    Regards,
    -Mukesh.

  • Bridge search criteria doesn't find files but the exact same criteria finds files in the Finder

    I am wondering if anyone has been having the same problem that I have been having. I can't seem to get any results back from the Bridge when I create a smart collection but when I enter the exact same criteria in the Finder I get lots of results. I took a screen shot of both programs if any one can catch something I am doing wrong. To me it looks exactly like the same search criteria in both apps.
    Here are the screen shots:
    http://www.facebook.com/album.php?aid=46061&id=613761505&ref=mf

    Hi Holly,
    I've been doing a lot of reading on and off and my office just decided to get a server and either extensis portfolio, or canto cumulus, both are software packages that have been designed from the beginning to do exactly what we want.
    The drag is that they are expensive, but I was spending so much time trying to tweak out bridge and trying different scripts and blah blah blah, that I wasn't taking pictures, so that's what we decided to go with.
    I've worked with Canto Cumulus in another job and it is really great, some people told me to check out extensis so I'm looking into both right now.
    Sorry, but that's the best solution for us, just use something else instead of bridge for the network.

  • Can the Adobe PDF plugin carry exact phrase search criteria through from source system into Reader?

    In SharePoint 2013 if you search for an exact phrase and then view a PDF that is returned by the search (in Reader via the PDF plugin) then the Reader will treat the complete phrase as individual words.
    For example, search for "High Court" in SharePoint, get returned a set of PDF documents, and when you view one of them through the Reader the hit highlighting will be for each instance of "High" or "Court".
    What is wanted is hit highlighting only of instances of "High Court".
    I get the same behavior if the Adobe PDF plugin is installed with the Filesite DMS. So it seems to be standard behavior for the Adobe PDF plugin
    Is there a way to make the Adobe PDF plugin carry exact phrase search criteria through from source system into Reader? And then hit highlight the exact phrase only.

    Hi Sam,
    You can opt for 'Advance Search' option in Reader to match the whole words to get to the specific documents.
    Regards,
    Rave

  • Error while trying to add a new field in search criteria by VO extension

    Hi,
    I am trying to add a new field by using the VO extension to a seeded OAF page used to search Repository contracts.
    I get the following error on opening the page after I have compiled my code on server and bounced apache.
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME =SSPN_AdvancedSearchAttributesPVO; APPLICATION_MODULE = oracle.apps.okc.repository.search.server.ContractsAdvSearchAM;
    I extended the AM also after this to include the extended VO but still the error comes.
    This page is a dynamic search page where the results change based on the different search criteria.
    Cheers
    Swati

    Hi,
    I extended the AM also after this to include the extended VO but still the error comes.There is no need to extend the AM for extending a VO. Hopefully the VO which u extending already attached to the AM oracle.apps.okc.repository.search.server.ContractsAdvSearchAM.
    Regards,
    Gyan

  • How to add one more values in Search Criteria,

    Hi All,
    OAF page Search Criteria :
    Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed “Description” in Search Criteria,
    Please Help Me
    Thanks
    Rajavel

    "Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
    At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
    This is from the devguide, I suggest you read it once at least if you have started work on the framework.
    Tapash

  • Issue with clearing a grayed out search criteria field

    Hi,
    I have grayed out a field ABC for its default  value XYZ in the search criteria of lead search...
    But when I click the CLEAR button, it clears the XYZ value of field ABC..
    I don't want the value of ABC to be cleared...
    Do I need to redefine the CLEAR method?
    How do I achieve this purpose?
    Thanks
    Madhukar

    Hi Madhukar,
    go to your eh_onclear event place the break point check the code where exactly parameters values are clearing. copy the standard code redefine the method eh_onclear past the code in your redefine method and change the logic where exactly the parameters are clearing as a standard.
    ex as the above code:
    WHILE lr_param IS BOUND.
         lr_param->get_properties( IMPORTING es_attributes = ls_param ).
    in ls_param you will get ATTR_NAME as ur field and low,high sign option values
    check this ls_param-ATTR_NAME ne 'urfield'. clear the content else check the low and high value of the remaining field values.
         IF ( ls_param-low  IS NOT INITIAL ) OR
            ( ls_param-high IS NOT INITIAL ).
           CLEAR: ls_param-low, ls_param-high.
           lr_param->set_properties( EXPORTING is_attributes = ls_param ).
         ENDIF.
         lr_param = lr_iterator->get_next( ).
       ENDWHILE.
    if you want more info share me your component and view name.
    Thanks & Regards,
    Srinivas.

  • Regarding date ranges in search criteria in oracle forms

    I am using employee number,name, person type, and date ranges as search criteria in custom form.
    when I enter employee number, hit the find button, I am getting the exact info in the result block.
    Result block contains
    employee name,personid,emp numb,org,start_date.
    Similarly when I enter employee number,dept, I am getting correct values.
    My question here is, when I enter date range. Iam unable to filter data.
    When i enter START_DATE between nvl(:BLOCKNAME.START_DATE,'01-JAN-1901') and nvl(:BLOCKNAME.END_DATE,'31-DEC-4712') at where clause in the result block. I got data for the date range also.
    if I give condition in the where clause, results are taking so much time when i search with employee name,number,dept,person type.
    If i query with date, persormance is good.
    Do u any know,how to prevent START_DATE between nvl(:BLOCKNAME.START_DATE,'01-JAN-1901') and nvl(:BLOCKNAME.END_DATE,'31-DEC-4712') when we search with employee name,number,dept,person type.

    Initailly Ididnt given any code in the where clause of the result block. I got data in the result block when i search with employee name,number,person type,dept etc except date range.
    If i give date range, irrespective of the date, getting all the data.
    after that i added code to the where clause of the result block. Now i am getting data for everything.
    like, when i query with employee name,number,even date range also.
    My question here, performance.
    when I query with date range, data is coming in expected time in the result block.
    when i query with dept, taking much time since date range logic exist in the where clause of the result block.
    I need to restrict the where clause only to the data ranges. Where clause should not necessary for employee number,name,person type dept search criteria
    Tahnks for your reply

  • Add (+) search criteria grayed out

    When searching in a finder window, the normal ( +) button to add search criteria is disabled. I thought maybe I had a corrupt preference file, so I trashed all the .plist files that seemed to relate to the finder. Whe I restarted, the button was back, but only for a few minutes. After that, it went back to being disabled.
    It looks like this attached image, with the button grayed out, and a ( - ) instead of a ( + ).
    The problem is isolated to my primary user account. Others on the same machine are unaffected.
    I looked over the discussion boards, and can't find anyone else with this problem, but maybe I don't know the right terminology. Any help would be appreciated.
    What am I missing?

    I narrowed it down further. This finder bug only appears when I use Command-N or click the Finder icon in the dock to create a new window.
    If I double click any folder icon or drive on the desktop, the finder window that pops up has the ( + ) icon enabled, exactly as it should. What is going on?

  • DFF in search criteria

    Hi All,
    I have a DFF and i want that DFF to be a searcheble field in the search criteria of the advanced search in the standard OAF page Contracts of the Sales Contracts Workbench User Responsibility , could u please explian how can i add that
    in the page ?
    Thanks
    kk

    Hi
    Its resolved now. We found that it was an issue with a non-numeric value populated in one of the user extensible lookup, where system was looking for a numeric value. It is resoved now.
    Thanks

  • Reduce advanced search criteria LOV

    I have created OAF page with resultsBasedSearch = advanced panel Query Region. In advanced search criteria, I see four values in LOV - "is, is not, after, before". I want to limit options to "is" and "after". Is it possible to do this? If so, can you tell me in detail how?

    Hi.
    please try put your locale en tag view.
    <f:view locale="it">
    in Jdev 11.1.1.4 works!!

  • Filter results for New Search Criteria of Advanced Search

    Hi,
    I'm new to oaf.
    I have added extended VO item to seeded advanced search region as new search criteria by personalization.
    When i try to search for new criteria the results are not filtering and my extended CO logic as follows:
    IN PFR:
    if(oapagecontext.getParameter(oaquerybean.getGoButtonName()) != null || oapagecontext.getParameter(oaquerybean.getPersonalizeGoButtonName()) != null)
    OAAdvancedSearchBean oaadvancedsearchbean = (OAAdvancedSearchBean)oawebbean.findChildRecursive("assetAdvSearch");
    boolean flag = true;
    if(oaadvancedsearchbean != null)
    int i = oaadvancedsearchbean.getDisplayedCriteriaCount();
    String s4 = oapagecontext.getParameter("advancedSearchRadioGroup");
    for(int j = 0; j < i; j++)
    String s6 = (new StringBuilder()).append("Value_").append(Integer.toString(j)).toString();
    String s7 = (new StringBuilder()).append("Condition_").append(Integer.toString(j)).toString();
    String s8 = oaadvancedsearchbean.getOriginalUINodeName(s6);
    if(s8.equals("XXAssocMsgInput"))
    String xx=oapagecontext.getParameter(s6);
    oapagecontext.writeDiagnostics(this, "criteria value: "+xx, 105);
    if (xx !=null) {                                 
    StringBuffer stringbuffer = new StringBuffer(100);
    // Setting whereClause at Runtime to restrict the query
    OAApplicationModule rootam = oapagecontext.getApplicationModule(oawebbean);
    OAApplicationModule childAM = (OAApplicationModule)rootam.findApplicationModule("XXAdvSearchAM");
    OAViewObject vvo1 = (OAViewObject)childAM.findViewObject("XXAdvSearchVO1");
    Serializable[] parameters = {xx};
    childAM.invokeMethod("getAssociateWith", parameters);
    In AMImpl:
    public void getAssociateWith(String xx)
    OAViewObject vo = (OAViewObject)getXXAdvSearchVO1();
    Vector parameters = new Vector(2);
    StringBuffer whereClause = new StringBuffer(100);
    int clauseCount = 0;
    int bindCount = 0;
    vo.setWhereClauseParams(null); // Always reset
    if ((xx!=null) && (!("".equals(xx.trim()))))
    whereClause.append(" ASSOCIATE_WITH LIKE :");
    whereClause.append(++bindCount);
    parameters.addElement(xx);
    clauseCount++;
    vo.setWhereClause(whereClause.toString());
    writeDiagnostics(this,"In AMIMPL whereclause:"+whereClause.toString(),119);
    if (bindCount >0)
    Object[] params=new Object[bindCount];
    parameters.copyInto(params);
    vo.setWhereClauseParams(params);
    writeDiagnostics(this,"In AMIMPL XXAdvSearchVO:"+vo.getQuery(),120);
    writeDiagnostics(this,"In AMIMPL VO Cnt:"+vo.getRowCount(),121);
    vo.executeQuery();
    writeDiagnostics(this,"After query = " + vo.getQuery(),123);
    In diagnostics, parameter is not getting assigned with the value ..
    Can you anyone suggest the inputs?
    Thanks,
    mallik
    Edited by: 758972 on Jul 29, 2012 1:09 PM

    Mallik,
    Is it the same requirement which we were discussing in another thread, to add search criteria in advance serch bean through personalization.
    If yes, let me try at my end and will let you know..
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Enhance Search Criteria in bt111s_oppt

    I need to enhance a search criteria as follows:
    The opportunities in the result list have to be shown only in case the user searching for them is a Sales team member on the opportunity in the result list.
    In case of BP search there is a nice class which can be used for the purpose of enhancing of the search criteria. How about opportunity. IS there a class or a BADI?

    Hi Max,
    Just to add to what Ajay has said, Please try below code:
    DATA: lr_query TYPE REF TO cl_crm_bol_dquery_service.
    lr_query ?= me->typed_context->search->collection_wrapper->get_current( ).
    lr_query->add_selection_param( EXPORTING iv_attr_name = 'SALES_TEAM_MEMBER '
                                                                                    iv_sign = 'I'
                                                                                    iv_option = 'EQ'
                                                                                    iv_low = sy-uname ).
    Regards,
    Bhushan

  • Search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.

    search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
    code. partner funtction - ZRG DATA :
    DATA : lv_partner_fct type .
    types: begin of ty_resp,
           partner    type but000-partner,
           name_last  type but000-name_last,
           name_first type but000-name_first,
           mc_name1   type but000-mc_name1,
           mc_name2   type but000-mc_name2,
           end of ty_resp.
    DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
           lw_resp_bp type ty_resp.
    IF lv_attr_name = 'Rgroup'.
    lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
                                       IMPORTING ev_result = lv_low ).
    IF lv_low IS INITIAL.
    SELECT partner
           name_last
           name_first
           mc_name1
          mc_name2
    FROM but000 INTO table lv_resp_bp
    WHERE mc_name2 = lv_low and bu_group = '0010'.
    loop at lv_resp_bp into lw_resp_bp.
        lv_low = lw_resp_bp-mc_name2.
      lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
                                                iv_sign = lv_sign
                                                iv_option = lv_option
                                                iv_low = lv_low
                                                iv_high = lv_high ).
      ENDLOOP.
    if lv_partner_fct = 'ZRG'.
      lr_entity = lr_iterator->get_next( ).
    CONTINUE.
    ENDIF.
    lv_attr_name = 'BU_PARTNER'.
    ENDIF.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

Maybe you are looking for

  • Spry Menu Bar Positioning Problem in IE

    I have a Dreamweaver-created Spry Menu Bar drop down menu which works perfectly in every browser on my Mac and on my PC . . . EXCEPT Internet Explorer (who woulda thunk it?!!) In all browsers except for IE, the 3 submenu items under "Door Systems" an

  • ITunes will not install, error message "could not access network location"

    I just got a new iPod Classic for Christmas but I have an older Mac so I was going to use an extra PC that we have laying around the house but every time I try to install iTunes, I get this Error: Could not access network location \\S090100\d$\Data.B

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each

  • Powerpoint in Program Documentation

    Does anyone know if it is possible to embed a PowerPoint slide in program documentation?  I have a user that is interested in this.  Thanks in advance. Regards, Jason

  • Iphone 4 apps

    i cant get any of my apps to update on my ifone 4, they have updates but when you click on update all that happens is the app opens i have switch the phone on and back off and still apps will not update