cancel
Showing results for 
Search instead for 
Did you mean: 

Hotkey replacing onEnter event in input fields in a editable ALV

Former Member
0 Kudos

Hi Experts,

Is it possible to implement hotkey/keyboard shortcut replacing onEnter event of a input field in a editable ALV.

I have used input filed in a ALV table as cell editor and the requirement is after entering the data user wants to get a pop-up window to add some more details about that field.

I have used "ON_CELL_ACTION" even of ALV and displaying a pop-up window when user hits "Enter" key after putting value in that cell(input field).

But the requirement is to trigger that pop-up window with any function key/hot key after entering the data, user do not want to hit 'enter' key.

The alternative solution could be adding a separate button in ALV toolbar for e.g. 'ADD COMMENTS' and clicking on that button user wants to add the comments for that cell which is currently focused.

How to get the reference of currently focused cell ?

Thanks for you help,

Sonia.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I just did this last night.

Add a checkbox field, make it a hotspot. When the user clicks on it, the event handler can do the popup.

Former Member
0 Kudos

Hi John,

Thanks for your reply , can you please explain the solution a bit ?

And can you please explain how you have retrieved the reference of the currently focused cell ?

Thanks for your help.

Sonia.