10-25-2016 10:37 AM
Hi there,
i have an editable ALV grid with many fields in a row including one dropdown field. now i want to do some actions DIRECTLY when the drop down value has been changed. this only works when user pushes ENTER, then the data_changed event will be triggered.
now i found a "half working solution" with calling this one:
CALL METHOD g_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
This event triggers EVERY "move" in the ALV, even when entering a value in one field and jump to the next with tab-key, etc....
I don't want this behaviour, in ONLY want it when user changes a value in the dropdown. everything else should be handled with pushing enter.
any idea how to do this ?
br Martin
10-25-2016 1:13 PM
I don't know. I only see workarounds for that : either use a F4 or a hotspot or a context menu to call the ABAP program immediately. Only the context menu is able to display values below the selected cell.
10-25-2016 2:07 PM
Hi Sandra,
i also don't find a solution for that. F4 is no option here, as the application is "ready to use" and i can't change it here. It is a simple requirement, but it seems that is not possible to do it 😞
br Martin