on 01-10-2006 12:24 PM
Hi experts,
How to capture the event in an ALV grid display which is editable. I have to capture the TAB key or ENTER key.
regards,
Arul Jothi.
Hi
Try to set this event by method SET_REGISTERED_EVENTS:
DATA: WA_EVENT TYPE CNTL_SIMPLE_EVENTS.
WA_EVENT = CL_GUI_ALV_GRID=>EVT_ENTER.
APPEND WA_EVENT TO T_EVENTS.
CALL METHOD <MY_GRID>->SET_REGISTERED_EVENTS
EXPORTING
EVENTS = T_EVENTS.
Now you should capture this event in DATA_CHANGED event
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
plz do find the link..hope this will be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/b7/c99f4218f6c46ae10000000a155106/frameset.htm
regards,
Vinoth.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arul,
Take a look at sample program BCALV_EDIT_03. (Find string "register ENTER" in the program to see how to register)
Basically you have to Register edit events using method call REGISTER_EDIT_EVENT and then write a handler method for event DATA_CHANGED..
If you are using a REUSE..GRID fm then first get the grid reference using function module GET_GLOBALS_FROM_SLVC_FULLSCR and then repeat the above procedure..
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.