Additional Operators with FPM Search GUIBB

Hello everyone,
another question about the FPM Search GUIBB.
I have the requirement to implement a FPM Search GUIBB where the user can search for "relative dates" like today, yesterday, last week, last month, etc. To do so, I planed to add new operators (using attribute INCLUDE_OPERATOR of parameter ET_FIELD_DESCRIPTION_ATTR in feeder class method GET_DEFINITION). Everything works fine, however I would like to hide the value fields, when a relative date is selected. With standard search operator the value fields are controlled automatically. For example: When the "between" operator is selected, two value fields are shown. When the "is empty" operator is selected, no value fields are shown, etc.
Is such a controlling of value fields also possible with additional search operators?
Thanks in advance for your advices!

Correct Philipe.
There is only one HTML event on each WDA element. So you will not be able to catch that event you are looking for.
This is one of the biggets disadvantage of Web Dynpro... let's hope that all the HTML event will get implemented in the future.
Kind regards, Morten Prom

Similar Messages

  • Interdependent Search Criteria with FPM Search GUIBB

    Hello everyone,
    I have the requirement to implement a FPM Search GUIBB where some search criteria are interdependent on each other. I will explain this with an example:
    We have two search criteria, "Country" and "City". All possible values of "Country" are shown in a drop down list box. When a value in that drop down list box is selected, the other drop down list box of possible cities should only show those values which fit to the selected country. So, when I select “Germany” the second drop down list box should only show Berlin, Frankfurt and Munich. When I select Spain it should only show Barcelona and Madrid, etc.
    I already found out, that something similar is possible with OVS Value Helps. Nevertheless, I would prefer to find a solution with drop down list boxes.
    Thanks in advance for your advices!

    Hi SF,
    As you said, It is actually a look-up field on the main catalog table.
    It will visible in MDM data Manager Drill down search if and only if you set Property Search Tab as Yes for field in main table which is look up to some sub table using MDM Console.
    Once you done , you will see this field as well in Drill down search and can pick more than one value using CTRL key.
    Other alternative i would suggest you is that, if you have any field of type text is blank in you main table say FIELDGA. Populate this field against the records who has USAGE = Group A using assignment.
    So, in this way you would have two fields in Free Form Search criteria, select value Group A from field FIELDGA in search selection and using original field USAGE select GROUP B. In this way u can achieve this.
    Better to go with property Search Tab = Yes for that lookup field in main table using MDM console.
    Kindly revert with the result.
    Thanks and Regards,
    Mandeep Saini

  • FPM with 'Auto Search' - Search GUIBB

    Hi there,
    Some data first:
    1 - In a search GUIBB we can set search criteria to be of type "EN" (for Enumeration).
    2 - There is a option configuring a Search GUIBB in FPM configuration to hide the "Search Button".
    So what I want is to hide the search button (easy) and raise some evente everytime the user selects/change the values from the search criteria. There is an option on es_options@GET_DEFINITION named
    raise_event_on_attr_change,
    if set to true it raises an event when users change or add search criteria, but it doesnt raise any events the users change the values of the search criteria itself.
    For instance, a search criteria "year" has it value changed from 2011 to 2010 and some event is raised.
    Best Regards,
    Felipe

    Correct Philipe.
    There is only one HTML event on each WDA element. So you will not be able to catch that event you are looking for.
    This is one of the biggets disadvantage of Web Dynpro... let's hope that all the HTML event will get implemented in the future.
    Kind regards, Morten Prom

  • How to set focus on specific search field in FPM's search guibb?

    Is there any way to set the input focus to a specifc search field in an FPM's search guibb? I found that there is a godd way for forms by using the IO_EXTENDED_CTRL object in the GET_DATA function. But it seems that there is no corresponding way to do for search forms. Any other idea?
    Best regards,
    Thomas

    Hello Venkatesh. Yes that code does work. First I tried it on a table cell that was already rendered and it did work. The next time I tried it on a table row that was being added and it did not work there. So I added an on after rendering function for the table and added that code there. That did not work until I added a delay (timeout) to do a context switch before calling the focus and that worked.
    Once last thing though sometimes when I call focus on an input field (actually in a table row cell) if the field has text in it already the flashing cursor is at the beginning of the text and other times it is at the end of the text (which is the desired way). It depends on where I click in the row. Is there anyway to make sure the flashing cursor is at the end of the text when the focus is applied to a field that contains text?

  • Refresh of FPM SEARCH Component  from Program

    Hi ABAPers,
    I am facing a problem with the Search UIBB (IF_FPM_GUIBB_SEARCH). The selection works fine: I can select the lead-selection, and the result is correctly provided to another UIBB.
    Within this second UIBB the data may be changed. In this case, I would like to update my search result with the new data (simply to be read from the database). This unfortunately does not work.
    My controller (the feeder class) gets all things set, but the view (Webdynpro) is not being refreshed (unless I click the buttons on the screen). After my data is changed, I fire these two events
    lo_fpm->raise_event_by_id( if_fpm_guibb_search=>fpm_reset_search ).
    lo_fpm->raise_event_by_id( if_fpm_guibb_search=>fpm_execute_search ).
    which are properly processed. In IF_FPM_GUIBB_SEARCH~GET_DATA I also set
    ev_search_criteria_changed = abap_true.
    As I said, when changing the search critera and pressing the buttons on the screen, all things work fine - so the coding should be fine basically. But when I fire the events manually through my program code to initiate the same thing, nothing happens on the screen.
    Is there any flag to be set to get to get the interaction between controller und view running?
    Any help is appreciated!
    Kind regards
    Torsten

    Hi Torsten,
    so the problem is that the result data is not updated? The result data is propably displayed in a FPM List UIBB and has its own feeder class. Therefore I got start for analyzing this, would be to figure out the feeder class of that result list uibb. Then I would debug what happens in method get_data. The interesting parameters are ct_data and ev_data_changed.
    Kind regards,
    Ulrich

  • BAPI to create bp with name, search term, address and Authorization Group

    Hi
      which BAPI could be used to create Business Partner (type organazation) with names, search term, address and the Authorization Group field.
      ths

    Hello ,
    You can use : BAPI_BUPA_CREATE_FROM_DATA
    In case you need to update additional fragments just search in trn code SE37  for BAPI_BUPA_*CREATE.
    For example BAPI_BUPA_FRG0040_CREATE - Create classification data for BP , etc'.
    Additional you can use XIF :CRMXIF_PARTNER_SAVE to create business partners
    Rika

  • WHAT now with OSX search function?

    Okay, i just searched one of my hard drives for pdf files, and search returns 0 files.
    HOW can this be!? I would use profanity here because it's plainly warranted, but Apple doesn't like that. I think from now on, i'll use the term "OS X" as a substitute for profanity.
    So, I am looking at several pdf files in an OS X folder on this OSX drive, and i know there are more.
    So what the OS X is going on? Thanks.

    You should use spotlight to stop indexing an an hd.  Spotlight puts a file on the hd that says do not index.   I wrote this up awhile ago.
    In an this post I will describe how to perform a classic Mac OS search. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger.  I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard. 
    The results will be slightly different with a spotlight database on the partition and without a database on the partition. With a database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without a database, using the special features nulls out the search and the "Search for" field seems to give the same result as using the name field.
    This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
    How do you get to this interface?
    Perform the Classic Mac OS search with a Spotlight database.
    Click on the desktop to access the Finder.
    click on File then click on find.
    Pick what folder you wished to search.  Click on Others... to select a folder. Click on the plus sign to select the folder you wish to search.  Be sure the selected folder in the list is the only one checked.  In the first example I picked:  /Users/mac/Desktop/iMac/z-find/
    The "Search for" field on the first line is used for spotlight. Avoid using this box.
    Click on the plus symbol to the right of an input options. Click on the double arrow to the right of the first option. Go down to the name field.
    You can now search for the contents of a filename. I searched for name contains: bash-
    To see the Classic display format, click on the three line icon which is located on the upper left of the window.  There is a small refresh icon on the lower right of the window.
    !http://farm4.static.flickr.com/3485/3240587496_741476de7b.jpg?v=0!
    I created the z-find folder on my Macintosh-HD then copy it over to my Spotless flash drive.  This means both searches searched for it the same file names.  See below for the list of file names.
    This is the result of the search:
    bash-backup-copy-invisible-attr.html
    bash-backup-inside-bash-copy.html
    bash-backup-inside-bash.html
    bash-backup.html
    bash-batChmod.html
    bash-battery__yellow__4k.html     {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-copy-invisible-attr    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    You can create a smart folder to take you directly to the search panel.  Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
    !http://farm4.static.flickr.com/3498/3239759755_d5ebbefe05.jpg?v=0!
    There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
    In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
    I do not know how this works internally. I successfully a search on my fat32 flash drive.
    Perform the Classic Mac OS search without the spotlight database.
    If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
    Here is what I did:
    I installed the spotless application.
    http://www.fixamac.net/software/spot/
    I use spotless to configure spotlight. Click on disabled indexing then click on  delete index files.
    !http://farm4.static.flickr.com/3527/3239751839_c760c46628.jpg?v=0!
    Spotless creates the .Spotlight-V100 directory with the _IndexPolicy.plist and _rules.plist to prevent indexing on the partition.
    mac $ pwd
    /Volumes/Spotless
    mac $ ls -ld .Spotlight-V100
    drwx------   4 mac  staff  136 Jan 22 23:51 .Spotlight-V100
    mac $ ls -l .Spotlight-V100
    total 16
    -rw-------   1 mac  staff  55 Jan 22 23:51 _IndexPolicy.plist
    -rw-------   1 mac  staff  58 Jan 22 23:51 _rules.plist
    _IndexPolicy.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Policy</key>
        <integer>3</integer>
    </dict>
    </plist>
    _rules.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Spot_Auto</key>
        <integer>1</integer>
    </dict>
    </plist>
    I put these files on my Macintosh-HD and Spotless partitions.
    !http://farm4.static.flickr.com/3363/3219766624_63687ff9a7.jpg?v=0!
    Here is the list of files:
    mac $ pwd
    /Volumes/Spotless/iMac/z-find
    mac $ ls -RaF
    .DS_Store
    .bash-backup-copy-initial-dot-copy.html
    .bash-copy-initial-dot/
    bash-backup-copy-invisible-attr.html
    bash-backup.html
    bash-batChmod.html
    bash-battery__yellow__4k.html
    bash-copy/
    bash-copy-invisible-attr/
    bash-folder__green/
    ./.bash-copy-initial-dot:
    .DS_Store
    bash-backup-inside-bash.html
    ping_command_as_Give.html
    ./bash-copy:
    .DS_Store
    bash-backup-inside-bash-copy.html
    ping_command-bash-copy.html
    ./bash-copy-invisible-attr:
    .DS_Store
    ping_command_as_Give.html
    ./bash-folder__green:
    .DS_Store
    ping_command_as_Give.html
    mac $
    I performed the search for files containing "bash-" in the name field.
    !http://farm4.static.flickr.com/3430/3240587902_171d8d46c3.jpg?v=0!
    This is the result of the search:
    bash-backup-inside-bash-copy.html
    bash-backup.html
    bash-batChmod.html
    bash-battery__yellow__4k.html     {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    Limitations:
    Does not search in Unix hidden folders. That is folders beginning with a period (.) .
    Sometimes will find files beginning with a period (.).
    Does not find Mac OS invisible files.
    Using the special features nulls out the search.
    The Search for  field seems to give the same result as using the name field.
    Related tips:
    • by Baltwo
    http://www.macosxhints.com/article.php?story=20050501162147222
    If you haven't run Leopard, note that finding stuff is different than Tiger's.
    See http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.
    • "Searching for files by name"
    http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
    Alternatives:
    • FindAnyFile
    "Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations."
    http://apps.tempel.org/FindAnyFile/index.html
    • Use the Terminal find command to list files from multiple directories.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find  -iname "*bash-*"  -exec ls -dF  {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery__yellow__4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr/
    /Users/mac/Desktop/iMac/z-find/bash-folder__green/
    mac $
    • findfile
    "Here’s a simple command-line tool which uses FSCatalogSearch to search for files by name.
    usage: findfile -r   "
    Here is where to find: findfile.
    http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
    I am searching file names containing  "bash-" in  the directory "/Users/mac/Desktop/iMac/z-find".
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ ~/findfile -r /Volumes/Macintosh-HD/ "bash-" |\
    additional input:    grep '^/Users/mac/Desktop/iMac/z-find/'
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery__yellow__4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr
    /Users/mac/Desktop/iMac/z-find/bash-folder__green
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    • You can use the Terminal to search the contents of a file.
    You need to combine the find command with the grep command. I am searching for the word pdisk where file names containing  "bash-" in  the directory "/Users/mac/Desktop/iMac/z-find".  The symbols {} \; are needed after the word to search. See:
    man find
    man grep
    for cryptic details.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -type f -exec grep -bil 'pdisk' {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    Robert

  • How to hide 'Search' button from Search GUIBB?

    Hi All,
    I know we can configure search GUIBB to hide 'Search' button and 'Clear' button. But I have to dynamically control this property. Is there any solution to implement it?
    Thanks,

    As always, you are such a reliable source of help! :-)
    That robots.txt you mentioned...do what with that?  I mean, how does that tell it "dont index the images"? For that matter, there are tons of pages on the server I don't want being indexed yet either because they are half baked for later development.
    Thanks!
    Create the file, and upload it to the root directory.  It's as simple as that.  But you'll have to read the details on the google hits to see the exact syntax of the exclusions.
    Now - here's why this is happening....
    Somewhere, google has found a link to this URL -
    http://bluehippotravel.com/photos/destinations/TH/
    The bluehippotravel host has NOT disabled directory browsing.  When you browse to that URL, instead of getting a FORBIDDEN message like you should, you get a page listing the contents of that directory.  Google is indexing that page.  Ask your host to turn off directory browsing for that folder.

  • A search form with three search criterias

    I want to create a search form in Apex with three text boxes that would let us search with a lastName,firstName or a course Name. So i would have three text box regions where the user can enter any one of the search criterias and get a results
    the sql query that does the join is as
      select Student.Student_id, 
             Student.First_NAME, 
               Student.LAST_NAME,
             Student.Email1 as Primaryemail,
             Student.Email2 as SecondaryEmail,
             Student.Phone1 as MobileNumber, 
               Student.Phone2 as HomeNumber,
             Address.Street1 as Street ,
               Address.City as City,
               Address.State as State,
               Address.ZIP as Zip, 
               Course.PROVIDER_COURSE_ID as CourseID,
               Course.Course_Name as Course,
               Course.Credit_Hours as Credit_Hours,
               INSTITUTION.Name as InstName
      from Student Inner join Address on Student.ADDR_ID =  Address.ID
                   Inner Join Institution on Student.INST_ID = Institution.ID
                      Inner join Course on Course.INST_ID = Institution.IDand i want to incorporate my query into pl/sql example as below which is provide in apex examples as below where it searches for assignee and status. any ideas guys how i can do this or if there is simpler way to do this where the user can have three text boxes and search with their names or course name etc.
    declare
       c pls_integer := 0;
       l_detail varchar2(4000);
       i pls_integer;
       l pls_integer;
       l_max_rows    integer;
    begin
    l_max_rows := nvl(:P2_ROWS,10);
    if :P2_SEARCH is null
    and :P2_ASSIGNEE is null
    and :P2_STATUS is null then
       sys.htp.p('<p>'||
           apex_escape.html('Please enter at least one search condition.')||
           '</p>');
    else
      -- PUT YOUR QUERY HERE
      for c1 in (
      select id, project, task_name, start_date, end_date, status, assigned_to,
           cost, budget
      from EBA_DEMO_SEARCH_PROJECTS
      where (   instr(upper(assigned_to),upper(:P2_ASSIGNEE)) > 0
             or :P2_ASSIGNEE is null)
      and (   instr(upper(status),upper(:P2_STATUS)) > 0
           or :P2_STATUS is null)
      and (   instr(upper(project),upper(:P2_SEARCH)) > 0
           or instr(upper(task_name),upper(:P2_SEARCH)) > 0
           or instr(upper(status),upper(:P2_SEARCH)) > 0
           or instr(upper(assigned_to),upper(:P2_SEARCH)) > 0
           or :P2_SEARCH is null
      loop
        c := c + 1;
        if c = 1 then
           sys.htp.p('<ul class="sSearchResultsReport">');
        end if;
        sys.htp.p('<li>');
        sys.htp.prn('<span class="title">');
        -- DEFINE DRILL DOWN LINK HERE
        sys.htp.prn('<a href="'
          ||apex_util.prepare_url('f?p='||:APP_ID||':3:'||:APP_SESSION||
            ':::3:P3_ID:'||c1.id)||'">');
        -- ASSIGN PRIMAY ATTRIBUTE HERE, REFERENCE QUERY COLUMN
        l_detail := c1.project;
        i := instr(upper(l_detail),upper(:P2_SEARCH));
        if  i > 0 then
           l := length(:P2_SEARCH);
           l_detail := apex_escape.html(substr(l_detail,1,i-1))||
              '<span class="highlight">'||
              apex_escape.html(substr(l_detail,i,l))||'</span>'||
              apex_escape.html(substr(l_detail,i+l));
        end if;
        sys.htp.prn(l_detail);               
        sys.htp.prn('</a></span>');
        sys.htp.prn('<span class="description">');
        -- ASSIGN SECONDARY ATTRIBUTE HERE, REFERENCE QUERY COLUMN
        l_detail := c1.task_name;
        i := instr(upper(l_detail),upper(:P2_SEARCH));
        if  i > 0 then
           l := length(:P2_SEARCH);
           l_detail := apex_escape.html(substr(l_detail,1,i-1))||
              '<span class="highlight">'||
              apex_escape.html(substr(l_detail,i,l))||'</span>'||
              apex_escape.html(substr(l_detail,i+l));
        end if;
        sys.htp.prn(l_detail);
        sys.htp.prn('</span>');
        -- DEFINE ADDITIONAL QUERY COLUMNS FOR SEARCH BELOW
        sys.htp.p('<span class="type">');
        sys.htp.prn('Assigned to: ');
        sys.htp.prn(apex_escape.html(c1.assigned_to));
        sys.htp.prn('</span>');
        -- display additional column detail
        sys.htp.p('<br /><span class="type">');
        sys.htp.prn('Status: ');
        sys.htp.prn(apex_escape.html(c1.status));
        sys.htp.prn('</span>');
        sys.htp.prn('</li>');
        if c = l_max_rows then
           exit;
        end if;
      end loop;
      if c > 0 then
        sys.htp.p('</ul>');
        sys.htp.p('<p>'||c||' results found.</p>');
      else
        sys.htp.p('<p>No data found matching your search criteria.</p>');
      end if;
    end if;
    end;i tried to change the pl/sql to incorporate it into my apex application but i consistently get an error as pl/sql not defined.
    any help or a slight hint is very much appreciated
    thanks for looking and taking the time to read it through if u made it this far or even if u made it half way

    Thanks that worked and i got the procedure inside apex as well now i have to figure out how to make the search condition so that it will look for a like condition as well so the user can enter sam for samuel and still find the users
    declare
       c             pls_integer := 0;
       l_detail      varchar2(32767);
       i             pls_integer;
       l             pls_integer;
       l_max_rows    integer;
    begin
    l_max_rows := nvl(:P37_ROWS,10);
    if :P37_SEARCH is null
    and :P37_FirstName is null
    and :P37_LastName is null
    and :P37_Course_Name is null
    then
       sys.htp.p('<p>Please enter at least one search condition.</p>');
    else
      for c1 in (
    select
    /* SIMULATE A UNIQUE COLUMN */
             Student.Student_id || ',' || Course.Course_id as FAKE_PK,
    Student.Student_id , 
             Student.First_NAME as FirstName, 
               Student.LAST_NAME as LastName,
             Student.Email1 as Primaryemail,
             Student.Email2 as SecondaryEmail,
             Student.Phone1 as MobileNumber, 
               Student.Phone2 as HomeNumber,
             Address.Street1 as Street ,
               Address.City as City,
               Address.State as State,
               Address.ZIP as Zip, 
               Course.PROVIDER_COURSE_ID as CourseID,
               Course.Course_Name as Course_Name,
               Course.Credit_Hours as Credit_Hours,
               INSTITUTION.Name as InstName
      from Student left join Address on Student.ADDR_ID =  Address.ID
                   left Join Institution on Student.INST_ID = Institution.ID
                    left join Course on Course.INST_ID = Institution.ID
      where ( instr(upper(First_Name),upper(:P37_FirstName)) > 0
             or :P37_FirstName is null)
       and
              (instr(upper(Last_Name),upper(:P37_LastName)) > 0
             or :P37_LastName is null)
       and
                (instr(upper(Course_Name),upper(:P37_Course)) > 0
             or :P37_Course is null)
       and ( 
             instr(upper(First_Name),upper(:P37_SEARCH)) > 0
           or instr(upper(Last_Name),upper(:P37_SEARCH)) > 0
           or instr(upper(Course_Name),upper(:P37_SEARCH)) > 0
           or :P37_SEARCH is null
      order by Course_Name desc
      loop
        c := c + 1;
        if c = 1 then
           sys.htp.p('<ul class="sSearchResultsReport">');
        end if;
        sys.htp.p('<li>');
        l_detail := c1.Course_Name;
        i := instr(upper(l_detail),upper(:P37_SEARCH));
        if  i > 0 then
           l := length(:P37_SEARCH);
           l_detail := apex_escape.html(substr(l_detail,1,i-1))||
              '<span class="highlight">'||
              apex_escape.html(substr(l_detail,i,l))||'</span>'||
              apex_escape.html(substr(l_detail,i+l));
        end if;
        sys.htp.prn(l_detail);               
        sys.htp.prn('</a></span>');
        sys.htp.prn('<span class="description">');
        l_detail := c1.FirstName;
        i := instr(upper(l_detail),upper(:P37_SEARCH));
        if  i > 0 then
           l := length(:P37_SEARCH);
           l_detail := apex_escape.html(substr(l_detail,1,i-1))||
              '<span class="highlight">'||
              apex_escape.html(substr(l_detail,i,l))||'</span>'||
              apex_escape.html(substr(l_detail,i+l));
        end if;
        sys.htp.prn(l_detail);
        sys.htp.prn('</span>');
        sys.htp.prn('<span class="type">Incident: ');
        sys.htp.prn(apex_escape.html(c1.FirstName));
        sys.htp.prn('</span>');
        sys.htp.p('</li>');
        if c = l_max_rows then
           exit;
        end if;
      end loop;
      if c > 0 then
        sys.htp.p('</ul>');
        sys.htp.p('<p>'||c||' results found.</p>');
      else
        sys.htp.p('<p>No search results.</p>');
      end if;
    end if;
    end;  Edited by: user13133295 on Jun 4, 2013 1:59 PM

  • Can we default the Saved Search in SEARCH GUIBB

    Dear All,
    I implemented Search GUIBB and the Saved Search also appears perfectly.
    I wanted additionaly to default one of the saved search for my user-ID. Is it possible?
    Thanks,
    Sandeep

    try this
    WITH t1 AS (SELECT 'ABC DEF X' str1 FROM DUAL),
         t2 AS (SELECT 'X DEF ABC' str2 FROM DUAL),
         t AS
            (    SELECT REGEXP_SUBSTR (str1,
                                       '[^ ]+',
                                       1,
                                       ROWNUM)
                           str1
                   FROM t1
             CONNECT BY --ROWNUM <= REGEXP_COUNT (str1, CHR (32)) + 1),
                        ROWNUM <=
                           (LENGTH (str1) - LENGTH (REPLACE (str1, ' ', '')) + 1)),
         tt AS
            (    SELECT REGEXP_SUBSTR (str2,
                                       '[^ ]+',
                                       1,
                                       ROWNUM)
                           str2
                   FROM t2
             CONNECT BY --ROWNUM <= REGEXP_COUNT (str2, CHR (32)) + 1),
                        ROWNUM <=
                           (LENGTH (str2) - LENGTH (REPLACE (str2, ' ', '')) + 1)),
         tmp AS
            (SELECT *
               FROM (SELECT * FROM tt
                     MINUS
                     SELECT * FROM t)
             UNION ALL
             (SELECT *
                FROM (SELECT * FROM t
                      MINUS
                      SELECT * FROM tt)))
    SELECT *
      FROM DUAL
    WHERE 0 = (SELECT COUNT (1) FROM tmp)

  • Any application with Content search capability

    Hi
    Any application is available on oracle apex with content search . Example : Document library (http://apex.oracle.com/pls/otn/f?p=32452:1 ) is similar application but doesnot have content search capacity . Please let us know any built in applications with content search .

    Search contents searches only file names .Why do you say this? The Documents tab in the [Document Library preview|http://apex.oracle.com/pls/otn/f?p=32452:60] displays page 60 of the application, showing the sample document readme.txt. Download and view this file: note that it contains the words "Application Express", but not the word "zebra".
    Type "Application Express" into the 'Search contents' box: readme.txt appears in the search results.
    Type "zebra" into the 'Search contents' box: readme.txt does not appear in the search results.
    The filename of this document contains neither "Application Express" nor "zebra".
    The source for this report (Region 30 Documents) is a SQL query:
    select score(1), ...
      from doclib_documents
    where contains( contents, :P60_CLEAN_SEARCH, 1) > 0
       and revision_of = 0
       and deleted_as_of = to_date('04-22-2004','MM-DD-YYYY')
    score(1) and contains( contents, :P60_CLEAN_SEARCH, 1) are Oracle Text operators: the application is clearly intended to provide text searches, and is shown to work when properly installed and configured.
    If this is not working for you locally, then check that installation of the supporting objects was completely successful (Application > Supporting Objects > Tasks: View Install Summary), and that the job created by the sync_index.sql installation script is running successfully.
    If you are new to Oracle Text, refer to the Text Application Developer's Guide for your database version and [get the basics working|http://download.oracle.com/docs/cd/E11882_01/text.112/e10945/quicktour.htm#i1008362] before trying to troubleshoot the Document Library app.
    You'll find the [Text forum|http://forums.oracle.com/forums/forum.jspa?forumID=71] more helpful if any issues are purely Oracle Text related.
    It's also possible that there could be issues depending on the types of document or languages involved. Try things out with plain ASCII text files and English content to start with to confirm that things are working. If they are with these, but not the documents you are interested in, then try the Text forum for more help.

  • In a Google search, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off th

    In a Google search within a Firefox session, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off this highlighting?

    Try to clear the Google cookies and redo those Google options.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Am using Firefox 5.0.1, any new tabs open with a search engine for imvu and when I go to about:config there is no entry for browser.newtab.url that I can modify

    I am using Firefox 5.0.1.4205 with Windows 7 Home Premium Service pack1. My new tabs in Firefox open with a search engine for imvu rather than google as I would prefer. I can't find an answer to my problem so far because when I try the recommended use of about:config and finding browser.newtab.url; it is not listed. Is this version of firefox to old to have that, or is it just missing? What can I do to get my new tabs to open with a Google search engine. This is on my 80 year old father's computer so he is not likely to upgrade browsers as I would on my home computer. Thank you for any help with this.

    The new tab page (about:newtab) wasn't introduced until a later version of Firefox (iirc, ''Firefox 10'') , which is why that pref can't be found.
    Sounds like your father picked up some Malware.
    Maybe this is what you're dealing with.
    http://www.shouldiremoveit.com/IMVU-Inc-Toolbar-34367-program.aspx
    Also, I see a number of Plugins listed to bee concerned about.
    Toolbar Plugin
    MindSpark Toolbar Platform Plugin Stub for 32-bit Windows
    WildTangent Games App V2 Presence Detector

  • The problem is with Google search in FF 5.0.

    The problem is with Google search in FF 5.0. Everything was fine until I upgraded to FF 5.0. Now, I enter a text and search, I get results, no problem so far. Then, I want to edit the search text slightly to fine tune, so I click in the search bar, that is it, the original search text that was still there in the bar just disappears. I tried this with IE, it works fine, problem is only with FF. Any suggestions?

    The Operator said i go to the "premium" site, on which a sepparate billing of traffic,several times more expensive than usual. it happens only when i use google search in safari. When i open the same site in the browser without using google search, traffic is billed according to tariff

  • When the initial page is closed and new tab is opened. How can I get back my google dropdown with previous searches.

    When I double click my desktop icon Mozilla Firefox. It comes back with Firefox Start screen with google search. When you go to the rightside of the text box and left click. Its gives you a dropdown window with previous searches. When the google toolbar is on, if you click on a new search. It does give a google search text box, but the downdrop searches previously done is blank or no entry on the dropdown. Before once you click the new google search, the dropdown window is populated with previous searches. Its important for me to see previous searches I did. I hope you can help me. I appreciate your time. Thank you. Shurthg.

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox

Maybe you are looking for

  • Asset Accounting in Upgrade from 4.5B to ECC 6.0 system.

    Hello We have recently upgraded from 4.5B system to ECC 6.0 system.This is a Technical Upgrade. We are getting errors when we post through transaction ASKB-Periodic Asset Posting. The errors are that Documents cannot be posted as the GL Account for t

  • Guide me to override the af:query component QueryListener property

    Hi All, If any one have sample application to override the af:query component query lisenere proprety, please share. I have the following requirement in search criteria. Field 1 Field 2 Field 3 Field 4 Field 5 Find Button Result section Validations o

  • Recursion Problem with custom realms built on EJB's

    Hello there, We have developed a web-app which uses authentication on a derivative of RDBMSRealm, except that instead of RDBMSDelegate we have created our 'EJBDelegate' to do all of our database dirtywork. Unfortunately there appears to be a problem

  • How to fix the enter key not opening sites in the URL box?

    Ever since the update to 10.0.1 pressing enter to open a site in the URL entry box doesn't work. Anyone know why? I have to click the arrow key to the side of the URL pannel, and enter key works as normally everywhere. It is INCREDIBLY annoying.

  • Problem replacing K8n Neo4 Platinum

    Hello everybody, this is my first post here, I am a new member from Italy. I have this problem: I own a K8n Neo4 Platinum and when I changed the VGA from Nvidia 6600 GT to 8600 GTS the Mobo doesn't post anymore.. The usb diagnostig bracket says it's