Search help is  not working

Hi All,
when am trying to search some ids using search help it is showing all ids.
For Ex: i want to search which ids starts with 'A', am give 'A*' but it is showing all ids.
Thanks in Advance

{FUNCTION /VIRSA/ZVIRFFOWNER.
""Local interface:
*"  TABLES
*"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
*"      RECORD_TAB STRUCTURE  SEAHLPRES
*"  CHANGING
*"     REFERENCE(SHLP) TYPE  SHLP_DESCR_T
*"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
EXIT immediately, if you do not want to handle this step
  IF CALLCONTROL-STEP <> 'SELONE' AND
     CALLCONTROL-STEP <> 'SELECT' AND
     " AND SO ON
     CALLCONTROL-STEP <> 'DISP'.
    EXIT.
  ENDIF.
STEP SELONE  (Select one of the elementary searchhelps)
This step is only called for collective searchhelps. It may be used
to reduce the amount of elementary searchhelps given in SHLP_TAB.
The compound searchhelp is given in SHLP.
If you do not change CALLCONTROL-STEP, the next step is the
dialog, to select one of the elementary searchhelps.
If you want to skip this dialog, you have to return the selected
elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
either to 'PRESEL' or to 'SELECT'.
  IF CALLCONTROL-STEP = 'SELONE'.
  PERFORM SELONE .........
    EXIT.
  ENDIF.
STEP PRESEL  (Enter selection conditions)
This step allows you, to influence the selection conditions either
before they are displayed or in order to skip the dialog completely.
If you want to skip the dialog, you should change CALLCONTROL-STEP
to 'SELECT'.
Normaly only SHLP-SELOPT should be changed in this step.
  IF CALLCONTROL-STEP = 'PRESEL'.
  PERFORM PRESEL ..........
    EXIT.
  ENDIF.
STEP SELECT    (Select values)
This step may be used to overtake the data selection completely.
To skip the standard seletion, you should return 'DISP' as following
step in CALLCONTROL-STEP.
Normally RECORD_TAB should be filled after this step.
Standard function module F4UT_RESULTS_MAP may be very helpfull in this
step.
  IF CALLCONTROL-STEP = 'SELECT'.
    EXIT. "Don't process STEP DISP additionally in this call.
  ENDIF.
STEP DISP     (Display values)
This step is called, before the selected data is displayed.
You can e.g. modify or reduce the data in RECORD_TAB
according to the users authority.
If you want to get the standard display dialog afterwards, you
should not change CALLCONTROL-STEP.
If you want to overtake the dialog on you own, you must return
the following values in CALLCONTROL-STEP:
- "RETURN" if one line was selected. The selected line must be
  the only record left in RECORD_TAB. The corresponding fields of
  this line are entered into the screen.
- "EXIT" if the values request should be aborted
- "PRESEL" if you want to return to the selection dialog
Standard function modules F4UT_PARAMETER_VALUE_GET and
F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
  IF CALLCONTROL-STEP = 'DISP'.
  PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB
                          CHANGING SHLP CALLCONTROL.
    data: begin of i_idowner,
            zvirffid like /virsa/zvirffids-zvirffid,
            zvirffowner like /VIRSA/zvirffids-zvirffowner,
          end of i_idowner.
    data: wa_shlp  TYPE SHLP_DESCR_T,
          iface like DDSHIFACE occurs 0 with header line.
   authority-check object 'GRCFF_0002' id 'YACTVT' field 'OWNR'.
   if sy-subrc = 0.
    select distinct zvirffowner into i_idowner from
       /VIRSA/ZVIRFFIDS.
      record_tab = i_idowner.
      append record_tab.
      clear: record_tab, i_idowner.
    endselect.
   else.
     select distinct zvirffrole into i_rolemonapvr from
        /VIRSA/ZFFROLES.
        where zvirffowner = sy-uname.
       record_tab = i_rolemonapvr.
       append record_tab.
       clear: record_tab, i_rolemonapvr.
     endselect.
endif.
    EXIT.
  ENDIF.
ENDFUNCTION.}

Similar Messages

  • With input disabled field search help is not working.

    Hi Web dynpro abap Gurus
    Please help me on below requirement.
    If i make a input field disable then the attach search help is not working. Is there is any way by which
    I can make input field disabled and search help will also work for this field.
    I really need help on this, Please help me.
    Many thanks in advance.
    Sandeep Sharma
    09971995045

    Hi
    I dont think that a field can be disabled and allows to choose data using f4 simultaneously. you can enable the field and allow the user to select whatever he/she wants.
    Then in any action like on press of save or submit button which the user will trigger after entering the values, get the value entered by the user in that perticular field and fire a query on the table/view, which you have used as selection method of your search help, it help is coming from data element then look for check table in domain. if sy-subrc comes 0 than go ahead else give error that value selected is modified.
    Thanks
    Vishal

  • Search help does not work when view context is mapped to comp context

    Hello,
    I am trying to display search help for an input field of a view. The context to which the input field is bound is a node with an attribute. I have specified Dictionary Search help for the attribute. Now when I execute the application, I am able to get the search help in the screen.
    But, I  need to map this  view context node to its comp controller context. When I do the mapping, the search help does not appear when executed.
    It would be a great help if someone can point out an answer to this.
    Thanks,
    Maya

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • Search help is not working at Transaction Launcher

    Hi gurus,
    I create a transaction launch that calls a ZXXX t.code from same CRM system.
    T.code ZXXX is used to execute a custom report in order to create document from excel file.
    Everything is ok, but search help button is not working on web ui.
    Search help will open "my computer" pop up. I guess this cause problem. Is there anyone who met this problem before?
    Regards
    Sadi

    Hi,
    Is the search help button part of custom report and is it working fine in GUI ?
    What popup will come when we open that search help in GUI
    Regards,
    Shobhit

  • Search Help is not  working in PCUI

    Hi All,
    We are working on CRM 5.0
    we have given Seach help for City depend upon Region
    This search help is working in SAP-GUI System but
    it is not working on PCUI Screen And showing No entry found,
    plz help me...
    i ll give reward points for helpful ans
    Thanks & Regards,
    ganesh

    Hi,
    Is a search help program attached for the field group (to which this PC-UI field belongs) in transaction CRMC_BLUEPRINT?
    Regards,
    Annu

  • Search help is not working at  variable

    Hi
    when i am aexecuting the report. at variable screen when i am selectiong like compy code , heer lot of company code are there, there in search tab i need to search perticual comp code, please let me know any note i need to apply?

    Hi,
    check this:
    FAQ: Input helps in Netweaver BI
    SAP Note Number: 1080863
    This note gives answers to frequently asked questions (FAQ) with regard to using the input help for characteristics in SAP NetWeaver BI. This includes the input helps in the BI BEx Java Web as well as the input helps in the BI BEx Tools.
    To make sure that this is not caused by a program error check this notes on relevance:
    F4 returns incorrect values
    SAP Note Number: [1161224|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    Input help does not display any values in variable screen
    SAP Note Number: [1074803|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
    Regards
    Andreas

  • Search help does not work ?

    Hi ,
    I created a screen (Dynpro)  and i added all the elements of the table SBOOK..., when i execute the screen ( just the screen not all the program) i can press for search help , but when i execute my program , when i press for search on any field , nothing happens ....
    This means that there is not search help for the fields SBOOK,,,,,I can not find the reason why.... Could you help me?
    Thanks

    Hi
    Add the following Search helps in the attributes of the Screen fields
    Field  --          Search help
    CARRID -     H_SCARR
    CONNID   -   H_SPFLI
    FLDATE - -   SFLIGHT
    BOOKID   -   SBOOK
    CUSTOMID  - SCUSTOM
    double click on field and add these search helps against each field in the screen
    it will help
    Regards
    Anji

  • The 'Content, index, search' section of my help is not working in Mozilla

    Dear All,
    The 'Content, index, search' section of my help is not working in Mozilla.
    I am using robo8 and mozilla 8. Any idea? please help...
    Regards,
    Jobin.

    Dear William,
    It is a webhelp
    It is working in all other browsers except Mozilla.
    It is a merged help...
    waiting for your reply..:)
    Regards,
    Jobin.

  • 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

  • Search help is not triggering second time in interactive form

    Hi,
    I have online interactive form in WDABAP. And I have few search helps in the form, If i click on any search help it is opening and I can select the value and the same is populated to the field. But if i click it again search help is not opening.
    Only one time it is triggering and also after I clicked one serach help, other search helps also dont work.
    Can some one guide me? Is it something to do with scripting or any other configuration?
    Now Im using ALD7.1 and Reader version is 8.1.0.
    did any one faced this problem? Really appreciate if some one can help me on this.
    Regards,
    Ravi

    hi,
    The following code is generated in the preopen event of the valuehelp.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 710.20061129084151.349066.349066 - ValueHelpDropDown.xfo
                       var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
                       // END OF DO NOT MODIFY
    I have tried placing this code in click event instead of preopen.But still no use. Can we make changes to this code? Can some one give me some idea what changes need to be done..
    Regards,
    Ravi

  • WBS element field in transaction CS71-F4 help is not working in ECC 6.0

    Hii
    In SAP, while working in SAP 4.7, tcode cs71, WBS element is coming via F4 Help. But after upgradation to ECC 6.0 EHP 5, this F4 help is not working. I can enter value manually.but F4 help is not working.
    Please Help.

    Hi,
    You can do it manually too
    1.  Choose function group 'CSDI' via Transaction SE80.
    2.  Choose screen '0260'in the 'Screens' area and switch to change mode
    3.  Choose the 'Element list' tab index.
    4.  In this area, choose the 'Reference' tab index and enter the value
        'PRP' in the 'Search help' column in the line for field
        'RC29N-PSPNR'.
    5.  Save your change and regenerate the screen.
    6.  The correct input help for the WBS element is now available in the
        initial screen of Transaction CS71/72/73.
    I hope F4 helps works for "Existing WBS BOM's" in CS71 after this
    Refer to Note : 714824 as well , it has reverted back the changes done by note : 422265
    Regards
    Gaurav

  • Search Bar is not working for me in windows 7 32 bit OS

    Search Bar is not working for me in windows 7 32 bit OS'''bold text'''

    Hi Sameer,
    There's no version of Windows Vista that is supported, regardless of service packs.  You can always upgrade to Windows 7, though.
    Your other option is to use Brackets, the open source editor that Edge Code is based on.  It still supports Vista for now.  The downside is that Brackets lacks some features of Edge Code: Kuler integration, Edge Inspect integration, and Edge Web Fonts code hints -- although all of those except Kuler are offered as optional Brackets extensions too (you just have to install them).
    Hope that helps,
    - Peter

  • My search function does not work. How can I fix it?

    Hello
    I need help I just bough a macbook 13 inch, with snow leopard
    and the search function does not work.
    The window opens but when I write the name i searh it gives me no results.
    How can i fix it?
    Do i need really to re install all snow leopard?
    thanks
    pt

    Hello paola t & welcome to the forums
    I need help I just bough a macbook 13 inch
    It may be that Spotlight hasn't completed indexing just yet - is there a dot (indicates busy) inside the magnifying icon top right?
    Also, check System Preferences/Spotlight to see what if any exclusions are configured, etc.

  • 10.4.4 Mac Help does not work

    I just upgraded 10.4.3 to 10.4.4. Now Tiger Mac help does not work. Other software help does work, at least those I have checked like Word, Safari, and a few others I have checked. But in the Finder going to help in the Menu bar does brings up the help window, but try to click a link like What's new in Tiger or typing a query into the search window produces nothing. All the software seems to be working fine, at least what I have checked. I have redownloaded and re-installed making sure virus software is off to no avail.
    Any help would be appreciated.

    I tried the steps mentioned before, and thought I would give them one more try. Initially, I had success in that the Help Viewer opened to the default Mac Help view, and when I typed in a find term, lo & behold a list of results appeared! Alas, my visions of success vanished when I clicked on one of the results, then View.....nothing happened!
    I returned to the main menu, and found none of the links would work, and neither would the search function!
    It appears a link may work the first time, but none after that.
    I also noticed that (repeating the Cache & Preference removal steps) that they repopulated with the files when Mac Help was initiated, and, as before, would allow one link acivation to occur, but none after.
    I suspect there may be a conflict with some other applications Help feature, but made sure to activate ONLY the Mac Help with no other Application having been run after restart. The only other possiblity is that some toolbar non-Mac OS X help apps like Magic Menu, Quicken, & iPod conflict, but these are all I have!
    If any one having this Help Viewer problem has similar installations, or knows of any conflicts with these; or, how I can temporarily disable/remove the associated help without uninstalling them, please post a reply.
    Powerbook G4 (17")   Mac OS X (10.4.4)  

  • Mail search function does not work after reinstalling

    Hello!
    I recently had to re-install Leopard on my MacBook Pro.
    I made a clean install so, I manually copied the Mail folder and preferences from my old home folder to the new one.
    All mails are present, and everything works great, apart from the fact that the search function does not work.
    I can search for new mails (that came after the reinstall) but the old ones "dont exist" as far as the mail.app goes.
    What can I do about it ?

    It would probably be easier to do the entire hard drive. The App Store also uses Spotlight, so updating it will help there also. It takes some time to re-index and your computer will/may run slower until it is done.
    Direct answer to your question is go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Then go to System Preferences/Spotlight per the linked article and in your user folder, select Library/Mail/V2.
    Thanks to leonie for some information contained in this.

Maybe you are looking for

  • Invalid drive G error

    So I was trying to figure out a way to get all of my WMA's onto my iTunes on my iMac. So I fiugre I would use iTunes on my PC to transfer the songs that are on there to the iPod, so when I try to open it, it tells me that the file itunes in the folde

  • HP 7525 e-all in one unable to see wireless network

    I just purchased the HP 7525 and it does not see my wireless network. I have a Cisco E3000. I have been through some other posts to make sure I have settings that are compatible. I am set to mixed mode (wireless B/G/N) although I have also tried just

  • Some information about SUN IDM

    Hi, I am new in IDM and want to know some thing about it. 1. Is it free software to impliment in any organigation. 2. From where i can down load it. Thanks......

  • Centralized logging service could not be started

    When the Lync centralized logginng service agent tries to start I get an error in the Lync server logg on all of the servers. First I get infromationmessage: "New config received from CMS. Following are the changed settings:  EtlFileRolloverSizeMB: O

  • Can I control my iPad music from my iPhone over bluetooth

    I'm working in a club and my iPad is locked away, instead of playing a play list, can I control what's being played by my iPhone via Bluetooth?