title: Disable enter in module pool sap abap
body: <p>I have created a function module pool in sap abap. How can I make it possible when the user presses enter the values in input field not to disappear?</p>
  
  <pre><code>MODULE user_command_0200 INPUT.
        CASE ok_code.
          WHEN 'EXIT'.
            LEAVE PROGRAM.
          WHEN 'BACK'.
            CALL SCREEN 100.
          WHEN 'DISPLAY' .
            SELECT SINGLE * FROM ekpo
            WHERE ebeln = ekpo-ebeln AND ebelp = ekpo-ebelp.
            ssn = 400.
        ENDCASE.
         CLEAR: ekpo-ebeln ,ekpo-ebelp.
        CLEAR ok_code.
  
      ENDMODULE.
  </code></pre>
  
  <p>What Am I missing.If I remove    <code>CLEAR: ekpo-ebeln ,ekpo-ebelp</code> even if I change screens the fields remain filled.
  How to keep the values in the field and even if the user  presses enter nothing should happen.</p>