How to show list of items when the user pressed tab key in an empty field

Hi all
i would like to know if there is a way to open a form with items list which will be shown to the user when he pressed the tab key within a field for instance "item code" field will present a search form with a table filled with item codes and their description.
i'm currently working in 2004 version. i know how to catch the event.
i'm creating a form with a matrix object binded to a datasource which is connected to the data base table which contains all the items.
what would like to know if there is a better way to this. maybe using buisness partner objects. and if so how
appriciate the help
Yoav

You Should use Formatted Search in this case.
You must create and associate a query for your field.
click on the field you want items to be listed and press Shift + F2
catch the keydown event of this field  and check pval.charpressed = 9 (tab key press)
then execute
SBO_Application.SendKeys("+")

Similar Messages

  • How to Unload the form when the user presses Escape Key

    Hi all
    I have tried several triggers for unloading the form when the user presses escape key,but none of them worked. Could any body give the trigger name and the code that unloads or closes the form when the user presses escape key.

    Hello,
    Change the EXIT entry of you ressource file:
    27   : 0 : "F4"             : 32 : "Exit"Francois

  • How can I control the windows behavior when the user hits "Windows key +d"?

    Hi,
    I have an application with 2 top-level windows. Both windows may be open at the same time. One window is a win32 window, and the other is a wpf window. When both windows are open, the wpf window should always be before the win32 window. When the user hits
    "Windows key +d" twice (show desktop and restore all windows), the windows are occasionally restored in a different order.
    How can I force the wpf window to always be before the win32 window?
    Which Windows messages/events are sent when the desktop is restored?
    Yoel

    Hi,
    I tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    I was able to get some win32 messages that change the win32 window position. I tried then to bring the Wpf window to the front (using SetActiveWindow, SetForegroundWindow, SetWindowPos) but i does not work as expected.
    Yoel
    Hi Yoelp,
    >> tried set the Topmost property on the Wpf window. It didn't help - for some reason, the win32 window still get in front of the Wpf window.
    It worked well on my side, could you please tell us more details about these two window? What have you done on the WIn32 Window? We need to know the reason
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Avoid the deletion of delivery when the user press the delete button

    Hi guys,
    In VL02N transaction, when the user press the button for delete the delivery (trash button) i have to send an idoc to an external system in order to inform about. Im using IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_DELETION for this and it works fine.
    After send the idoc i have to stop the deletion process. So How i can avoid the delivery deletion? I can change some flag in this BADI or maybe i can do something in userexit_delete_document? I dont find the way.
    Thank you,
    Manel

    HI,
    In the method SAVE_DOCUMENT_PREPARE; try to pass some error messages in the parameter CT_LOG.
    This should raise some messages before saving and the data will not be saved and hence delivery will not be deleted.
    Check the same.
    Regards,
    Ankur Parab

  • When the user press the button Calculate Tax (see attached doc) and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.

    When the user press the button Calculate Tax  and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.
    All setup looks fine.
    Please let me know what can be done on this?
    Regards,
    Peu

    HarryAustralia wrote:
    I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
    The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
    That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
    You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
    Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again.

  • How do it get my app to show up with message and mail when the user press "share contact" on the iPhone

    Hi Everyone
    Would like to check if it is possible to let my app show up togather with message and mail app when the user clicks on "share contact" from their contact edit.
    Thanks in advance.

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    See also:
    * http://kb.mozillazine.org/Toolbar_customization

  • How do I call a method when the user clicks on the delete button?

    Hello , I need to implement the following :
    If date from is less than sysdate , when the user clicks the "delete" button , he is shown an error message .
    Can you please help how this can be done ? Thanks.

    Thanks. What are the steps for adding a custom delete button ?
    Are these ok ?
    1 ) Add an adf button
    2) Add the following in the actions listener : #{bindings.Delete.execute}
    3) Right Click button --> create method binding for action
    4) Compare date ?
    Thanks.

  • How to get list of groups and the users from OID

    Hi,
    Can someone please tell me how to get the list of GROUPS and all the USERS in each group in OID using Java. Need to recursively get all the Groups and Users in each group using Java any samples.
    Thanks

    use examples from OTN like
    http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/src/dc/ldap/model/LDAPSearch.java
    and modify it to your needs
    Bernhard

  • How to debug a RFC function  when the user is non-dialog type? Please help!

    hi Experts,
      I am calling a RFC FM residing in B from R/3 system A.
    R/3 A -
    Call FM residing in B----
    > R/3 B
    The user attached to the remote destination is a non-dialog type.
    I cannot change the user type of this user.
    Therefore how to debug the RFC FM in System A?
    Are there any alternatives?
    Please help
    Thanks
    Gopal

    in your RFC FM, code an endlees loop.
    something like:
    data: gv_x  type xfeld value 'X'.
    do.
      if gv_x = space.
        exit.
      endif.
    enddo.
    now you can catch the mode in TA SM50, go in it, change gv_x to space and debug what is coming further.

  • Forms: how to make it so that when the user clicks something, another form pops up?

    Sorry if that's confusing, but like how for example, you have:
    ADDRESS: _________________________  +another address
    & then if the user typed in information into the address field and wanted another address, it would look like:
    ADDRESS: __________________________
    ADDRESS: __________________________ +another address
    & so on... is there a way to do this?

    What you want is something like this
    http://dynamicdrive.com/dynamicindex16/chainedselects/index.htm

  • HOW TO REPLACE CHARACTER IN JTextField  WHEN THE USER TYPES

    hOW TO OVERWRITE THE EXISTIG CHARACTER IN THE jtEXTfIELD INSTEAD OF INSERTING IN A jtEXTfIELD ?
    ANY HELP IS APPRICIATED

    Your keyboard is broken. I suggest you fix it if you want help in the future because using capital letters appears like "SHOUTING" and we don't like to shouted at.
    Anyway you wouldn't use a DocumentListener, because the Document has already been updated by the time the Document event has fired.
    You might be able to use a DocumentFilter, which is also discussed in the above tutorial.
    Or, you can search the forum for my "Overtype TextArea" (without the spaces) example that may do what you want.

  • Web Form Cancel Edit button changes value of List View item when clicked

    I have a web form, I shows 3 buttons, Edit, Save, And cancel. When the user presses the edit button it enables editing. When the user makes an edit and presses the save button it saves the changes. When the user presses the cancel button, it does cancel
    the edit ok but it changes the vale in the left list view to a different value.  For instance my left list view has a list of vendor names.  When I click cancel, the vendor name shown for the selected record, changes to the vendor number.  I
    have experimented with different values to show in the list view, I have turned off sorting, etc.  No matter what everytime I click cancel button it changes the vendor name to the vendor number.
    Even stranger is when I scroll the list up and the item that changed is move out of view and then you scroll back down to put it in view it puts the value back to the vendor name.
    This isn't consistent as I have created some forms where it doesn't do this. 
    Also when I create a new list view, does anyone know how to get it into the tile pane .  the only way to get anything in that list appears to be that I have to create a whole new table.
    Jim

    This forum is for the desktop user interface Windows Forms, its classes, apis and components.
    For a webform try the ASP.Net forums.
    http://forums.asp.net
    Success
    Cor

  • Error message "Enter a Printer" when the user clicks on PO out put preview

    Dear SRM Gurus,
    We are using SRM 5.5 extended classic scenario. When the user presses on Output Preview of PO we are getting a message that "Enter a Printer" and not able to see the preview. This messge we are getting for some particular PO's and for other we are able to see the preview.
    Please do the needful..
    Thanks and Regards,
    Chandra Sekhar.

    Hi
    <u>Please maintain default  Printer for Organizational user in PPOMA_BBP (Attribute  - PRI)...</u>
    <u><b>In PPOMA_BBP, your purch org must be defined under (or at the same level as) a company. This company org id (defined in function tab) will be used to read address and use it as "contact" addresse. Check this point, correct if necessary and tell me if this is ok.</b></u>
    <u>Also go through the useful related links -></u>
    Re: PO output
    Re: Add a Printer ?  -> LP01
    Re: Adding Send Medium to Vendor Record
    Re: Offline approval of SC
    <u>Do let me know.</u>
    Regards
    - Atul

  • Checking to see what button the user pressed.

    Hello to All,
    I have a web page I am trying to create Its a form that
    allows users to enter in career information . The problem is that I
    have 1 row shown to the user at a time and when the user presses
    the (Add new) button, I want another row to appear to let the user
    enter more career information. I have figured out a way to do this
    using <cfif IsDefined("FORM.Add")> , But I don't want to send
    the form to the server, I just want to check the button and then
    add a new line without a form.submit, because right now I have 2
    forms on the page. Is there anyway to check the button pressed
    without a form submit. Like is there a coldfusion check to see what
    button has been pressed.
    sample code:
    Thank you.

    Hi,
    You can add additional rows already on the server in CF, but
    hide them with CSS, and have the add button just switch them to
    visible (with a little java script), like in the sample below.
    cheers,
    fober
    <cfset number_of_fields= 15>
    <cfoutput>
    <cfloop index="x" from="1" to="#number_of_fields#">
    <cfif x IS 1>
    <cfset style= "display:block;">
    <cfelse>
    <cfset style= "display:none;">
    </cfif>
    <div id="field#x#" style="#style#">
    <input type="File" name="field#x#"><br>
    </div>
    </cfloop>
    </cfoutput>
    <input type="Button" id="btn_add"
    onclick="visible_add('field')" value="Add File">
    <script language="JavaScript">
    function visible_add(id){
    var counter= 1;
    do{
    obj= document.getElementById(id + counter);
    if ( obj.style.display == 'none') {
    obj.style.display= 'inline';
    return;
    counter++;
    }while ( document.getElementById(id + counter) != null )
    document.getElementById('btn_add').style.display = 'none';
    </script>

  • How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    Well I figured it out… all you do say show commands :-/

Maybe you are looking for

  • Aperture/iPhoto support

    Any ideas on when Aperture/iPhoto will have raw support fo Sony A7II ?

  • Advance Balance and Https pages

    Hello, I have setup load blancing on our web server, using a content rule and services, with Protocol tcp and any port. I find that it will allow Https traffic through when the Advance Balance option is not enabled but i get a "server or DNS error" w

  • XML export, while applying XSLT, gives a jumbled mess

    From InDesign, I export to XML and apply an XSLT which transforms it into HTML. Trying to edit the document is almost impossible because the whole thing is a few giant lines of code. What's going on with this behaviour? Can Dreamweaver view it correc

  • CS6 Background Flashing

    Backgound keeps flashing and pixelating whenever I use CS6 (Brand new copy of CS6 and brand new sony laptop using windows 8). Very annoying! Somebody please tell me how to prevent this before I go insane.

  • Amortization of Goodwill after method change

    Hi all, Need some help. It is not really clear to me how does BCS take into account (equity-method)goodwill, and further more - amortization of goodwill, in/after Method Change activity. Business scenario Step 1. Company "A" (equity - 1000 monetary u