Handling Enter ey of keyBoard

hi all
does any body know how to handle Enter key.
infact in my OA framework pages when i press nothing happens..so ultimately i have to click the button on the page..
i want to five some default behavior when i press enter ..
pls give me an idea...
thanking 4 ur kindness..
regards,
naveen

i didnt get u ..
why should i put this in processRequest ..why not in processFormRequest...
see my controller code looks like
/*===========================================================================+
| Copyright (c) 2001, 2003 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package igate.oracle.apps.icx.irep.client.server.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import java.io.Serializable;
* Controller for ...
public class igteupdatedbmpCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
String instancename;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
TransactionUnitHelper.startTransactionUnit(pageContext, "empUpdateTxn");
instancename = pageContext.getParameter("InstanceName");
pageContext.putTransactionValue("InstanceName", instancename);
Serializable[] params = { instancename };
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("initDetails1",params);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("Apply") != null)
am.invokeMethod("apply");
OAViewObject vo = (OAViewObject)am.findViewObjec("getcreatemappingVO1");
TransactionUnitHelper.endTransactionUnit(pageContext, "empUpdateTxn");
MessageToken[] tokens = { new MessageToken("INS_NAME",instancename)};
OAException confirmMessage = new OAException("ICX",
"ITE_IREP_INST_UPDATED", tokens,
OAException.CONFIRMATION, null);
pageContext.putDialogMessage(confirmMessage);
pageContext.forwardImmediately("OA.jsp?page=/ite/oracle/apps/icx/irep/client/server/webui/igte_databasemapping",
null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
else if (pageContext.getParameter("Cancel") != null)
am.invokeMethod("rollbackEmployee");
TransactionUnitHelper.endTransactionUnit(pageContext, "empUpdateTxn");
pageContext.forwardImmediately("OA.jsp?page=/ite/oracle/apps/icx/irep/client/server/webui/igte_databasemapping",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
so my page has cancel and apply button..i want to give enter and apply button same functionality..
can u give me an idea now...
pls
regards
naveen

Similar Messages

  • Please fix this problem. "Enter" on our Keyboards means to go to the next line of type. You have enter as a termintor and a normal typist has to try a few times to get used to your site.

    I have a Dell Inspiron with Win-7. I had FF on it but too many conflicts developed so I deleted FF.
    Only I miss FF a LOT! And I want to use it again.
    Can you help me out? Will FF run on Win-7?
    And what do I have to do to make it happen.
    I have a Laptop too. I'll be going to it after we get the Wireless Router working.

    Your title line is certainly not a true statement. It is certainly also used for "Enter", it depends on what you are doing. It also is used for entering the highlighted choice in a dialog window and is part of the reason why my middle mouse button is set to "Enter". Old keyboards used to have two separate keys, one for new line, and one for Enter.
    Perhaps if you explained where it is giving you a problem we could provide a more reasoned answer -- may not be what want, but there is probably logic behind what you get.
    Of course Firefox can run on Windows 7, it would not be popular if it couldn't.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>
    * Windows 7 Home Premium<br>http://dmcritchie.mvps.org/windows-7/win7.htm
    * Firefox Problems &amp; Issues (Notes)<br>http://dmcritchie.mvps.org/firefox/firefox-problems.htm
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    You can make '''Firefox 6.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 6.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.

  • Where is the "enter" on the keyboard?

    Where is the "enter" on the keyboard? I am lost.. \

    lindafromjackson wrote:
    Where is the "enter" on the keyboard? I am lost.. \
    If "Enter" is not on keyboard, try "Return"
    Stedman

  • Trigg the 'Query' button when pressing 'Enter' on the keyboard

    I have a form with 2 buttons, 'query' and 'reset'.
    I would like that the 'query' button is triggerd (pressed) when the user presses 'Enter' on the keyboard. In regular html I think this is accomplished if the button is a 'submit' rather than a 'button' type, but I haven`t found a way to edit the
    type of button in Portal.
    Users belive it`s very annoying to have to move the mouse over the 'query' button to execute the query, and would rather like to just press 'Enter'.
    I`ve tried to use a javascript (onKeyPress), but if you make a javascript in Portal, you`re not allowed to add this to your button, only as an 'form-' or 'field validation' in a textbox.
    Is there anyone who knows a way to get this functionality?
    Regards,
    Orjan

    One of the AVG add-ons for Firefox has been reported to cause that to happen. Disable that add-on until AVG fixes it.

  • When click on "Enter" on the keyboard will not effect the "login" button?

    Hi,
    I have a login page (jsp). Containing: - a username field , a password field and a login button.
    I want that when i hit enter om my keyboard the login button wil be effected, But in my situation the login button wont be effected unless i click with my mouse on the login button. Is there a solutions for this problem?.
    Thanks

    Hi,
    change <h:form< to <af:form>, set the ID value for the button and then define the button ID in af:form as the default action
    Frank

  • How to enable enter button on keyboard for action on jsp page with adf11g

    hello,
    i have a login page, when i press login button with mouse it is working.
    But i want to click 'enter' button on the keyboard when inputbox is focused.
    For example i entered user and i entered passsword and click 'enter' button on keyboard for login action. How can i do this easily with adf11g ?
    thanks for interests.

    i tried but on af:form we have not defaultAction. i saw, there has defaultCommand i tried this but not acceptable by warning that about, "no id or naming containers". We has an id on command but what is naming containers.
    Other question is,
    How to write javascript on the adf tools? We have not any, "onClick, onPressed vs..".
    Thanks for helps.

  • How to handle enter button in Jdevloper

    hi all,
    Is there any code to handle ENTER button,
    Thanks

    I'd be really cautious here.
    I read "self service pages" and immediately thought "Oracle E-Business Suite, OA Framework"
    If that's the case, I suggest you post on the OA Framework forum. If you're talking about ADF Faces, then Didier has pointed you in the proper direction.
    Regards,
    John

  • Editable ALV - handling Enter key  when pressing enter on keyboard

    Hi folks.
    Now I have searched - and found a lot of threads - in this forum about my little problem.
    I'm using the <b>Function Module: REUSE_ALV_GRID_DISPLAY - NOT THE OO-version</b>!!!!!
    I have a editable list as result of finding some data. My problem is.
    When I change the value in one of the cells, and press the Enter key (not a click with the mouse on the Green button with the checkmark!) nothing happens!
    I have
        i_callback_pf_status_set  = 'SET_PF_STATUS'
        i_callback_user_command   = 'USER_COMMAND'
    And when I put a breakpoint in the USER_COMMAND form nothing happens - <b>ONLY IF I CLIKS WITH MY MOUSE ON THE Green button with the checkmark</b>!!
    Hope U have some idea!
    Best regards
    Carsten :o)

    Hi,
    Following the sample program for EDITABLE BLOCK ALV report.
    REPORT  YMS_EDITBLOCKALV.
    TABLES : rmmg1,MCHB, mkpf.
    DATA: BEGIN OF t_mseg OCCURS 0,
            zeile LIKE mseg-zeile,
            menge LIKE mseg-menge,
            meins LIKE mseg-meins,
            matnr LIKE mseg-matnr,
            werks LIKE mseg-werks,
            charg LIKE mseg-charg,
            bwart LIKE mseg-bwart,
    END OF t_mseg.
    DATA:BEGIN OF t_mchb OCCURS 0.
    INCLUDE STRUCTURE mchb.
    data flag type c.
    matnr LIKE mchb-matnr,
    charg LIKE mchb-charg,
    werks LIKE mchb-werks,
    clabs LIKE mchb-clabs,
    DATA END OF t_mchb.
    TYPE-POOLS slis.
    data: progname like sy-repid,
    fieldcattab TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    data tabindex type i.
    data wa_matnr LIKE mchb-matnr.
    progname = sy-repid.
    SELECTION-SCREEN BEGIN OF BLOCK b_b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS s_docno FOR mkpf-mblnr OBLIGATORY.
    PARAMETERS p_docyr LIKE mkpf-mjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b_b1.
    START-OF-SELECTION.
    SELECT zeile
    menge
    meins
    matnr
    werks
    charg
    bwart
    FROM mseg
    INTO TABLE t_mseg
    WHERE mblnr IN s_docno AND mjahr = p_docyr.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'ZEILE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Item'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MENGE'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Quantity'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'MEINS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Unit'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Material'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Plant'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 6.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Batch No'.
    APPEND fieldcattab.
    CLEAR fieldcattab.
    fieldcattab-col_pos = 7.
    fieldcattab-fieldname = 'BWART'.
    fieldcattab-tabname = 'T_MSEG'.
    fieldcattab-seltext_l = 'Inventory'.
    fieldcattab-hotspot = 'X'.
    APPEND fieldcattab.
    end-of-selection.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND1'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = fieldcattab[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT = fieldcattab
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mseg
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM usercommand1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    tabindex = rs_selfield-tabindex.
    read table t_mseg INDEX tabindex.
    select * from mchb into table t_mchb where matnr = t_mseg-matnr.
    clear fieldcattab.
    CLEAR fieldcattab[].
    fieldcattab-col_pos = 1.
    fieldcattab-fieldname = 'FLAG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Check Box'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 2.
    fieldcattab-fieldname = 'MATNR'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-fix_column = 'X'.
    fieldcattab-seltext_l = 'Material'.
    fieldcattab-emphasize = 'C1'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    fieldcattab-checkbox = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 3.
    fieldcattab-fieldname = 'CHARG'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Batch No'.
    fieldcattab-emphasize = 'C2'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 4.
    fieldcattab-fieldname = 'WERKS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Plant'.
    fieldcattab-emphasize = 'C30'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    clear fieldcattab.
    fieldcattab-col_pos = 5.
    fieldcattab-fieldname = 'CLABS'.
    fieldcattab-tabname = 'T_MCHB'.
    fieldcattab-seltext_l = 'Stock'.
    fieldcattab-emphasize = 'C601'.
    fieldcattab-input = 'X'.
    fieldcattab-edit = 'X'.
    APPEND fieldcattab.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = PROGNAME
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USERCOMMAND2'
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
    IT_FIELDCAT = FIELDCATTAB[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endcase.
    endform.
    FORM usercommand2 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE
    slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    IF rs_selfield-sel_tab_field = 'T_MCHB-MATNR'.
    CALL FUNCTION 'ZALV2'
    EXPORTING
    CTU = 'X'
    MODE = 'E'
    UPDATE = 'A'
    GROUP =
    USER =
    KEEP =
    HOLDDATE =
    NODATA = '/'
    MATNR_001 = '200-200'
    KZSEL_01_002 = 'X'
    IMPORTING
    SUBRC =
    TABLES
    MESSTAB =
    SET PARAMETER ID 'RID' FIELD RMMG1-MATNR.
    CALL TRANSACTION 'MM03' and skip first screen.
    ENDIF.
    ENDCASE.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = progname
    i_callback_user_command = 'USERCOMMAND3'
    it_fieldcat = fieldcattab[]
    TABLES
    t_outtab = t_mchb
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    endcase.
    ENDFORM.
    Thanks,
    Sankar M

  • After update enter key on keyboard is gone, how do I get it back?

    after updating my phone my keyboard lost the enter key, how do I get it back?

        tedIII We certainly want you to have a fully functioning keyboard. The enter key is the arrow on the right side of the keyboard towards the right of the period.
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • How to handle 'ENTER' Key on ALV Editable Grid on sub screen (Tabstrips)

    Hello Experts ,
    I have 2 questions with ALV Editable grid;
    please help me if you have answers.
    I created ALV grid on one of sub screens on a Tab Strip,
    As soon as user types one of the columns of the ALV grid and press u2018ENTERu2019 key, it has to return corresponding details for that line.
    I tried to implement this logic in ALV grid event u2018handle_data_changedu2019, but ALV internal table is not getting populated with new entry entered in the grid. but u2018double_clicku2019 event working my purpose, but user might need enter key.
    and I thought I would do implement that logic in PAI event of the sub screen, u2018ENTERu2019 key not getting trigger on PAI event of the screen until cursor is on grid.
    Another question 2:  How do I control and not to be deleted a line on the grid (based on validation), where do I validate and by pass the delete function for a particular line, or suggest me to gray out only one line on the grid .
    I would like to have delete function to work as it is ,except for some validations..
    Can I implement using PAI event of the sub screen or any by ALV event.
    Please suggest me..
    Edited by: Ravindranath Arusam on May 13, 2010 2:42 PM

    In DATA_CHANGED event, you will get the modified row into the attribute MP_MOD_ROWS of the impoerting object ER_DATA_CHANGED. Since this MP_MOD_ROWS is the Object reference to Data, you need to have the field symbol to get the value.
      FIELD-SYMBOLS:  <lft_mod_output>  TYPE t_t_output.
      ASSIGN  er_data_changed->mp_mod_rows->* TO <lft_mod_output>.
    You can get the Value of the Cell by using the method GET_CELL_VALUE of the same ER_DATA_CHANGED object and use the method MODIFY_CELL To update the value back to ALV.
    To Restrict the row deletion:
    When the row is deleted it is being added to Attribute mt_deleted_rows of the object ER_DATA_CHANGED. You can put the data back to the table in the DATA_CHANGE_FINISHED event. Visit this post http://help-abap.blogspot.com/2008/10/alv-disable-delete-key-on-keyboard-in.html for more information.
    Regards,
    Naimesh Patel

  • Handling 'enter key' event in alv using classes

    Hello all,
        i have a scenario where i have a grid from which i have to select a row and press 'enter' key, then the row would be added to grid on top of it. we have developed this grids using control and classes.
        please any one tell me how would i get the enter key code.
    Thanks,
    krishnam raju N

    HI Raju
    just go through these
    check the sample program.
    <b>BALV_POPUP_TO_SELECT
    ENTER is nothing but selecting the record.
    </b>
    Re: ALV  'ENTER' key
    and go through this code
    constants :
    C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = V_REPID
    I_CALLBACK_PF_STATUS_SET = C_PF_STATUS
    I_CALLBACK_USER_COMMAND = P_USER_COMMAND IS_LAYOUT = WA_LAYOUT
    IT_FIELDCAT = IT_FIELDCAT[]
    IT_EXCLUDING = IT_EXTAB[]
    IT_SORT = IT_SORT[]
    TABLES
    T_OUTTAB = P_ZBCAR50
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    2.
    *& Form F_SET_PF_STATUS
    Set PF_STATUS STANDARD modifying the standard toolbar
    by excluding some buttons
    -->P_IT_EXTAB -- TABLE OF EXCLUDING FUNCTIONS
    FORM F_SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
    CLEAR : WA_EXTAB,
    IT_EXTAB.
    *--Set the Modified PF status for the ALV.
    SET PF-STATUS 'STATUS_01' EXCLUDING RT_EXTAB.
    ENDFORM. " SET_PF_STATUS
    3.
    *& Form f_user_command
    Handle user action on ALV toolbar
    FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    DATA : L_ANSWER TYPE C.
    RS_SELFIELD-REFRESH = C_X.
    IF R_UCOMM = 'ENTR'.
    Do your processing here.
    ENDIF
    and go through these links
    <b>how to identify pressing ENTER on ALV
    How to capture the event in ALV grid display?
    Re: ALV-Grid: No reaction to Enter-Button
    </b>
    IF IT HELPS REWARD WITH POINTS
    Regards Rk
    Message was edited by:
            Rk Pasupuleti

  • Handling Enter Key in Editable ALV Grid using REUSE_ALV_GRID_DISPLAY

    Hello All,
    I have seen a number of threads on captioned issue and everyone of them say to create FCODE for Enter in the Screen's PF Status and then handle the event.
    But the catch is when you hit Enter key in ALV Grid, it will not trigger any FCODE at all because the FCODE Enter you have created is for the screen and not for the GRID. Can anyone please let me know if SAP has given any standard utility in REUSE_ALV_GRID_DISPLAY FM for handling the Enter key event.
    Thanks and regards,
    Mahesh

    Hi,
    Set the PF-status for OK key and use the FCODE or u can usethe dynamic ok_code generated .
    Also try 'ENTE' .
    Hope thishelps.

  • Handle "Enter" inside Custom Container

    Hi all,
    I am having 4 to 5 fields in my module pool screen and at the same time i am having a custom container wherein, there is editable ALV.
    Here in editable ALV, i am having an editable field called dealer code.When i enter dealer code in editable ALV and press enter
    my dealer name and dealer address in editable ALV [inside Custom Container] should get populated.
    But when the cursor is inside the custom container [in that editable field] none of my screen events[Module pool events]
    are getting triggered [Hence my values are not getting populated.When the cursor is outside the custom container all my module pool events are working fine, hence values are getting populated....
    Is there anyway to handle this???
    I am using OOPS Editable ALV inside a custom container...
    Waiting for your repiles...

    Hello,
    You have to implement events in order to handle your ALV, take a llok to this PDF:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Take a look on section EVENT BASED ADDITIONAL FUNCTIONALITIES->Making ALV Grid Editable
    Bye!!
    Gabriel P-

  • Handling "enter" key while a user clicks a button being displayed in datagrid

    Hi,
    I have a datagrid of which one non editable column has an itemrenderer render a button while a row is hovered or selected. I am usinhg default tab handling of datagrid. I want to handle the button click event when a user presses enter key while the focus is on this tabbed column.
    Can anyone help me how to ahcieve this?

    This how my datagrid looks ..main file
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                public function myKeyDownEvent(event:Event):void{
                    mx.controls.Alert.show("Selected " + myGrid.columns[0].popupIndex);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <fx:XMLList id="transactions">
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Match</type>
                    <date>11-23-2009</date>
                    <payee>SAVINGS debit 323</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Savings</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-24-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>0</payment>
                    <deposit>20</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-23-2009</date>
                    <payee>SAVINGS debit 327</payee>
                    <payment>0</payment>
                    <deposit>10</deposit>
                    <account>My Savings</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Match</type>
                    <date>11-23-2010</date>
                    <payee>SAVINGS debit 323</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Savings</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-24-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>0</payment>
                    <deposit>20</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-23-2010</date>
                    <payee>SAVINGS debit 327</payee>
                    <payment>0</payment>
                    <deposit>10</deposit>
                    <account>My Savings</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2010</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
                <transaction>
                    <type>Unassigned</type>
                    <date>11-21-2009</date>
                    <payee>CREDITCARD debit 328</payee>
                    <payment>10</payment>
                    <deposit>0</deposit>
                    <account>My Visa</account>               
                </transaction>
            </fx:XMLList>
        </fx:Declarations>
        <mx:DataGrid id="myGrid" width="100%" height="100%" dataProvider="{transactions}" editable="true" allowMultipleSelection="true" rollOverColor="0x9BDFFA"
                     selectionColor="0x004B8D" textSelectedColor="white">
            <mx:columns>
                <mx:DataGridColumn headerText="Type" dataField="type" itemRenderer="TypeItemRenderer" editable="false"/>
                <mx:DataGridColumn headerText="Date" dataField="date" />
                <mx:DataGridColumn headerText="Payee" dataField="payee" />
                <mx:DataGridColumn headerText="Envelope" dataField="envelope" editable="false" />
                <mx:DataGridColumn headerText="Payment" dataField="payment" />
                <mx:DataGridColumn headerText="Deposit" dataField="deposit" />
                <mx:DataGridColumn headerText="Account" dataField="account" editable="false"/>
            </mx:columns>
        </mx:DataGrid>
    </s:Application>

  • Unable to enter new passcode keyboard won't boot

    I am unable to confirm my passcode.  Once I create a new passcode and hit continue the keyboard disappears and won't boot to allow for typing.  Likewise in the enter stage you don't have the option to copy your new passcode (only paste) so you can't copy and paste at confirm. 

    Hello there, M6D.
    You may want to try the following iPad Troubleshooting assistant:
    Apple - Support - iPad - Applications Assistant
    http://www.apple.com/support/ipad/assistant/application/
    Keep in mind if you're using iOS 7 you will want to swipe up on the screenshot of the apps you see, since this step has changed from the view represented there for iOS 6.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

Maybe you are looking for

  • Success with RaLink Chipset (PCI G)

    Hello there, I took a chance and bought a RoseWill PCI G card for my MDD. It uses the RaLink chipset and it works great! Downloading speeds have more than doubled (now > 9000 kbps) and the connection is rock solid. The best aspect was the cost, ... $

  • Unknown Device Lacie Firewire DVD+/-RW

    I have a Lacie dvd+/-rw 8X4X12 F A Porsche firewire that my mini won't recognize. Profiler say's its an unknown device. I had it working when I got it this summer, with panther, but remember it being a pain it the harddrive to install. None of the so

  • Dashboard grouping without change in Config files

    Hi Experts, This has been asked many times, To group the dashboards , we need to create the required dashboards under the same Group folder and need to ensure that the entry in the config file is set correctly. Now here my problem starts , Lets consi

  • Using GarageBand 3.0.4

    I was just wondering if Garage Band 3.0.4 has the capability of creating ringtones for the iPhone? I searched the garage band forum and couldn't find an answer. Thanks, Wes

  • TS5183 My mic in speker phone and Siri dasen"t work  in i phone 5

    Hi plz i have a problem withe speakerphone mic not work and in Siri mic not work plz help  me