Wat action should be associated when we press enter?

Hello all,
i ve a requirement where in, an input field should get activated, when i press the enter key.
can any of you help me in this regard.
thanks in advance.
thanks and regards,
Santhosh Guptha N

Hi Santhosh,
First create a context attribute named InputFieldVisibility.
Change the type of this attribute to the type com.sap.ide.webdynpro.uielementdefinitions.Visibility
Now under the layout tab, select your InputField and set the visible property to InputFieldVisibilty
Create a new action called VisibilityAction() and bind this action to the onEnter property of your InputField.
Under the implementation tab,
Inside wdInit(), write the following line of code,
wdContext.currentContextElement().setInputFieldVisibility(
               WDVisibility.NONE);
And inside the onVisibiltyAction(), write the following line of code,
wdContext.currentContextElement().setInputFieldVisibility(
               WDVisibility.VISIBLE);
Regards
Kishan

Similar Messages

  • I can't put numbers on the decimals. It only allow ,00 as decimals. If i put 33.00 it's ok but i i put 33.44 when i press enter changes to 3344 as an entire number, i've try everything and can't find the solution. This should be a basic thing.

    I can't put numbers on the decimals. It only allow ,00 as decimals. If i put 33.00 it's ok but if i put 33.44 when i press enter changes to 3344 as an entire number, i've try everything and i can't find the solution. This should be a basic thing. How frustrating !!

    pedrofromsydney wrote:
    €          55,555.00
    that's the result i get. Still why can't i just type for ex. 29.55 and stay like that on the cell ? Why does it always change to 2955 or 2955.00. ??
    I don't understand this
    It appears you have the cell formatted to Currency, with the default two decimal places.
    What I don't understand, though is how Numbers arrived at a result of fifty five thousand five hundred fifty five on your entering the exact keystrokes in Yvan's post:
    an equals sign, followed by five ones, followed by a forward slash, followed by a 2.
    Here's the result I get:
    Could you do the following:
    Open a NEW Numbers document using the Blank template.
    Drag the Row and Column control (bottom right corner) to reduce the table to two columns and three rows.
    Enter the words "My table" in cell A1.
    Click on cell B2 to select it, then enter the formula 
    =11111/5
    Use only those eight keystrokes; do not include any commas, periods or other characters not shown.
    Click on B2 again to select it.
    Open the inspector and choose the Cell Format button.
    Do not make any changes in the Inspector window.
    Drag the Inspector window to the position shown in my screen shot.
    Take a screen shot that includes the Formula bar, the Table (with cell B2 selected) and the Cell Format Inspector pane (the same screen area as in my screen shot above).
    Post the screen shot in a reply to this post.
    I'm hoping there will be some clues as to what's happening here in the screen shot. Procedure for taking and posting a shot of part of the screen follows.
    Regards,
    Barry
    SCREEN SHOTS (Selected area)
    Place the mouse pointer at the top left corner of the area you want to include.
    Press shift-command-4.
    The mouse pointer will change to a plus sign on a circle.
    Hold down the mouse button and drag to the bottom right corner of the area you wan to capture.
    Release the mouse button.
    The screen shot will be saved to your desktop with the name "Picture 1" (The number will be different if you have taken other screen shots).
    POSTING
    In the Compose frame, place the Insertion point at the location you want the picture to be inserted.
    Click the camera icon above the compose frame to open the Insert Image dialogue.
    Click Choose file to open the Choose dialogue.
    If necessary, navigate to the Desktop and click on the 'by date column header to sort the files by date, most recent at the top.
    Select the most recent picture file.
    Click Choose.
    Wait for the picture's file name to appear beside Choose file.
    Click insert image.
    Done.
    B.

  • Empty cells will be filled when you press ENTER

    Hello Experts,
    how can you do the following
    I type in a particular cell any number (3 or 4 or 8 etc.) and all the
    empty cells in the ALV should be filled witt the enterd number when I press ENTER
    Is somewhere a tutorial or an example ?
    Regards
    Sas

    first read the value ... then loop at screen .  ,, then give the all fields value equal to that value .... then change screen ..

  • Why do my email addresses change when I press enter after each To: entry?

    When I start to type a contact name in the text box for a recipient of an outgoing email, typing the first letter no longer brings up contacts that start with that letter. Then, after I select the correct one from further down the list (and it appears, highlighted) when I press Enter, the field changes from the desired recipient to the top one in the list.
    This has changed very recently. I have been using TBird for over two years without this issue.

    It is a bug, actually two.
    See [[https://bugzilla.mozilla.org/show_bug.cgi?id=1107844 Bug 1107844]] Recipient autocomplete: For multiple matches, select dropdown result other than first using mouse click, confirm with Tab or Enter, and TB uses 1st result instead (i.e. private msg gets easily addressed and sent to random recipients)
    [[https://bugzilla.mozilla.org/show_bug.cgi?id=970456 Bug 970456]] Recipient autocomplete: Implement scoring algorithm to prioritize "beginsWith" wordwise matches over "contains" matches: search for "be" should toplist "Ben" and "Betty" over "HolBErt" (having "be" in the middle of word)

  • Lines appear under all text when you press enter--edit?

    Hello,
    I have a text box, whose formatting I want to edit.
    When you press enter a horizontal line appears automatically before you enter in text on the new line. I want to edit this line so it is closer to the text.
    Where do I go to edit this feature? I already looked in text frame options and I know that it is not a style.
    Thanks,

    Sounds like a paragraph rule.

  • Why doesn't it begin a new paragraph when I press "enter?"

    Supposedly, when in paragraph mode, you can begin a new paragraph by pressing "Enter" in Windows.  But, when I press "enter" it commits and takes me out of paragraph editing mode.  This is very frustrating.  What is the remedy?

    I only experience the problem when I'm trying to do paragraph text in Adobe CS4.  I have a Lenovo laptop that has 2 enter buttons:  one with the number keys and the second with the alphabet keys.  For whatever reason, both enter keys "commit" the text when pressed.  I did find out that if I press the FN key with the Enter Key, then it takes me to the next paragraph.  But, that is a little "weird" since regular paragraph text doesn't work like that.  Can this be changed in my settings?
    Thanks,
    Becki Miller

  • Clearing the TextArea texts when I press Enter key

    How to clear the texts that I have typed into the TextArea when I press Enter Key?
    I have now added a TextArea instance called input_txt to the stage and added an component event listener to detect when I press enter key. Then an event fires up which first reads the input to a string variable.
    But next I need to automatically clear the texts in the TextArea.
    How to do that?
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        // removing texts in the text input area-------- how?
    input_txt.addEventListener(ComponentEvent.ENTER, readInput);
    Please help.
    Thank You

    ComponentEvent.ENTER occurs before the line feed is added to the text, and is not cancelable, so you'll probably need to set a flag and do the clearing in an Event.CHANGE handler. Something like this:
    import fl.events.ComponentEvent;
    input_text.addEventListener(ComponentEvent.ENTER, readInput);
    input_text.addEventListener(Event.CHANGE, changeHandler);
    var clearing:Boolean=false;
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        clearing=true;
    function changeHandler(event:Event)
    if(clearing)
      input_text.text="";
      clearing=false;

  • MODULE POOL WHEN WE PRESS ENTER KEY IN A TBL CONTROL THEN CURSOR GO TO FIRS

    DEAR ALL,
                    IN MODULE POOL WHEN WE PRESS ENTER KEY IN A TBL CONTROL THEN CURSOR GO TO FIRST INPUT/OUTPUT BOX  I WANT THE CURSOR WILL STAY ON THAT TBL CONTROL COLUMN.
      PLZ TELL ME HOW I CAN DO THIS.
    THANKS
    SHASHI
    Moderator message: no upper case please, search for available information before posting.
    Edited by: Thomas Zloch on Mar 11, 2011 11:50 AM

    Hi,
    This is possible only for check boxes and radio buttons.
    for others you atleast need to double click.
    please note double click is possible.
    regards
    Ramchander Rao.Krishnamraju

  • Is there a way? When I type something in the search engine feature, is there a way that when I press enter to search, it comes up in a new tab, rather on the page I am using?

    When I type something in the search engine feature, is there a way that when I press enter to search, it comes up in a new tab, rather on the page I am using?

    Yes, and I presume you mean both the search engine results, and the pages opened from the results.
    Without making any changes you could always use '''Alt+Enter''' once you typed something into the search bar, or the location bar so that it would appear in a new tab. From the search results page you could always use "'''Ctrl+click'''" or "'''Ctrl+Shift+click'''" to open link n a new tab
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    * Keyboard shortcuts | How to | Firefox Help<br>https://support.mozilla.com/kb/Keyboard%20shortcuts
    The configuration entries of interest:
    * '''browser.search.openintab''' user set boolean '''true'''
    * '''browser.tabs.openinnewtab''' user set boolean '''true'''
    Documentation
    * http://dmcritchie.mvps.org/firefox/tabs_config.htm
    * http://kb.mozillazine.org/About:config_entries (I use keyword shortcut of :"aboutconfig:" )
    * http://dmcritchie.mvps.org/firefox/tabs.htm
    Google settings:
    * [x] Open search results in a new browser window.
    :By default Google opens links in its search results to the same new tab, but I believe that the configuration changes supplied also fix that because I no longer have to use the keyboard shortcuts to override.
    Tools ("Alt+T") > Options > Tabs
    * [x] Open new windows in a new tab instead

  • When i press enter on my editable ALV nothing happens - Why?

    Hi,
    i have an editable alv on an tabstrip and when i press enter after changes nothing happens, although i have programmed check_changed_data.
    That´s not normal, or? Mayby somebody can give me a hint.
    Timo

    Hi,
    After changing the data use the following method to refresh the table.
        CALL METHOD W_GRID1->REFRESH_TABLE_DISPLAY.
    If it solves your problem dont forget to reward me points.
    Regards,
    --Suman

  • TS3048 my screen has frozen on problem loading page, my wireless mouse does not connect to the screen (its got new batteries). the keyboard works when you press enter.

    My mouse (new batteries and wireless), does not connect to my screen on my mac. The screen responds when I press enter, but I cannot move around it as there is no mouse.  The screen has frozen on 'problem loading page'.

    My mouse (new batteries and wireless), does not connect to my screen on my mac. The screen responds when I press enter, but I cannot move around it as there is no mouse.  The screen has frozen on 'problem loading page'.

  • How can i display the values in a table when i press enter

    hi,
    I have three text boxes and a table with three columns in a jsp page.When i keyin some values in the text boxes and press Enter these values should be dispalyed in the three columns of the table.When once again if i key in the text boxes with some other values these values should also be displayed in the table columns in another row.Can it be done.Pls help me.Hoping for a reply.
    Thanks
    Naveen

    hi
    just go through the Code below:
    this helps you but this works in IE only.
    <html>
    <head>
    <script language="javascript">
    <!--
         function show(frm) {
              Show.innerText = frm.desc.value;
         } // closing the function show()
    //-->
    </script>
    </head>
    <form name="testform">
    <textarea name="desc" rows="3" cols="20"></textarea>
    <input type="button" name="buttsub" value="Submit" onClick="javascript:show(this.form)">
    <br>
    <table width="500">
    <tr><td bgcolor="#e6e6e6">
    <div id="Show"> </div>
    </td>
    </tr>
    </table>
    </form>
    </html>
    Cheers
    rambee

  • Location bar does not go to address when I press enter

    I've just upgraded to Firefox 4.0.1. When i click on an address or type in an address in the location bar and press ENTER on my keyboard, it doesn't take me to the address, the tab stays blank like i've not done anything. I have to click on the little arrow key at the right hand side of the location bar for it to go anywhere!
    How do i fix this? I've been in to the Tools>Options menu and checked the box that says "When i open a link in a new tab, switch to it immediately" but this hasnt done anything.
    Thank you

    AVG Safe Search has been known to cause that problem. Disable it (Add-ons, click on it, click "Disable") and restart Firefox, then test.
    Check with AVG for an update.
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Shockwave Flash 10.1 r102
    *Next Generation Java Plug-in 1.6.0_23 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • How to show a relevant value in alv table, when i press enter key

    I created a alv table. in this table there is a column called user id, and the other column called user name.
    what do I want:
    i wanna input a value in column user id eg. user id = D1111; when i press the enter keyboard, the column user name will be shown the value, which is relevant with user id.

    Hi,
    My first idea :
    Catch the event enter in ALV and select the name using the userid.
    This will be useful:
    Event Handler onEnter in ALV
    ON_DATA_CHECK - Web Dynpro for ABAP - SAP Library
    also this:
    ON_CELL_ACTION - Web Dynpro for ABAP - SAP Library
    Have fun,
    Hancila

  • Hi  urgent pls suggest when i press enter the data disappears...

    hi
    i have develop,ed a module pool for table maintianece
    in which  there are theree fields
    customer number name  email id
    now when i dont press enter at first field ie customer number after entering all data
    and save the data is saved properly for all three fields
    but if after e ntering the customer number i press enter and then enter name and email id
    and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
    can anyone suggest reason and solution for it
    regards
    Arora

    hi
    here is my code
    PROCESS BEFORE OUTPUT.
      LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
        MODULE STATUS_0200.
      ENDLOOP.
    *Process after input
    PROCESS AFTER INPUT.
      MODULE CANCEL_200 AT EXIT-COMMAND.
      LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
       MODULE USER_COMMAND_0200.
        CHAIN.
          FIELD t_ZCUST_EM_create-ship_to .
         MODULE set_field_validation ON CHAIN-REQUEST.
        ENDCHAIN.
        MODULE USER_COMMAND_0200.
      ENDLOOP.
    here ship_to is customer number
    ship_to_name is name
    and email id is email id field
    pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
    as below
    MODULE STATUS_0200 OUTPUT.
      w_lines_200 = sy-loopc.
    *Reading table t_zcust_em_create for screen 200.
      read table t_zcust_em_create
        index table_zcust_em_create-current_line.
    *Refreshing The Internal table 't_zcust_em_temp'
      refresh:t_zcust_em_temp.
    ENDMODULE. 
    MODULE set_field_validation INPUT.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                   INPUT         = t_zcust_em_create-ship_to
                IMPORTING
                    OUTPUT       = t_zcust_em_create-ship_to.
      select single kunnr from kna1 into v_kunnr
              where kunnr = t_zcust_em_create-ship_to.
          if sy-subrc = 0.
           select single name1 from kna1 into t_zcust_em_create-ship_to_name
           where kunnr = t_zcust_em_create-ship_to.
          else.
          t_gui1-fcode = 'BACK'.
          append t_gui1.
          t_gui1-fcode = 'EXIT'.
          append t_gui1.
          t_gui1-fcode = 'SAVE'.
          append t_gui1.
          SET PF-STATUS 'AIMS_200' excluding t_gui1.
          message E002 with t_zcust_em_create-ship_to.
             endif. "kna1
    ENDMODULE.                 " set_field_validation  INPUT
    MODULE USER_COMMAND_0200 INPUT.
    *Setting it for select/deselect entries
      move:t_zcust_em_create to t_zcust_em_create_sel.
      append t_zcust_em_create_sel.
      clear:t_zcust_em_create_sel.
    *Getting internal table t_zcust_em_create with control
      read table t_zcust_em_create
             with key ship_to = t_zcust_em_create-ship_to.
    *Getting internal table for create entries: screen-200
      if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
        append  t_zcust_em_create     .
        move:t_zcust_em_create to t_zcust_em_create_tmp.
        append t_zcust_em_create_tmp .
        clear:t_zcust_em_create_tmp  ,
              t_zcust_em_create      .
      endif.
      clear:t_cols.
    *Getting the value of  w_fill_200.
      describe table t_zcust_em_create lines w_fill_200.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    PLEASE SUGGEST
    REGARDS
    ARORA
      module read_table_value_0200.

Maybe you are looking for

  • Using SASS in Dreamweaver

    Hi there, I am trying to figure out how to start using SASS files in Dreamweaver. The error message I get when trying to open is: "Can't find a valid editor for this file extension". All my SASS files are valid and open well with Eclipse. sass-lang.c

  • Unable to drag or delete guides in PS CC

    Really getting ticked with all the bugs in CC! Trying to design a book and the guides I make won't move or delete. My ruler is in inches and guides always move slightly off the marks I try to align them to so I try to move them and can't, I can't dra

  • After install OIM, i how to start OID server?

    after install OIM, i how to start OID server?

  • How to solve the problem of my boomarks disappearing?

    Since I upgraded to firefox 4. My bookmarks keep disappearing. I tried the solutions in the lost bookmarks section but that didn't help. Should I just uninstall firefox 4 and reinstall from scratch?

  • Pending DO list against Scheduling Agreement

    Hi All, Could someone tell me how to extraxt list for pending DO list against Scheduling Agreement? Please reply me. Thanks, Sangeetha