Problem when pressing ENTER for InputText object text

Hi,
I encountered a very strane anomly when pressing ENTER for
InputText object text.
1) I set the InputText object for having maxium 2 characters.
2) I set the InputText object for getting only numbers using
.restrict= "0-9";
Now, say the InputText is now empty.
1) Say I press the number "7" - the text line is now
containing - "7".
2) Now, I press ENTER - the "7" is cleared from the text
line.
Now, while the text box is clear, we think that we can insert
2 numbers.. but not!
3) I press a number, say "9" - the line contains "9"
4) I try to insert another number... but I can't!!
In order to be able to insert two numbers, I have to press
twice the Backspace in order to clear the "9" , and another ghost
note (the ENTER?).
How can I solve this anomaly?
Thanks
Yossi

Thank you very much! it works.
(Those tiny anomalies are so annoying, that it is so great
feeling to have them solved, thanks)

Similar Messages

  • EA2 - 'No Valid Query' message when pressing F4 (describe) on objects

    I am having a problem when pressing F4 on an object. In the SQL window I highlight a table, package etc and press F4 to describe the object. Before the description is displayed a blank message window appears with the title 'No Valid Query'. This can pop up several times before success. I am running this on Windows XP SP2 and oracle database 10.2.0.3.

    We had a bug logged for this issue. It has been fixed in EA3 (under development).
    -Raghu

  • When pressing Enter/Return to commit  a marquee selection the Feather box turns white for input!?

    When pressing Enter/Return to commit a marquee selection the Feather box turns white for input (and I'm not trying to chage the feather values)!? 
    Pressing Enter/Return should commit the selection but it doesn't why? I have not changed any short-cut preferences in PS CS6.
    When I use the Marquee or Lasso tool and make a selection and I'm happy with the selection, I press the Enter (PC)/Return(Mac) and the the "marching ants" should disappear...
    this has always worked until today!?
    Now, when I press the Enter key, the Feather box (next to the Anti-alias) on the upper left corner goes from grey to white and wants me to change the value?

    I was not able to reproduce the behavior you mentioned, though I don't normally make a practice of using the Enter key for that function (I tend to double-click to close the selection).
    Nor could I reproduce the behavior by holding down a modifier key.
    Have you tried restarting Photoshop?
    Rebooting?
    Resetting Photoshop's preferences to defaults?
    -Noel

  • OneNote 2013: Font changes when pressing Enter / Return key

    I have the same problem as this guy (who didn't get a relevant answer): http://social.technet.microsoft.com/Forums/office/en-US/233833f7-dde8-414d-bdca-604ed8d57667/onenote-2013-font-changes-when-pressing-enter-return-key?forum=officeitpro
    I set my default to Calibri 14, but every time I press enter (I make a lot of bullet lists) the font changes to Calibri 11. 

    Hi,
    Did you change the default font after you typed a few words in a note container?
    Setting the default font in Microsoft Office OneNote affects text that you type in new note containers only. It does not affect existing text or text that you add to existing note containers.
    If you want to change the font in an existing note container, you need to change it manually under
    Home tab > Basic Text.
    Thanks,
    Steve Fan
    TechNet Community Support

  • When pressing enter the values are converted to upper case in module pool

    hi
    tehre are three fields for maintanece in module pool
    wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
    i need to save in table as waht user has inputed not in upper case
    so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
    regards
    Nishant

    hi Nishant ,
    <b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
    IN the TOP INCLUDE**********************
    DATA :
           wempid TYPE z7684dp-empid ,   " same name as in the screen declaration
           wname TYPE  z7684dp-name,
           wacc TYPE  z7684dp-account,
           wdesg TYPE  z7684dp-designation,
           ok_code TYPE sy-ucomm ,
           wa_z7684dp TYPE z7684dp,
           t_z7684dp TYPE STANDARD TABLE OF z7684dp,
    *****IN THE PAI OF THE SCREEN 100(for example)***********
    MODULE user_command_0100 INPUT.
      CASE ok_code .
        WHEN 'CRE' .                 " function code for the pushbotton to insert the values
    TRANSLATE wdesg TO LOWER CASE.
    TRANSLATE wempid TO LOWER CASE.
    TRANSLATE wname TO LOWER CASE.
    TRANSLATE wacc TO LOWER CASE.
          wa_z7684dp-empid = wempid .
          wa_z7684dp-name = wname .
          wa_z7684dp-account = wacc .
          wa_z7684dp-designation = wdesg .
          INSERT INTO z7684dp VALUES wa_z7684dp .
          IF sy-subrc EQ 0 .
            MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ELSE .
            MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ENDIF.
          CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
    REVERT BACK WITH ANY FURTHUR QUERIES
    <b>DO REWARD WITRH POINTS IF USEFUL :)</b>

  • When press Enter i want to display the input in Report calling Smartform

    Hello Masters,
    I am new in to abap and i want to know that how can we display data on the same screen when we enter the value and press enter , for example when i enter a employee code in input field and when i press enter before executing my report i want to see the name of the employee for which i have enter in the field before execution. i am developing a Report which is calling a smartform for print.
    tables sscrfields.
    parameters: p_pernr type pa0001-pernr obligatory.
    at selection-screen.
      if sscrfields-ucomm eq space.
        sscrfields-ucomm = 'p_pernr'.
      endif.
    I thought that this code could have worked for me but its no use , can any one please help me with my issue

    here is some code what i have used in my report program , i will still like to remind that its an Logical database program (PNP) for ABAP-HR , right now i tried the code mentioned above but not getting any result.
    TABLES: pernr,sscrfields,pa0001.
    *& Declaring Type-pools
    TYPE-POOLS : slis.
    *& Declaring Infotypes
    INFOTYPES: 0000,          " Action
                         0001.          " Org. Assignment
    *& Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK n1 WITH FRAME TITLE t1.
    PARAMETER : p_despat TYPE zhr_transfer-despt OBLIGATORY,              " Despatch Number
                r_pernr  TYPE pa0001-pernr OBLIGATORY,                                    " Reporting to
                re_pernr TYPE pa0001-pernr OBLIGATORY,                                   " Relieving Authority
                a_pernr  TYPE pa0001-pernr OBLIGATORY MODIF ID one.             " Authorize Person
    SELECTION-SCREEN END OF BLOCK n1.
    INITIALIZATION.
      t1 = 'Transfer Records'.
      LOOP AT SCREEN.
        IF screen-name = 'PNPPERNR-LOW'.                                  " Personnel Number (Mandatory)
          screen-required = 1.
            MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN OUTPUT.
      IF a_pernr IS INITIAL.
        a_pernr = pa0001-ename.
      ENDIF.
    END-OF-SELECTION.

  • Problems when user enter the field

    I have problem when user enter the field, but it cannot retrieve from the table. Below is my program, help me to check is it correct or not, THANKS
    <input type="text" name="po_num<%=i%>" style="width:100%;text-align:left;" onChnage="chkPOexist(<%=i%>)">
    Function chkPOexist(i){
    if documen.all.po_num.value == null {
    alert ("PO cannot be null");
    else {
    po_num = new String;
    po_num = eval(document.po_num[i].value)
    alert(po_num);
    <% System.out.println("PP " +po_num);
    sql_query = "SELECT po_num"+
    " FROM pomast"+
    " WHERE po_num '"+po_num+"' ";
                        try{
                        rset = db.execSQL(sql_query);
                        catch(SQLException e) {
                        System.err.println("Error in query");
                        while(rset.next()== true){
    po_num = rset.getString("po_num");
    %>
    </select value="<%=po_num%>"><%=po_num%></select>
                        <%}%>

    You seem to have some confusion between java and javascript, and when they run.
    Java code runs only on the server, and produces an HTML page.
    Javascript code runs on the client.
    The two can not communicate. Specific to your example you seem to think that the java code will be executed by your onChange event.
    This is not the case.
    In order to run java code again you have make a request by submitting the form, or clicking on a link.
    Cheers,
    evnafets

  • Problem when querying OLAP for Value based hierarchy

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

  • Problem in custom jsp page when pressing enter button

    Hi to all,
    <pre>
    I am created a cutom jsp page. When i am clicking on a button it working fine, but if i am pressing
    Enter key it redirecting to home page and showing an exception in cosole.
    <b>Exception is </b>
    18:00:50,718 ERROR [WEBAPP] Class/Method: tcActionBase/execute encounter some problems: {1}
    java.lang.NullPointerException
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:110)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:619)
    18:00:50,718 ERROR [WEBAPP] Class/Method: tcAction/execute encounter some problems: {1}
    java.lang.NullPointerException
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:110)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:619)
    18:00:50,718 WARN [RequestProcessor] Unhandled Exception thrown: class java.lang.NullPointerException
    18:00:50,718 ERROR [[action]] Servlet.service() for servlet action threw exception
    java.lang.NullPointerException
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:110)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:619)
    </pre>
    Edited by: iceman513 on Aug 11, 2010 7:14 PM
    Edited by: iceman513 on Aug 24, 2010 10:32 AM
    Edited by: iceman513 on Aug 24, 2010 10:33 AM

    once you click a button, say, "Draw Rectangle", it should draw a rectangleYes, but you need to repaint() the component (in your case panel) to see the change.
    The error is: The method paintComponent(Grpahics) is undefined for the type ObjectThe compiler never lies. As far as your code goes, you have added a method paintComponent(...) to a class that implicitly extends Object. Perhaps you wanted to create an anonymous subclass of JPanel.JPanel panel = new JPanel() {
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        myPaint(g);
    };Note the changes in brace and semicolon placement.
    Also:
    1. You're setting a FlowLayout to a JPanel, which is anyhow the default layout manager. And when using a layout manager, setSize calls are redundant and effectively ignored.
    2. For a JFrame to be centered on the screen, setLocationRelativeTo(null) after setting the size, not before.
    3. To void visual artifacts, setVisible(true) after all other properties are set.
    It looks to me like you've been throwing together bits of code from here and there without adequate understanding. I recommend you go through the Swing tutorials linked from the topic listing page for this forum.
    db

  • CAT2 T-CODE: changing A/A type texts when pressing enter

    Hi all..
    I am working with CAT2 T-code.
    after giving data entry profile and personnel number when I am giving entries in A/A type and pressing enter one text is displayed for that particular type. If I am pressing enter one more time, the text of that A/A type is again changing to some other text.
    My requirement is to maintain the same text which is been populated in F4 help of that A/A type field.
    pls help me out with your valuable suggestions.
    Its urgent.
    Thanks in advance..

    I have found it..
    there was a Z class maintained for triggering these values.
    But these are populating different values which I need to stop and provide only the values which are been populated for F4 help of that particular field.
    There was a field moabw in catsd.
    I hv to maintain this field with 08 value to get the desired output.

  • CL_GUI_ALV_GRID Problems when using enter and f4 in one ALV

    Hi guys,
    i have the following problem:
    I Use a ALV, which has a column MATNR. The ALV provides the standard search help for this field automatically. so far so good. BUT i also need to read additional data, such as GLD, Material shortext etc, when the users presses the Enter Key.
    Here is my coding:
          CLASS lcl_events DEFINITION
    CLASS lcl_events_0300 DEFINITION.
      PUBLIC SECTION.
        METHODS:
          handle_data_changed
                FOR EVENT data_changed OF  cl_gui_alv_grid
                IMPORTING er_data_changed sender.
    ENDCLASS.                    "lcl_events DEFINITION
    The problem that occurs: if i select a material via f4, i just can add one material to the alv. if i place the cursor into the second line, press f4 again, the alv overwrites the MATNR in the first line
    i think the problem has to do with the fact, that the alv runs throug my enter event, when pressing f4.
    thats how i registered my event:
      g_o_alv_grid_bart_0300->register_edit_event(
      EXPORTING
       " i_event_id = g_o_alv_grid->MC_EVT_MODIFIED ).
         i_event_id = g_o_alv_grid->mc_evt_enter ).
    ...und EventHandler zuweisen
      CREATE OBJECT g_o_alv_events_0300.
      SET HANDLER g_o_alv_events_0300->handle_data_changed FOR g_o_alv_grid_bart_0300.
    kind regards, mark
    Edited by: Mark Wagener on Aug 19, 2010 11:39 AM
    Edited by: Mark Wagener on Aug 19, 2010 11:40 AM

    Sorry for forgetting the impl. part of the class!
          CLASS lcl_events_0300 IMPLEMENTATION
    CLASS lcl_events_0300 IMPLEMENTATION.
      METHOD handle_data_changed.
    HandleDataChanged                  ***
        DATA: ls_good                TYPE lvc_s_modi.
         FIELD-SYMBOLS: .
    alle Inhalte der geänderten Zellen in die interne Tabelle schreiben
        LOOP AT er_data_changed->mt_good_cells INTO ls_good.
    Dazu auf die richtige Zeile in der ITAB positionieren:
          READ TABLE  INDEX ls_good-row_id.
          IF sy-subrc = 0.
    Und das geänderte Feld dem Feldsymbol zuweisen
            ASSIGN COMPONENT ls_good-fieldname OF STRUCTURE .
            IF sy-subrc = 0.
    Feldwert zuweisen
              -matnr
            AND bwkey = werks.
      ENDLOOP.
    Und neu ausgeben
        g_o_alv_grid_bart_0300->refresh_table_display( ).
      ENDMETHOD.                    "handle_data_changed

  • Disable sending HTML-Form when pressing Enter from Web Transaction

    Hi,
    I have a web transaction and the corresponding HTML Template.
    In the template I have a form with input fields and a submit button.
    <FORM METHOD="post" ACTION="`wgateurl()`">
    <TD><INPUT TYPE="text" NAME="GWA_HEAD-PROFIT_CENTER" VALUE="`GWA_HEAD-PROFIT_CENTER`></TD>
    <TD><INPUT TYPE="submit" NAME="~okcode=APPR" VALUE="`#approve`"></TD>
    </FORM>
    My problem:
    When entering a value in the input fields and pressing enter the form is submitted.
    Is it possible to disable this way of submitting? I wan't only submit when clicking on the submit button.
    Could Javascript be a solution? But I don't want to check if all input fields are filled with onSubmit. Is there another way?
    Thanks for your help!

    Hi Chris,
    your link is not available now.
    Could you please explain how to fix this issue?
    Thanks in advance.
    GB

  • Strange behavior when pressing ENTER in a form page

    Hi there
    Please go to the address:
    http://apex.oracle.com/pls/otn/f?p=20104:4
    If you click the Create button, enter anything in the Name field and press ENTER while in the field, you will be taken back to the main page, the message Action Processed will be displayed, but no data will be inserted. If you click on the Create button though, it works fine.
    Have anyone seen this? Any explanation for it? How to fix it? I could not find any reason for this behavior (the Name field is NOT an always submit page when enter pressed field type).
    (btw the two pages are very simple, based on wizards without any customisation)
    Thanks
    Luis

    i guess, trying the input form, the input text field for Name is an item 'textfield submit on enter'. But what happens is that when enter is pressed no additionally submit information is send, which is the case with buttons. Buttons call the doSubmit('<BUTTONNAME>') javascript function on click, allowing the process to run when thee are set conditionally.
    Carl's answer by setting the process unconditional will also result this action will take place when another buton (without direct redirect) will fire this.).
    So additionally when multple buttons and processes some new javascript kan be used to do the right submit on Enter. Example:
    In Page header, or shared javascript import file create a JS function submitOnEnter
    function submitOnEnter(submit,e){
    var keycode;
    if (window.event) keycode = window.event.keyCode;
    else if (e) keycode = e.which;
    else return true;
    if (keycode == 13){
    doSubmit(submit);
    return false;
    }else{
    return true;
    Then with you're item you define the js-event onKeyPress to call the function submitOnEnter
    onkeypress="javascript:return submitOnEnter('CREATE',event);"

  • Space preserved when pressing enter in the code view

    Sorry guys. This may be a old problem in Dreamweaver cs5.5, but i can't find any solutions of solving this.
    When i press enter in the code view,same as the following:
    <div>
             <div></div> ------ (1)
             <div></div>  ------ (2)
    </div>
    Dreamweaver cs5.5 help me to indent.
    When i preview the page in my browser, i find that there is space between two div (1) and (2). (i set the display of block as inline-block in css) (but there is the same problem when i change div to span too)
    If i code as the following:
    <div>
             <div></div><div></div>
    </div>
    The space vanish.
    The problem is how can i code or set the dreamweaver such that there is no space preserved when i code as the top one?
    Thank you.

    Hi yftsol,
    I've just been working on the same problem.  My code formatting vanished upon uploading my site to my server.  What I think is happening is that Dreamweaver CS5.5 is getting confused about how to interpret the use of the enter key.
    The fix for my site was to go up to the opening <html> tag and remove all whitespace between it and the doctype declaration.  Then, I moved the opening <html> tag back down to my second line of the document and re-uploaded the file.  Then, when I viewed the source code from the live site, everything was formatted properly.
    I hope this helps!
    Rosemary

  • Nokia 5610 new phone hang when press enter key; it...

    Anyone facing this problem? I just brought couple of days only, I found the phone hang when i switch ON it and press Enter key after the PIN code. It looks no response and keep displaying on that screen.
    Solved!
    Go to Solution.

    15-Sep-2008 09:25 AM
    merceleong wrote:
    I sent it to reinstalled the software and it looks ok now but, anyone know for new phone, how long the battery will last? My unit found only two days without playing music all the time.
    Just an advise
    On it's first time fully charge and discharge - vice versa for three times. After that don’t drain your battery every day to 10-20% of its charge. You can actually expect battery problems by draining the battery frequently.
    Roughly every 30 charges, deliberately discharge your battery to 10-15%, and fully charge to 100% afterwards.
    This will help maintain the accuracy of the “fuel gauge” on the device (your battery meter or scale). It has nothing to do with the battery memory but helps maintain the accuracy of the device’s percentage of battery charge left.
    Good luck

Maybe you are looking for

  • URGENT LocalDirector 417 question

    Can you have two stickys (one for generic and one for ssl) for the same virtual for 80 and 443 like this: virtual 192.168.45.1:80:0:tcp is virtual 192.168.45.1:443:0:tcp is real 192.168.45.10:80:0:tcp is real 192.168.45.10:443:0:tcp is real 192.168.4

  • What is wrong with Adobe Update Manager???!!!

    Why in heaven's name can't Adobe fix their broken Update Manager?! Once again, the Update manager tells me that I have updates available, but the information is completely bogus. Two updates are listed: Photoshop CS5 12.0.4 and Illustrator CS5 15.0.2

  • What is causing my stalled UPD processes?

    We have been experiencing an occasional situation where all of our UPD processes go to sleep for long periods of time creating rather horrible response time for the end-users.  SM13 UPDATE RECORDS shows a growing list of items waiting for those UPD p

  • Car Charger for Zen Sleek Pho

    Hi. Are there any plans for Creative to release a car charger for Zen Sleek Photo The charger they have on the web site is not the right configuation. Thanks

  • Shell like application for e72?

    I am looking for a port of something like Bash or Zsh or some other shell for my cell phone. I use putty for SSHing to another machine right now but I am looking for something that can access my cell phone's file system, have basic terminal capabilit