Search Field Clears

Hello--
When I type in for examples, "The Beatles", into the iTunes search bar, and I minimize iTunes, if I click the "next track" button on the minimized view, or if I click next track on my apple keyboard, the iTunes search bar clears (and it will go to a different artist if on shuffle). This does not happen when iTunes is not minimized.
any ideas?

Mordak wrote:
minimized as in the yellow minimized button which changes to the mini player. only fix at the moment is selecting an artist in the artist column browser
AHA!! That explains it. Use the Mini Player (Shift/Cmd/M) which leaves a mini-player window open. You can choose to leave that window on top or not (iTunes/Preferences/Advanced/Keep Mini Player on top of all other windows).
Tracy

Similar Messages

  • When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

  • Clearing search field history.....?

    Hello.
    When I type in the google search field, many other searches come up automatically as I type. I guess there's a history of previous searches....?
    Is it an auto fill thing?
    Or a cache thing?
    Anyway, the list of previous searches has gotten quite huge, and I'm wondering how I can clear the memory so that when I type in the search field, it won't try and guess what I'm searching, and it won't complete my text.
    thanks
    alex

    Hi Alex,
    If you're referring to the actual text search box on the Google homepage (rather than the Google search box on the Safari menu bar) then you can clear that out via the AutoFill preferences.
    Safari preferences -> AutoFill -> Other forms -> (Edit...)

  • Controlling within mini-player clears search field - annoying bug

    I've come across this annoying (repeatable) bug with iTunes 9... when I listen to music, I like to put an artist's name in the search field, then just let it play on shuffle from those search results. Typically no big deal, however, if I switch to the mini-player, then use any of the controls (play, forward, back) on the mini-player, the search field gets cleared out and it's just playing through the entire library. It's annoying to have to re-enter what was in the search field when it clears like this.
    Does anyone else have this issue? Is there a way to fix it? So far I'm just being careful not to touch the controls in the mini-player while listening to a selection narrowed down from the library with the search field.

    wishnias wrote:
    Is there a way to fix it? So far I'm just being careful not to touch the controls in the mini-player while listening to a selection narrowed down from the library with the search field.
    As a work-around, there is a freeware program that allows full iTunes control from the OS X menu bar which will avoid the need for using the mini player. You can close the iTunes window while leaving the program running and your search will remain intact. Get it here: http://www.apple.com/downloads/macosx/ipod_itunes/youcontroltunes.html

  • Advanced search has it fields cleared upon searching

    Using the advanced.aspx the entered values are all cleared upon searching.
    Im lead to beleve that this is by design behaviour and that populating the search-fileds in the resultpage is for everyone to solve themseleves.
    Could this be true?

    I've since learned that default behaviour is the strange
    1. return to simple search
    2. And fill the search field with the parameters.
    3. Let the user click the "advanced search" link to get to advanced search again with the filled values posted and build the form again

  • Search Field in Yahoo

    Not too sure if posting this here is correct, but here goes. Might seem dumb but, when I begin to type a word in the search field for Yahoo, a drop down menu of history searches opens. Convenient but how can I clear this??
    Thanks in advance,
    Paul
    14 iBook G4/1.33   Mac OS X (10.4.5)   G4 iMac

    Paul,
    I am not sure where this information is retained for Yahoo, but try editing the "Other forms" selection in Safari.
    Go to Safari>Preferences...>AutoFill>Other forms (Edit...) Select and remove appropriate form.
    If that is unsuccessful, you could also go to Safari>Preferences...>Security>(Show Cookies) Select and remove appropriate cookies.
    ;~)

  • Copy/Paste doesn't work in Address Bar and Smart Search Field

    Yeah, that's true. Say, I copied a sentence from a site. When I try to paste that sentence into 'Smart Search Field' and press 'Enter'. It doesn't work! Same thing happens when I try to paste a URL into Address Bar/Smart Address Field. What's going on? Anyone else having this problem?
    PS - In case you're wondering what 'Smart Search Field' is, here's a pic http://images.apple.com/safari/images/features-search-smartsearch-20090528.jpg

    Yes, I've got that too. It's not clear why it hits some people and not others. Haven't seen any commonalities among the reports that I can tell at the moment.
    Some workarounds discussed in this thread:
    http://discussions.apple.com/thread.jspa?threadID=2564687&tstart=0

  • 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/selection jumps to that particular item in list. i don't want to clear the list just go to the item that matches.
    i would like it to be predictive so if i have these entries:
    samson
    seek
    seether
    south
    and the user types "s" in the search box to the first "s" entry in the list (samson) is selected, if they type "se" the selection jumps to the first entry with "se" in it (seek) if they type "seet" the selection jumps to "seether" and so on.
    i have absolutely no idea how to do it, but more importantly...is this possible?
    i have attached the sample files that i have been working on.
    thanks in advance

    You need the lowercase. the keyCode of the keybpardevent returns the key's uppercase charcode. So the A-key allways returns 65. Therefore convert keycode to char and to lowercase before appending after what's allready there in the field.
    To have the user not have to type the words with proper casing, convert the label to lowercase before doing the indexOf search.
    import fl.data.DataProvider;
    //-------declare vars----------------
    var firstClick:Boolean=true;
    var loader:URLLoader = new URLLoader();
    var dp:DataProvider = new DataProvider();
    var xml:XML;
    //-------add listeners---------------
    loader.addEventListener(Event.COMPLETE,onLoaded);
    glossary.lb.addEventListener(Event.CHANGE, itemChange);
    glossary.search_bar.addEventListener( FocusEvent.FOCUS_IN, clearbox );
    glossary.search_bar.addEventListener( KeyboardEvent.KEY_DOWN, onSearch );
    //-------functions--------------------
    //clears the input field when the user clicks into it for the first time
    //eliminates the need for them to highlight and delete the "type search here" text
    function clearbox( e:FocusEvent ):void {
        if (firstClick==true) {
            glossary.search_bar.text="";
            firstClick=false;
    //populate description box with definition when item is selected
    function itemChange(e:Event):void {
        glossary.ta.text=glossary.lb.selectedItem.data;
    //creates the data provider for the list based off external XML file
    //arranges the items in alphabetical order
    //populates the list
    function onLoaded(e:Event):void {
        xml=new XML(e.target.data);
        var il:XMLList=xml.channel.item;
        for (var i:uint=0; i<il.length(); i++) {
            dp.addItem({data:il.description.text()[i],label:il.title.text()[i]});
        dp.sortOn("label");
        glossary.lb.dataProvider=dp;
        glossary.ta.text="Please make a selection below";
    //dynamic search engine to locate items in the list
    function onSearch( e:KeyboardEvent ):void {
        trace( e.keyCode );
        var input:String = ( glossary.search_bar.text + String.fromCharCode( e.keyCode ).toLowerCase() );
        trace( input )
        for (var i:uint = 0; i < dp.length; i++) {
            if (dp.getItemAt(i).label.toLowerCase().indexOf(input)==0) {
                glossary.lb.selectedIndex=i;
                glossary.ta.text=glossary.lb.selectedItem.data;
                break;
            } else {
                glossary.ta.text="no matching searches";
    //-------load the xml--------------
    loader.load(new URLRequest("xml/movie1.xml"));

  • Website search-fields

    Hello - and Happy New Year!
    I'm currently using Firefox as my main browser for my iBook.
    There's probably a flash word or phrase for this but... when I type into a search field it anticipates what I want to type based on my previous searches.
    Sometimes this is useful, sometimes there are things written there which, for security or privacy, I don't want to appear.
    I don't really want to clear the entire cache of searches (though I shall if that is the only option) but i would like to delete certain things.
    Is there a way of doing this?
    Many thanks!

    You can't edit it but you can turn the suggestion feature off.
    In Firefox's address bar type about:config and press return. In the search box at the top of the window that opens type search. Double click on browser.search.suggest.enabled and its value will change from True to False, disabling the feature.
    John

  • IOS 5.1.1 Music app aborts after two characters entered in search field if Home Sharing in use.

    The iOS 5.1.1 Music app search function works fine on my iPad 2 as long as the library being searched is resident on the iPad.
    When Home Sharing from my iMac’s iTunes library is used, however, the Music app aborts without explanation after two characters are entered in the search field.
    The behavior is always as expected after the first character is entered, but an abort always occurs after the second.
    I have tried restarting iTunes on my iMac, and I have done a hard reset on my iPad, but the behavior remains the same.
    This is not a minor problem from the user’s perspective, because unless the iTunes library being accessed is very small, it is very hard to find music from the information shown by the Music app on the iPad screen; it would be even worse for an iPhone or iPod touch. Without the search function working on iOS Music app, Home Sharing is of very limited use for me.
    In case it is relevant, here is fuller information about the environment:
    iMac 27" 2.93 GHz i7 12 GB RAM (Approx. 10 GB free or inactive at time of problem)
    OS X 10.7.4
    iTunes 10.6.3
    iPad 2G 16 GB Wi-Fi only
    iOS 5.1.1
    Airport Extreme 5G v 7.6.1
    Airport Express  802.11n v. 7.6.1 extending network
    Has anyone else experienced a problem like this?
    Does anyone have any suggestions?
    Thanks

    Spoke to a "senior advisor" in the Apple TV department.  Her suggestions:  change channel in router to minimize/eliminate wifi interference from other users; move router away from any metal - i.e., DVD player, phone modem, etc.; keep router away from wireless 2.4 gH phones, which are "notorious" for crashing wifi routers.  So she confirms that the problem is one of connection to router suddenly dropping out.
    My own feeling is that none of these fixes will do the trick, because it seems pretty clear that there is a hardware component here - the timing of the drops seems like an overheating issue.  It takes 35-40 minutes for the box to warm up enough for the first drop; then each consecutive drop happens quicker than the one before, as it heats up more.  Each time it drops, its tiny brain gets a little more scrambled; last night it finally wouldn't start up again at all.
    My suggestion is that everyone who is experiencing this problem, please call Apple tech support and ask to speak to a senior advisor in the Apple TV department.  Make them aware of this problem!

  • Search field in App Store [iPad 4]

    Hi,
    I might have identified a software defect on my iPad after upgrading to iOS 7. I'm not sure if this is a feature of App Store or a glitch. Below are the steps to reproduce the behaviour.
    Steps:
    1. Start the App Store app on your iPad
    2. Touch the search field, enter any word(s) and hit Enter.
    3. Try clearing the search field using the (x) sign.
    4. Switch to another tab within App Store
    5. Repeat steps 2-4
    Expected / actual result:
    1. App Store is started -> OK
    2. App Store lists the apps matching your search string -> OK
    3. Text field is cleared -> OK
    4. Text field contains the latest search string -> NOK
    5. The old search string is cleared but instead the new search string is displayed even after clearing the text field and switching to another tab within App Store. -> NOK
    Conclusion:
    It seems that the search string is stored permanently until a new search string is entered. It doesn't matter how many times you clear the search field. The latest string is always there. Is this the expected behaviour? Because when I perform these steps on my iPhone 4 using iOS 7 this effect is not reproduceable.
    Best regards,
    Anton

    As promised earlier, I am posting back with my findings and have figured out how to clear this field. This was successful on both the iPad 2 and "The New iPad" 3rd gen.
    I do not know if this is a permanent fix and am not going to go out of my way to duplicate the bug. If I search an app from the app store on the iPad, I will avoid doing so from the Purchased or Updates tabs at all costs and do so from either Featured, Top Charts, or Explore - none of which seem to be bugged.
    Under Settings/General/Reset: Reset All Settings.
    You will have to log back in to iMessage and Facetime which seemed a little quirky. You will also need to set your wifi back up so if you have a static IP set, take note of your settings first. There are some general Mail, Contacts, Calendars settings that will need to be set back the way you prefer. It may remove Passcode lock. If you use Reduced Motion under Accessibility, that will need to be turned on again. There could be some other settings as well but those are the main ones. All of your data, accounts, and apps are secure and will not be changed.
    Your settings will reset, your device will power cycle, and the bugged search box in the app store on the Purchased and Updates tabs will be cleared once again.
    Please let me know how this works for you guys and if you dare to duplicate the issue, what triggers it? Searching and installing an app? Simply searching for an app? Perhaps the issue is gone under the new iOS and can no longer be duplicated?
    I don't know, but for you Type A's out there, enjoy the clear search bar!

  • Search field stays highlighted, can't use spacebar, etc... Help!

    This is so very annoying.
    A lot of the time I can't use the space bar to start or stop tracks because the highlight, (blue), stays locked on the search filed.
    No matter where I click in iTunes, (tracks playlists, etc.), the highlight stays there...
    If I do a search it stays there.  If after a search I choose a track I want, and hit the spacebar, the search clears and is replaced by a space, (just as one might expect.) This has been happening, on and off for a while, and with different versions of Lion. (Pre 10.7.2, etc.)
    I say, "on and off," because sometimes when I relaunch iTunes, the highlight will no longer be locked on the search filed, and I can use the spacebar for play/pause.
    But then inexplicably it comes back to this same state of keeping the search field highlighted no matter what I do.
    Btw, this state may also continue, even after a restart, though typically if I launch and quit enough times it will go away.
    However, once highlighted, it will never go away while iTunes is open.
    Any ideas?

    I have same problem! Anyone know how to fix this?

  • UME user search with multiple search fields (AND / OR search)

    Hi,
    I'm struggling with a UME user search problem. I have multiple search fields: lastname, firstname, department
    Searching in this fields is working with the default IPrincipalSearchFilter.SEARCHMETHOD_AND (default)
    <a href="http://help.sap.com/javadocs/NW04/current/um/com/sap/security/api/IPrincipalSearchFilter.html#setSearchMethod(int)">JavaDocs SearchMethod_AND</a>
    Now I would like to add an additional search field for searching in telephone, cellphone as well. BUT searching for a phone number with searching for one of the other fields should not be a AND search. Is this possible?
    Here is the actual non-working code:
         Vector retVector = new Vector();
         //get Userdata with IUserFactory
         IResourceFactory resourceFactory = ResourceFactory.getInstance();
         IURLGeneratorService urlGen = (IURLGeneratorService)resourceFactory.getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
         IUserFactory userFac = UMFactory.getUserFactory();                    
         IUserSearchFilter srcFilter = null;          
         try
              srcFilter = userFac.getUserSearchFilter();
         } catch (UMException e)
              // TODO Auto-generated catch block
              e.printStackTrace();
         if(lastName.length() > 0)
              srcFilter.setLastName(lastName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(firstName.length() > 0)
              srcFilter.setFirstName(firstName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(department.length() > 0)
              srcFilter.setDepartment(department + "*", ISearchAttribute.LIKE_OPERATOR, false);
    //Here I need help!!!!!!! Please advice!!!
         if(telephone.length() > 0)
              srcFilter.setTelephone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
              srcFilter.setCellPhone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
         //if(mobil.length() > 0)
         //     srcFilter.setCellPhone("*" + mobil, ISearchAttribute.LIKE_OPERATOR, false);
         //Set maxium value for Result and thus limit the static variable SIZE_LIMIT_EXCEEDED
         //This method can only be used, if only one search attribute is specified -> thanks SAP
         if(srcFilter.getElementSize() <= 1)
              srcFilter.setMaxSearchResultSize(300);
         ISearchResult srcResult = null;
         try
              srcResult = userFac.searchUsers(srcFilter);
         } catch (UMException e1)
              // TODO Auto-generated catch block
              e1.printStackTrace();
    Thanks for any help...
    Stefan

    Hello,
    I could still need some help. Is there no one who could give me a tip? Could I explain my problem clearly enough or do you need some more information about my problem?
    Or is the search topic with searchFilter not a very common used thing?
    Is there a possibility to do a search in the received search result? Can anyone explain how this would work?
    Any ideas are welcome.
    Regards,
    Stefan

  • Delete Search Field

    Is there a key board shortcut do delete the contents of the Search field in Mail? I like to hit command-1 to go to the main mail but if there is something in the search field I cannot do that unless I hit the little X in the field to delete it. Entourage allows this by using the same Command-1. But I like Mail!
    Thanks!

    Well, I'm in Tampa until the first of May. Now I'm in Vancouver until the first week of September. But, yes, my permanent residence is in Tampa. I'm a retired prof from USF.
    As for your problem I've tried this on my computer and it works as expected regardless of what is in the search field. So I can't really help you. There is no standard shortcut to clear the search field, I'm afraid. Here's a list of all the shortcuts: Mac OS X keyboard shortcuts.
    If the problem cannot be replicated then that would tend to indicate there's something wrong on your computer - perhaps only with the Mail application or with your system installation. I'd suggest you might start by creating a new user account. Log out of your account then log into the new one. See if this problem continues.

  • Adding new search field in IC web client

    Hi experts,
    I need to add two search fields search term1 and search term2 in IC web client for the view 'search for Employees'  as that is present in GUI with transaction BP.Please send me step by step details how to do that.
    Thanks in advance
    Koustav

    Hi Koustav,
    If you have added an append to the BuilEmpSearch BOL object, than the parameters are added to the query_service automaticaly.
    Here is an example of the eh_OnSearch method for the search on business partners. (B2C scenario). The principle is the same. You can add you pre-search checks here. Don't fire the query before all required data is in the query_search object. (standard all parameters from the BuilEmpSearch object are in there).
    METHOD eh_onsearch .
    * 2. Business Partner Search
        lv_wrapper = typed_context->SearchCustomer->get_collection_wrapper( ).
        query_service ?= lv_wrapper->get_current( ).
        lv_country =
              query_service->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'COUNTRY' ).
        IF NOT lv_country IS INITIAL.
          CALL METHOD query_service->if_bol_bo_property_access~set_property
            EXPORTING
              iv_attr_name = 'COUNTRY_FOR_TEL'
              iv_value     = lv_country.
        ENDIF.
    * MVNI(EX00885)21022006: Begin of Insert
        lv_firstname =
              query_service->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'MC_NAME2' ).
        lv_lastname =
              query_service->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'MC_NAME1' ).
        lv_insz =
              query_service->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'ZZINSZ' ).
        lv_birthdate =
              query_service->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING( 'ZBIRTHDATE' ).
        replace all occurrences of '.' in lv_insz with ''.
        replace all occurrences of '-' in lv_insz with ''.
        condense lv_insz no-gaps.
    * MVNI(EX00885)21022006: End of Insert
    *     check customizing for role
          IF NOT ls_profile-customer_role IS INITIAL.
            CALL METHOD query_service->if_bol_bo_property_access~set_property
              EXPORTING
                iv_attr_name = 'ROLE'
                iv_value     = ls_profile-customer_role.
          ENDIF.
    *     limit search to maximum number of hits.
          CALL METHOD query_service->if_bol_bo_property_access~set_property
            EXPORTING
              iv_attr_name = 'MAX_HIT'
              iv_value     = lv_bupacontroller->max_hits.
    *     fire query
            TRY.
                bo_col        ?= query_service->get_query_result( ).
              CATCH cx_sy_ref_is_initial.
            ENDTRY.
            entity_col ?= bo_col.
    * set result into context
      typed_context->customers->set_collection( entity_col ).
    * navigate
      IF entity_col->if_bol_bo_col~size( )  EQ 1.
        op_showbupa( ).
      ELSEIF entity_col->if_bol_bo_col~size( ) GT 1.
        op_listcustomers( ).
        if entity_col->if_bol_bo_col~size( ) eq lv_bupacontroller->max_hits.
          lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).
          lv_max_hit = lv_bupacontroller->MAX_HITS .
          lv_msgsrv->add_message( iv_msg_type   = 'I'
                                iv_msg_id     = 'CRM_IC_APPL_UI_BPID'
                                iv_msg_number = '009'
                                IV_MSG_V1      = lv_max_hit  ).
        endif.
      ELSE.
        lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).
        lv_msgsrv->add_message( iv_msg_type   = 'I'
                              iv_msg_id     = 'CRM_IC_APPL_UI_BPID'
                              iv_msg_number = '011' ).
    *   clear result list
        view_manager->navigate(
                   SOURCE_REP_VIEW = rep_view
                   OUTBOUND_PLUG   = 'showEmpty' ).
      ENDIF.
    ENDMETHOD.
    In the class CL_BUIL_EMP (which has the superclass CL_BUIL_HEADER) you need to do a repair (changing of a standard SAP class) of method get_result_table.
    What I have done is I've read the parameters that were added (automatically) to the query_service and added them to my FM to do the search.
    You also need to take a copy of the BUPA_SEARCH_2 FM and add the parameters as importing parameters. Now you can add your search logic to the FM.
    Here is the coding of the GET_RESULTS_TABLE:
    METHOD get_result_table.
    *    CHANGES BY MVNI ON 03/07/2007.
    *    MARKER: MVNI(EX00885)03072007
    *    REASON: SPAU Upgrade 5.0.
    *    CHANGES BY MVNI ON 12/02/2008.
    *    MARKER: MVNI(EX00885)12022008
    *    REASON: CLM
      DATA:   ls_header_search TYPE crmst_header_search_buil,
              lv_mc_name1      TYPE bu_mcname1,
              lv_mc_name2      TYPE bu_mcname2,
              ls_address       TYPE bupa_addr_search,
              ls_fax_data      TYPE bapibus1006_fax_data,
              lt_return        TYPE TABLE OF bapiret2,
              lv_xaddrversion  TYPE abap_bool,
              lv_no_hits       TYPE i.
      DATA:   lt_but100        TYPE TABLE OF but100.
      DATA:   lv_role_category TYPE          bu_role.
      FIELD-SYMBOLS: <fs_result> LIKE LINE OF et_bupa_search_result.
    * MVNI(EX00885)03072007: Begin of Insert
      DATA: iv_birthdate               TYPE bu_birthdt,
            iv_insz                    TYPE ZBU_00000000,
            lv_insz(15)                TYPE c,
            lv_bednr(15)               TYPE c,
            lv_vestnr(15)              TYPE c,
            ls_parameters TYPE crmt_name_value_pair.
    * MVNI(EX00885)03072007: End of Insert
    * MVNI(EX00885)03072007: Begin of Insert
      CONSTANTS: C_IDENTIFICATIONTYPE TYPE BU_ID_TYPE VALUE 'ZINSZ'.
    * MVNI(EX00885)03072007: End of Insert
    * define structure we use for input parameters
      MOVE-CORRESPONDING is_parameters TO ls_header_search.
      MOVE-CORRESPONDING is_parameters TO ls_address.
      MOVE-CORRESPONDING is_parameters TO ls_fax_data.
      IF ls_header_search-fax IS NOT INITIAL.
        IF ls_fax_data-country_for_fax IS NOT INITIAL.
          ls_fax_data-fax_no = ls_header_search-fax.
        ELSE.
          ls_fax_data-fax_no = ls_header_search-fax.
          ls_fax_data-country_for_fax = ls_header_search-country.
        ENDIF.
      ENDIF.
      lv_mc_name1 = ls_header_search-mc_name1.
      lv_mc_name2 = ls_header_search-mc_name2.
    ** MVNI(EX00885)03072007: Begin of Replace
    *  LOOP AT is_parameters INTO ls_parameters.
    *  ENDLOOP.
    *        ls_parameters-name = 'BIRTHDATE'.
    *          MOVE   ls_parameters-value TO iv_birthdate.
    *        ELSEIF ls_parameters-name = 'ZZINSZ'.
    *          MOVE   ls_parameters-value TO iv_insz.
    *        endif.
    * Remove all allowed non-digits
            lv_insz = ls_header_search-zzinsz.
            replace all occurrences of '.' in lv_insz with space.
            replace all occurrences of '-' in lv_insz with space.
            condense lv_insz no-gaps.
            ls_header_search-zzinsz = lv_insz.
    * MVNI(EX00885)03072007: End of Replace
    * MVNI(EX00885)12022008: Begin of insert
            lv_bednr = ls_header_search-zzbednr.
            replace all occurrences of '.' in lv_bednr with space.
            replace all occurrences of '-' in lv_bednr with space.
            condense lv_bednr no-gaps.
            ls_header_search-zzbednr = lv_bednr.
            lv_vestnr = ls_header_search-zzvestnr.
            replace all occurrences of '.' in lv_vestnr with space.
            replace all occurrences of '-' in lv_vestnr with space.
            condense lv_vestnr no-gaps.
            ls_header_search-zzvestnr = lv_vestnr.
    * MVNI(EX00885)12022008: End of insert
    * check if international address versions are active:
      IF address_version_id IS INITIAL.
        CALL METHOD check_for_int_add_versions( ).
      ENDIF.
    * check for customizing in IC WebClient
      IF ls_header_search-no_trex IS INITIAL.
        ls_header_search-no_trex = cl_crm_buil_services=>check_for_trex( ).
      ENDIF.
      CLASS crm_saf_get_settings DEFINITION LOAD.
      IF NOT address_version_id IS INITIAL.
        lv_xaddrversion = abap_true.
      ENDIF.
    * Optimization for combined search, Refer note 962864
      IF ls_address-country IS NOT INITIAL
         AND ls_address-city1 IS INITIAL
         AND ls_address-post_code1 IS INITIAL
         AND ls_address-region IS INITIAL
         AND ls_address-street IS INITIAL
         AND ls_address-house_num1 IS INITIAL.
        IF ls_header_search-telephone IS NOT INITIAL OR
           ls_header_search-email IS NOT INITIAL.
          CLEAR ls_address-country.
        ENDIF.
        IF ls_header_search-email IS NOT INITIAL.
          CLEAR ls_header_search-country_for_tel.
        ENDIF.
        IF ls_fax_data-fax_no IS INITIAL.
          CLEAR ls_fax_data-country_for_fax.
        ENDIF.
      ENDIF.
    * MVNI(EX00885)03072007: Begin of Replace
    *  CALL FUNCTION 'TREX_BUPA_SEARCH'
    *    EXPORTING
    *      iv_application     = crm_saf_get_settings=>gc_app_name_bp
    *      iv_telephone       = ls_header_search-telephone
    *      iv_email           = ls_header_search-email
    *      iv_url             = ls_header_search-url
    *      is_address         = ls_address
    *      iv_mc_name1        = lv_mc_name1
    *      iv_mc_name2        = lv_mc_name2
    *      iv_fax_data        = ls_fax_data
    *      iv_partner         = ls_header_search-partner
    *      iv_partnerrole     = ls_header_search-role
    *      iv_country_for_tel = ls_header_search-country_for_tel
    *      iv_category        = ls_header_search-category
    *      iv_max_partners    = ls_header_search-max_hit
    *      iv_xaddrversion    = lv_xaddrversion
    *      iv_not_trex        = ls_header_search-no_trex
    *    TABLES
    *      et_search_result   = et_bupa_search_result
    *      et_return          = lt_return.
    * MVNI(EX00885)12022008: Begin of insert
       CALL FUNCTION 'ZBUPA_SEARCH_2'
         EXPORTING
           IV_TELEPHONE                 = ls_header_search-telephone
           IV_EMAIL                     = ls_header_search-email
           IV_URL                       = ls_header_search-url
           IS_ADDRESS                   = ls_address
           IV_MC_NAME1                  = lv_mc_name1
           IV_MC_NAME2                  = lv_mc_name2
           IV_PARTNER                   = ls_header_search-partner
           IV_PARTNERROLE               = ls_header_search-role
    *   IV_X_ALL_PARTNERROLES        =
    *   IV_PARTNERROLE               =
    *   IV_SORT1                     =
    *   IV_SORT2                     =
    *   IV_COUNTRY_FOR_TEL           =
    *   IV_CATEGORY                  =
           IV_FAX_DATA                  = ls_fax_data
           IV_XADDRVERSION              = lv_xaddrversion
           IV_MAX_PARTNERS              = ls_header_search-max_hit
    *   IV_NATION_VERS               =
    *   IV_OLD_ROLE_PROCESS          =
    *   IV_NO_SEARCH_FOR_CONTP       =
    *   IV_VALID_DATE                = SY-DATLO
    *   IV_TIME_INDEPENDENT          =
           IV_RRNR                      = ls_header_search-zzinsz
           IV_BIRTHDATE                 = ls_header_search-zbirthdate
           IV_BEDNR                     = ls_header_search-zzbednr
           IV_VESTNR                    = ls_header_search-zzvestnr
         TABLES
           ET_SEARCH_RESULT             = et_bupa_search_result
           ET_RETURN                    = lt_return.
    * MVNI(EX00885)12022008: End of insert
    * MVNI(EX00885)12022008: Begin of delete
    *    CALL FUNCTION 'ZBUPA_SEARCH'
    *     EXPORTING
    *       IV_TELEPHONE                 = ls_header_search-telephone
    *       IV_EMAIL                     = ls_header_search-email
    *       IV_URL                       = ls_header_search-url
    *       IS_ADDRESS                   = ls_address
    *       IV_MC_NAME1                  = lv_mc_name1
    *       IV_MC_NAME2                  = lv_mc_name2
    *       IV_PARTNER                   = ls_header_search-partner
    *       IV_PARTNERROLE               = ls_header_search-role
    *       IV_SORT1                     =
    *       IV_SORT2                     =
    *       IV_COUNTRY_FOR_TEL           =
    *       IV_CATEGORY                  =
    *       IV_FAX_DATA                  = ls_fax_data
    *       IV_XADDRVERSION              = 'X'
    *       IV_MAX_PARTNERS              = '50'
    *       IV_NATION_VERS               =
    *       IV_NO_SEARCH_FOR_CONTP       =
    *       IV_BIRTHDATE                 = ls_header_search-zbirthdate
    *       IV_INSZ                      = ls_header_search-zzinsz
    *     TABLES
    *       ET_SEARCH_RESULT             = et_bupa_search_result
    *       ET_RETURN                    = lt_return.
    * MVNI(EX00885)03072007: End of Replace
    * MVNI(EX00885)12022008: End of delete
      IF lt_return IS NOT INITIAL.
    * no error handling
      ENDIF.
    * filter out real employees if role is not 'Employee'
    * (and if category is not specified)
      IF NOT et_bupa_search_result[] IS INITIAL
         AND ls_header_search-category IS INITIAL
         AND NOT ls_header_search-role IS INITIAL.
    * function module has a buffer
        CALL FUNCTION 'BUCP_EMPLOYEE_ROLE_GET'
          IMPORTING
            e_employee_role = lv_role_category.
        IF NOT ls_header_search-role EQ lv_role_category.
          SELECT * FROM but100 INTO TABLE lt_but100
                               FOR ALL ENTRIES IN et_bupa_search_result
                               WHERE partner = et_bupa_search_result-partner
                               ORDER BY PRIMARY KEY.
          LOOP AT et_bupa_search_result ASSIGNING <fs_result>.
            READ TABLE lt_but100 WITH KEY partner = <fs_result>-partner
                                 TRANSPORTING NO FIELDS
                                 BINARY SEARCH.
            IF sy-subrc NE 0.
              CONTINUE.
            ENDIF.
            DELETE lt_but100 WHERE partner = <fs_result>-partner
                             AND   rltyp   = lv_role_category.
            READ TABLE lt_but100 WITH KEY partner = <fs_result>-partner
                                 TRANSPORTING NO FIELDS
                                 BINARY SEARCH.
            IF sy-subrc NE 0.
              DELETE et_bupa_search_result.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    * if TREX is disabled and addressversions are active -> MAX_HIT does not work
    * workaround:
      DESCRIBE TABLE et_bupa_search_result LINES lv_no_hits.
      IF lv_no_hits GT ls_header_search-max_hit.
        ev_max_hits = ls_header_search-max_hit.
      ENDIF.
    ENDMETHOD.
    Hope this helps!
    Kind regards,
    Micha

Maybe you are looking for