Problem in search field

hi
i am working on module pool program.
in the screen i have one field called name.
if user enter any value in the name field(A to Z),and press the search button,it should featch the all the data in to itab.how to search this,is there any select query for this,can any body help me in this regard.
Thanks,
Rammohan.

i m not getting ur query..
do u need to create search help (F4 for this field) , if so then do this -
PROCESS ON VALUE-REQUEST.
   FIELD ITAB-PERNR MODULE F4_HELP.
module F4_HELP input.
data: begin of lt_all occurs 0.
        include structure DYNPREAD.
data  end of lt_all.
data: begin of lt_selected occurs 0.
       include structure DDSHRETVAL.
data: end of lt_selected.
DATA: BEGIN OF lt_code OCCURS 0,
            code LIKE zgill_main-PERNR,
      END OF lt_code.
data no_dyn like sy-dynnr.
no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.
*At selection-screen on value-request for ECODE.
select PERNR into table lt_code from zgill_main.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield               = 'ITAB-PERNR'
        dynpprog               = sy-repid
       dynpnr                  = no_dyn
      dynprofield              =       'ITAB-PERNR'
      window_title           = 'Employee Details'
       value_org              = 'S'
      DISPLAY                = 'F'
   TABLES
        value_tab             = lt_code
       RETURN_TAB             = lt_selected.
EXCEPTIONS
  PARAMETER_ERROR        = 1
  NO_VALUES_FOUND        = 2
  OTHERS                 = 3
*if sy-subrc eq '0' .
  write: 'success'.
*endif.
read   table lt_selected index sy-tabix.
move lt_selected-fieldval to ITAB-PERNR.
endmodule.                 " F4_HELP  INPUT
2) if u want to fetch some data into itab on pressing a button (ur search button) then u have to code at PAI as follows -
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
module USER_COMMAND_0100 input.
case ok_code.
  when 'SEARCH'.
    clear ok_code.
  VAR1 = ITAB-NAME.  "SCREEN FIELD FOR NAME
CONCATENATE VAR1 '% ' INTO VAR1.
   SELECT NAME INTO CORRESPONDING FIELDS OF TABLE ITAB FROM  
   PA0002 WHERE NAME LIKE VAR1.
endcase.
endmodule.                 " USER_COMMAND_0100  INPUT

Similar Messages

  • Itunes store search field problem

    My search field in Itunes store is not working. I can only type one letter at a time and must stop "accessing Itunes store" message or wait for it to finish before I can type another letter. The list from search field never drops down.

    I'm having the same problem, but have not found a solution yet

  • In portal after clicking the search field of table UI popup  is not coming

    Hi Experts,
    I have a problem in portal . In "RecordWorkingTime" when I select any search field of this table Ui  it is refreshing for unlimited time  period and the pop up window is not coming .
    Can you suggest me any possible solution for this strange problem ?
    Regards,
    Sumana
    Edited by: sumana05 on Mar 9, 2012 10:58 AM

    Hi
    In addition to this, we also put the trace on the application. During the trace analysis we found that the RFC: HRXSS_CAT_WD_F4_SELFLD_DEFAULT doesn't seem to get called.
    Not sure what could be the issue.

  • Problem with Date-Field

    Hi,
    I have a problem with a date-field. Maybe I must describe the problem more detailled, but first I just want to ask you, if you know the following error-message: "21.10.2010 kommt nicht in der Menge der erlaubten Werte vor". I don't know the correct translation but it must be something like this: "21.10.2010 does not occur in the quantity of the permitted values". I don't find the position in the sourcecode of this message. And I know, that this message isn't thrown by a functionblock from SAP. So what is the describtion of this message?

    Yes I have a date field in my form. Ok I must describe it more detailled. I have an employee searchfield. After select an employee you see a form. After filling the form you click on "Send". It creates a ticket and sends the data to the Backend and jumps back to the employee search field. Untill this point everything works fine. There is no problem with the datefield. Now I want to create the form. I choose an employee and fill the form. But now it comes this message. But not after clicking the "send" button. The message comes after changing some data (e.g. change a radio button). So it looks like a validationproblem, but only at the second creationprocess. Maybe the first date is in some cache? I don't know...

  • Suddenly can't enter anything in some blank search fields, dropdowns not working, and javascript popups freeze randomly. WTH?

    I noticed a few random things not working on my computer in the last month or so, and I tried everything I can think of to figure out what it is...still haven't figured it out yet. Some examples - I was on ebay, and the tracking number I clicked on from the "My ebay" page popped open a javascript window, but then froze the page so I had to close the whole tab. Then on Grooveshark, the main page comes up, but if I type anything in the search field, I can see what I'm typing, but at the same time, I can still see their default search message. If I try to enter something and hit search, it just gives me the warning that I'm being asked if I want to leave the page, it never searches. There are a few other times I can think of that I tried to use a dropdown menu, and they don't always work - they just look like they're being clicked, but nothing shows. Also not sure if this is related or not, but it bears mentioning - I tried to install Freecorder, and even though I tried both the toolbar and just the button for installation options, it doesn't show up for me to use it, and that's with adblock plus disabled. Also not positive my last update of Adobe Flash took, even though I downloaded it.
    I have adblock plus, but I've had that for years now, and it's never caused a problem or stopped me from seeing anything I actually wanted to see. My system was pretty bada** before this, and it's frustrating that suddenly I can't go everywhere and do everything I could before. Why is it doing this, and can I fix it??

    Meh...if I had started here instead of trying to research this randomly, I would have fixed the problem weeks ago. I just did a Firefox reset, and tried all the things I mentioned in the OP, and it all seems to work fine now. Well, aside from Freecorder, but I can make that work another way, I guess. Anyway, Firefox reset = solution. Yay!

  • How can I get a search field?

    In fewer times there was a field for adress and one for searching. Since the last modification there is no searching field. I like this field. How can i get it back?
    Thanks for help.

    Open the Customize window and set which toolbar items to display.
    *"3-bar" Firefox menu button > Customize
    *if missing items are in the Customize palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the Customize palette then click the Restore Defaults button to restore the default toolbar setup
    *https://support.mozilla.org/kb/customize-firefox-controls-buttons-and-toolbars
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • After upgrading to iTunes 9.2, unable to type in text/search fields

    Hi,
    After upgrading to iTunes 9.2, I am unable to type into text or search fields within iTunes.
    Haven't tried all fields, but I've seen it in both search in iTunes and the iTunes store, and also trying to create folders on my iPhone (through iTunes only, it works fine on the phone).
    Anyone else seen this or have an idea for a fix?
    Thanks...

    I'm wondering if you figured out this problem. I'm having the exact same issue, which means I can't even log in to my iTunes account. I've even tried uninstalling it and reverting to iTunes 9.1.1, which then won't even open.

  • I can no longer copy and paste in the google search field on my iPhone4 after I updated to ISO6.0

    I can no longer copy and paste in the google search field on my iPhone4, after I updated to ISO 6.0? Anyone else having this problem?

    try
    Restart iPhone: Hold down the Sleep/Wake button and the home button together until the apple logo appears then let both buttons go and wait for the phone to restart.

  • Finder search bug? No results if 'Search' field is blank.

    I can't determine if this is a bug or is simply a change in Finder search behavior (for the worse, IMO) in 10.8.
    In the Finder, when I select 'File>>Find' (or hit ⌘-F) and then select the current folder from the top of the search parameters, no files appear in the search results if the 'Search' (for filename) field at the top of the window is blank even though the only other search parameter is 'Kind is Any'.
    If I enter text in the 'Search' field, matching results start to appear.
    In 10.7, I saw different behavior. In the absence of text in the Search field, the Finder would simply return results matching the other parameters and ignore the Search field.
    With the new behavior, there doesn't seem to be any way to construct a saved search based solely on other parameters (kind, date, file label, etc) without specifying some filename parameter as well. Of course, I can work around the problem by using something like 'NOT xxx!@#$%' in the Search field, but this approach is klugy at best.
    Anyone else see this? Bug? Deliberate change in Finder behavior?

    Yes the report ESH_TEST_SEARCH returns no material.
    So should I suspend the indexing and reschedule with with real time indexing ? I am not sure whether we choose real time indexing in the first time.
    What about the authorizations, I see USER_AUTHORITY object is activealready.
    Thanks

  • Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab?

    Is there any way to search for a term using the Firefox search field, and have the results automatically open in a new tab? When there was support for Google Toolbar, I was able to do this; now, whenever I want to search for something, I have to open a new tab to do it, and cut-and-paste my search into the search field in the new tab. I used to be able to highlight, drag, and drop something into the search field and have it automatically open in a new tab. This is enough for me to switch to Chrome . . .

    Set a preference to have searches from the Search Bar (upper right) automatically open all searches in a new tab
    #type '''about:config''' in the URL/Location/Address bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''browser.search.openintab'''
    #in the lower panel, double click the item (or right-click and choose "Toggle") to change the value to "true"
    #close the about:config tab and test
    #See:
    #*For help with opening/using about:config, also see: http://kb.mozillazine.org/About:config
    #*Also see: http://kb.mozillazine.org/About:config_entries (click on "Browser", scroll down to browser.search.openintab)
    '''Search Bar''': http://support.mozilla.com/en-US/kb/Search+bar
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    About Google toolbar............
    Google decided that they will no longer produce the Google Toolbar for Firefox 5 and newer version. It is best to move on to other alternatives than to try any "hacks" to the toolbar that may or may not perform in the future. Future versions of Google toolbar will only work with IE7-9. Google Toolbar is not available on any other browser, even Google's own browser.
    *http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    *https://support.mozilla.com/en-US/kb/google-toolbar-not-compatible-firefox?s=google+toolbar&r=0&as=s
    *http://www.google.com/support/toolbar/bin/answer.py?answer=1342452&topic=15356%29
    *Google Toolbar 8 FAQ (IE only): https://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588
    '''''To access your Google Bookmarks visit''''' www.google.com/bookmarks.
    Alternatives:
    *http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    *https://addons.mozilla.org/en-US/firefox/addon/googlebar-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/gbookmarks-google-bookmarks-fo/

  • Opening a new tab in Firefox 16.0.1 the focus is on the address bar but then moves to the search field

    When I open a new tab in Firefox 16.0.1 the focus is on the address bar for a second or so then the focus moves to the search input field. If I start typing something the first character fills in the address bar then the rest is typed into the search field.
    How do I get the focus to remain in the address bar as per previous versions please?
    MacBook Pro OS X 10.8.2
    Firefox 16.0.1
    Thanks.

    Hello surfersteve1970,
    check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Safe Mode], select "''Start in Safe Mode''" and see if this happen again, if not see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Typeahead function in search field inside Facebook does not work in Firefox 13.0

    Until 3 or 4 days ago, cool typeahead function inside search field inside Facebook always worked in Firefox. Now since 4 days ago, it does not work. But the typeahead function works inside search field inside Facebook on Internet Explorer BUT I prefer to use Firefox and do NOT want to switch to IE!!!
    Is there anything I can do to regain that function?
    Aharon

    Shalom DJST,
    Thank you for reply.
    The behavior did not start with Firefox 13. I actually upgraded to Firefox 13 in hope it would solve the problem that happened in previous older versions. It failed to solve the problem.
    It had been working for 3 years on Firefox until last or 2 weeks ago.
    Regarding search, I mean by "type-ahead" which is that FB's search field offers a drop down list of possible search results as I type. For example, if I type S, it will show list of all people or groups with first letter S. If I type sk, it will show list of anything such as people or groups that starts with Sk, and so on. This is most valuable time saving technique to look for my pals to say hi or groups that I do not belong to but want to read their news or info.
    I think it is Facebook's programming problem but if I ask them, they will point to Firefox's fault by saying that it works for my Internet Explorer but not for Firefox and I do not want to get involved into tug war between Facebook and Mozilla.
    I am just bummed that the valuable time saving search method no longer exists on Firefox.
    Regards,
    Aharon

  • Adobe Help CS5: Text In Search Field Hard To Read

    I'm using Local Help. In the Search field, letters are way too close and very hard to read. There seems to be no anti-aliasing either. Is it possible that some font be missing in either my Photoshop Installation or in my System (OX 10.6.3)?
    Thanks for any help.

    Mark Nichoson wrote:
    Hi Roger:  I apologize for the poor text rendering.  We are updating the app with a fix -- this should be resolved when the engineering team migrates the app to Flex 4/AIR 2 (coming soon!).
    Hello Mark!
    If I may, the fact that people like you take the time to answer questions like this does more for Adobe's reputation than anything else. Thank you. I will be waiting for this fix. After all this new Help app is way better than what we had before, as it allows us to use either Local help (way faster and practical) or the web (more complete, when we're stuck). So this is a step forward, I just found strange that Adobe had this problem in that field. I imagine that this bug sneaked by unnoticed...
    So thank you once again. If I had a suggestion, it would be to make the process of finding and downloading Local help a bit easier and more transparent.

  • Safari search field autofill kicking me out

    I am sure this has be discussd but I can't seem to find the treads. Perhaps I am not searching for the correct terms. Regardless, when I try and type something in the search field Safari will autofill the word and then kick me out of the address and search bar. For example, I am trying to type pinturest help but safari autofills pinturest (before I am done typing) to pinturest.com and then kicks me out of the field so I can't even finish typing.
    Anyone have a solution?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • Editing Form Field color and search field

    I am designing a website - nextmedian.com and I am having
    some trouble changing the background color of the some form fields
    for "Your Full Name" and "Your E-mail" from yellow to dark blue.
    The link is
    http://www.nextmedian.com/contacts.html
    The Contacts webpage html code is:
    [CODE]
    <form name="formmail"
    action="/cgi-bin/formmail/formmail.cgi" method="post">
    <input type=hidden name="recipient"
    value="[email protected]">
    <table width="300" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td valign="top" width="76" align="right"
    height="25"><br style="line-height:3px ">Your Full
    Name:</td>
    <td valign="top"><input type=text name="realname"
    size="15" value=""></td>
    </tr>
    <tr>
    <td valign="top" align="right" height="25"><br
    style="line-height:3px ">Your E-mail:</td>
    <td valign="top"><input type=text name="email"
    size="35" value=""></td>
    </tr>
    <tr>
    <td valign="top" align="right" height="50"><br
    style="line-height:3px ">Message:</td>
    <td valign="top"><textarea name="body" cols="4"
    rows="2" wrap="virtual"
    id="message"></textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td valign="top" align="right"><input type="submit"
    value="Send" size="1" style="width:42px; height:20px">
    <img
    src="../template_11171_SE8HPoI5oO381CXsvRUV/site/images/spacer.gif"
    alt="" width="1px" height="2px"><input type="reset"
    value="Reset" size="1" style="width:42px; height:20px">
    </tr>
    </table>
    </form> </td>
    </tr>
    </table>
    </td>
    </tr>
    [/CODE]
    (ii) I have a problem with formatting the search field -
    http://nextmedian.com/cgi-bin/search.pl
    to have the same look and feel as my website.

    On Fri, 8 Sep 2006 20:53:25 +0000 (UTC), "wire_jp"
    <[email protected]> wrote:
    >I am designing a website - nextmedian.com and I am having
    some trouble changing
    >the background color of the some form fields for "Your
    Full Name" and "Your
    >E-mail" from yellow to dark blue. The link is
    >
    http://www.nextmedian.com/contacts.html
    They look dark blue to me. Disable your Google toolbar.
    Gary

Maybe you are looking for