UI API: Press tab on field

Hi All,
How does one accomplish showing a window when the tab key is pressed? I don't know if there's some standard way of doing this? If you press the tab key on the customer field on an invoice the choose from list window is displayed and the selected value is posted to the customer acc no field, etc. Any idea?
Thanks!
Adele

1.) For example there is a EditText - Field where you want to catch the TAB-KEY. Catch the event "et_KEY_DOWN" in the Edittext. (How to catch events, just look into the Helpfile of UI-API)
2.) You should get a SAPbouiCOM.IItemEvent Object, one property of this event is 'CharPressed'. Check if 'CharPressed' is equal to '13' (Code for TAB)
3.) Perform a Click to the choose button e.g. oForm.Items("67").Click  (67 = ItemIndex of choose Button in contract-form behind CardCode Field)

Similar Messages

  • ABAP - Saving data to a table after pressing 'TAB' on a specific field?

    In ABAP programming for a custom SAP program, I was wondering if it is possible to trigger a SAVE action to occur when pressing the TAB key instead of the ENTER key.
    For example, I have 3 input fields -- Material, Serial Number, and Quantity. I enter a Material, press TAB to get to the next field, enter a Serial Number, press TAB to get to the Quantity field, then I enter a Quantity and I must press ENTER in order for the input Material, Serial Number and Quantity to be written to the custom table.
    What I need is to be able to press a "TAB" on the Quantity field instead of an "ENTER", and therefore override the normal TAB behavior only on that 'Quantity' field so that I get an "ENTER" behavior, and my record is saved. Is this possible in ABAP?
    The reason I need that TAB to behave like and ENTER on the Quantity field is because we have barcode scanners with a keypad. These barcode scanners have a design flaw in that  sending a specific command after keypad entry is extremely limited. For my company's specific requirements, the scanner will only allow the TAB command to be sent from the scanner after entering a Quantity. Since only a TAB can be sent, I need the TAB command to be able to write the record to the table, and return me to then next "Material" input field.

    Thanks all. I appreciate your replies. The reply from Prasoon Sahay gave me an idea. Ideally, I would like the TAB on the last Quantity field to be able to save the record and return back to the first Material input field. But instead, I will have to keep the TAB on the Quantity field, and then scan an extra code that sends a Control S, and that will save the record. It is not the most elegant solution, but it will work.

  • How to set when press Tab in column matrix, then it will show a list

    Hi
    I want to my form exactly as Sales order, so when I press Tab in item No (on sales order) column it will show list of item
    So I want to create my own form with matrix, and in the first column I want to set Tab event, so when I press Tab in that column it will shown list of something from database.
    how to get an event Tab in column matrix ??
    and what object in the list of item form (on sales order) ?? matrix or grid or something else ??
    Thanks

    Hi,
    Linking a ChooseFromList to the matrix column should give you what you want. Samples of using the ChooseFromList can be found in the SDK HelpCenter and here in the SDN forum. For example:
    choosefromlist in the fields of a matrix
    Kind Regards,
    Owen
    P.S. Please note, you have posted this question in the general SAP Business One forum. Your question is more about development so I would recommend you post in the SAP Business One SDK forum rather than here.

  • Change selected row when press tab

    Hi
    I use JDev11.1 with ADF, i have grid in my jsf page, this grid are updatable, i need when i press tab and go to next record set selected row that cursor on it, how can i do that?
    Thanks

    Hi,
    one option is to add a clientListener to the input text fields, intercept the tab key and then use a serverListener component to reference a managed bean method that
    - sets the row currency to the next row
    - PPRs the table so it shows the selection change
    Frank

  • Populate LOV when pressing tab in OAF

    Hi,
    I have created LOV for a field which is under a Region.
    The LOV works when clicking on the Torch and then click GO.
    How to make the LOV gets populated after entering a text and press the tab button.
    For ex: If i enter +"Sup"+ and press tab then the LOV must list all the values starting with the name Sup.
    Please advice,
    Thanks in Advance.
    Jegan

    Hi Jegan,
    If i am clearly getting your requirement then this is the default property of LOV. when you enter some value and TAB out it will execute your LOV Query.
    Regards,
    Gyan

  • PR Release Strategy tab processor field is not getting displayed

    Hi Experts,
    While creating Purchase Requisition, In the Release Strategy tab processor field is not getting displayed which should be showing the name of the user id which has been configured in the SPRO.
    SPRO--> Rel Proc for PR > Rel Group> Rel Code--> Object type (US) and --> Agent (User id who has to approve the PR).
    release strategy - Release code  -work flow 1
    That processer name is not displaying
    Thanks
    chandoo

    This is the workflow forum.

  • How to add tab and field in purchase order

    hi friends,
    I have to make changes in the purchase order. i have to add tab and a field in that.
    i know that badi ME_GUI_PO_CUST have to used this.
    can anyone send me the code or documenation fot add a tab and field using this badi or suggest me how to do this.
    if code or documenation is not available then send me the steps if possible.
    my mail id is [email protected]
                        [email protected]
    hitesh kumar

    Hi,
         1. Double-click on your implementation class
    2. Click on Attributes tab
    3. Add attribute SUBSCREEN1 with level Constant, visibility Public, type MEPO_NAME, initial value 'HDRSCREEN1'.
    please go thourhg the below link .... in this the steps are there and the some of the standard Enchancements also there.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    See this treads :
    ME_PROCESS_PO_CUST header n item connection
    Re: BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE
    <b>Reward points</b>
    Regards

  • AcroPDF.dll crash systematicaly when pressing TAB in any PDF

    I am using the Acrobat ActiveX (AcoPDF.dll) for viewing PDF documents.
    When a PDF is displayed, pressing TAB key several times makes the document to scroll to the end of document.
    If I press TAB again, then the application crash.
    This happens with all PDF.
    My application is written in C++, but I did a try with the sample (AcrobatActiveXVB) provided in the SDK (9.1), witthout any modification.
    The result is the same.
    Does any body has experienced the same ? Is there a way to prevent AcroPDF to crash.
    Considering that it happens systematicly, the Reader 9 activex can not be used to display PDF.
    By the way, I did a try with the Reader 8 activeX and it worked fine without crash.
    Thanks for your help.

    It is a problem of Adobe Reader 9 and Adobe Acrobat 9. Read this:
    http://forums.adobe.com/thread/530591?tstart=0

  • SQL-Loader Control file for Tab-delimited fields

    i want to import a text-file with TAB-DELIMITED fields and a line-break + return at the end of each record.
    a want to do this by sql-loader and a control file.
    please, can someone give me the statement:
    e.g.
    load data
    infile 'exaple.txt' .......
    (...field1, field2,....)
    thank you very much

    Case Study 3: Loading a Delimited, Free-Format File
    http://otn.oracle.com/pls/db92/db92.to_URL?urlname=http:%2F%2Fdownload-west.oracle.com%2Fdocs%2Fcd%2FB10501_01%2Fserver.920%2Fa96652%2Fch10.htm%231006907
    Modify the example and use 'terminated by whitespace' instead
    For more information on TERMINATED Fields see
    http://otn.oracle.com/pls/db92/db92.to_URL?remark=drilldown&urlname=http:%2F%2Fdownload-west.oracle.com%2Fdocs%2Fcd%2FB10501_01%2Fserver.920%2Fa96652%2Fch06.htm%231013838

  • Solaris 10 and Linux-like console navigation - e.g. pressing TAB,using arro

    I'm struggling navigating in the Solaris( 10on x86 ) xterm from CDE(oh and anywhere basically). I'm coming from Linux so I was wondering is this the way this really should be and is there any way to change it(found linux-like motions in the menu though not sure that this is the way or what to look for).
    By navigating I mean as in the topic and like in Linux- e.g. pressing TAB to see list of commands, to complete the name of the file I've already started writing, using the arrows to see most recent executed commands etc.
    It's just that sometimes I make a mistake and it's buggering me to re-write command again or copy/paste.

    Looks like you need to set (in /etc/passwd) your default shell to bash in order to have Linux-like navigation you've described or run 'bash' as first command in new terminal.

  • Addition of custom tab and fields in cProject

    Hello Experts,
    I need to add custom tab and fields in cProject project definition level(type DPO).
    As it is given in IMG help, there are two ways of doing this.
    1) Addition of data in CI_DPR_PROJECT and Creating the field groups and including these fields in the field groups.
    2) Creating the custom tab and assigning the webDynpro component to it.
    I tried the first method. Here I am able to see the field group as the tab in cProjects but the fields included in CI_DPR_PROJECT are not appearing.
    Please let me know how I can see the fields which are added to CI include.
    Also,
    For the second method what is the meaning of implementing the WebDynpro interface DPR_CUST_EXT_INTF ?
    I appreciate if anyone explains step by step procedure for this.
    Thanks in advance.
    Regards
    Maddy

    hi Madhu,
    By creating a custom tab and adding field you can do that.
    Pls. follw the steps as below:
    1)Enhance Data base table:
    Follow the path:
    Spro ->Collaboration Project ->Global Enhancement to Project elements ->Enhance Database table
    You will get details about Object category, its Entity table and Structure with Customer Include/APPEND Structure
    Then go to Se11 and make changes as mentioned below:
    Add the fields required on cProjects Screen in table DPR_PROJECT in the Include "CI_DPR_PROJECT"
    2)Run Program DPR_CUST_FLDS_IN_FC_MAP and pass structure : DPR_TS_PROJECT_EXTENDED_ATTR
    Run Program DPR_CUST_FLDS_IN_FC_MAP in transaction code SE38 and execute it and in Structure w. Customer Include field, pass structure: DPR_TS_PROJECT_EXTENDED_ATTR, this will generate transport request
    3)Set up field control.
    Copy std. field control and create new.
    Path:Spro ->Collaboration Project ->Global Enhancement to Project elements ->Set up field control
    4)Create field group
    Path: Spro ->Collaboration Project ->Global Enhancement to Project elements ->Set up field control
    Define group to your field here for your field control.
    5)Define Field groups for Customer Fields
    Path: Spro ->Collaboration Project ->Global Enhancement to Project elements -> Define Field groups for Customer Fields
    Make entry here. Name of group is Name of tab page in cProjects front end
    Define your customer fields for field group
    6)Assign field control to your Project Type:
    Path : Spro ->Collaboration Project ->Structure ->Define Project type
    Assign custom defined field control to the project type in Field contol field at the bottom.
    With this seetings you should be able to see your custom defined fields in custom defined tab page.
    Regards,
    Niraj

  • Tab between fields when editing song information

    iTunes 10.4 removed the ability to tab between fields when editing song information. Is there another shortcut now?

    Yes, I know EXACTLY what you mean. Actually the Tab sequence was reversed in 10.4. I'm upset that it took me until Septeber 2011 to figure it out. For the longest time, probably every release of iTunes. The Tab sequence went (Source-->Tab-->Search Music box-->Tab-->Tracks List)
    Now it's the reverse and it's so annoying. I have both Mac and Windows and was able to downgrade my Windows iTunes to 10.3.x (though I had to downgrade to a previous iTunes Library.itl file. I cannot downgrade my Mac iTunes b/c it's my main library and I'd lose historic data by restoring and old iTunes Library.itl file
    I've written to Apple about this several times the past few weeks but they've yet to address this. The latest version is 10.5 and it hasn't been restored. I WISH Apple would RESTORE this feature to its ORIGINAL design!!!

  • LOV is not populating when pressing tab in OAF with common value

    Hi,
    How to make the LOV gets populated after entering any value and press the tab button.
    For ex: If i enter item number "100012" and press tab then the LOV is displaying the values and item description is auto-populated.
    In my case there are two values with '100012'..once i enter this value and press tab it says Loading, but no options comes up. “Loading” just goes away. But when i clicked on lov icon am seeing the values...
    I checked disable validation is not set to true, it has been set to false.
    Pls give me any suggestions.
    Regards
    --Harry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Naren,
    Sorry for late response...am sick actually....
    yes, In my case there are two item numbers '100012', with different vales(in lov region teble).
    Regards
    --Harry                                                                                                                                                                                                                                                                                                                                                                   

  • Pressing alt+tab to change program or pressing tab to move to next entry cell in a web page is causing Firefox to open a new tab

    A new tab is being opened in Firefox (started only today) when I do any of the following
    1. pressing alt+tab when in Firefox
    2. pressing tab to change data entry cell in a web page
    3. pressing direction keys (any of up - down - left - right)

    Upgrade Firefox to Firefox 13 (released today) and then try to Reset Firefox. This will fix most problems with Firefox that people experience. [[Reset Firefox – easily fix most problems]]

  • Itunes launches when I press Tab Key

    Anyone got any ideas on this one? Whenever I use the Tab key in MS Word it launches iTunes. If I’m trying to create tables or list items in Word it becomes a nightmare and takes forever.
    Even if I’m online filling in a form and press Tab to enter the next box, it launches iTunes

    Wow, I just deleted my playlist that I had and that fixed the problem..

Maybe you are looking for

  • I'm in trouble!!!

    I wouldn't call myself an expert by any means, but this is the 4th computer I've built and the second SATA based machine. This latest machine is going to be my HTPC machine. It has the following components: MSI RS480M2-IL mobo Seasonic SuperTornado 4

  • How to change the screen element of a single field in a table control

    Hi Gurus, I want to change the screen element of a single field (or the whole row) in a table control according to a condition. I have 2 columns in the table control. One is an input column and one output only. When user enters values into the input

  • Multiple database in the same ADF application

    In my application I have to access a legacy database, in addition to the main database. How do I handle multiple database connections. Do I need to manage the JDBC connection to the legacy database myself. Pranab

  • Web pages closing suddenly

    I've posed this question before, and although emptying the cache worked that time, it doesn't seem to be working this time. Web pages frequently close suddenly and I am prompted to note what I was doing when it happened and send it to mac. Mac must h

  • Iphone Imessages are Sent But Not received

    Problem: Imessage is going using iphone. But Wasn't able to receive in Iphone. But these received message are visible in other devices(Mac or Ipad). When you upgrade the iOS all the imessage settings are going to be refreshed and the latest and great