2022 Aug 10 6:41 AM
Hi All,
I'm new to this field. I want to know suppose there is two fields in the output screen which are in editable mode. Now I put a value in one field and after click "enter" that value is automatically show to second field also. How can it be possible .
Thank you in advance.
2022 Aug 10 7:14 AM
I don't know what technology you use, but in case it's CL_GUI_ALV_GRID, you have the method REGISTER_EDIT_EVENT and argument mc_evt_enter, which will raise the event DATA_CHANGED_FINISHED (at least, if no value has been changed):
alv->register_edit_event( alv->mc_evt_enter ).
You can find examples in the forum.
2022 Aug 10 8:09 AM
You need to search for OO-ALV, The normal ALV does not trigger the 'ENTER' ,
with OOP-ALV this type can trigger the 'ENTER'.
2022 Aug 10 8:15 AM
Hi. Can you give me any example of this oop-alv where this type of solutions are given?
2022 Aug 10 8:27 AM
check this program: BCALV_TEST_GRID_EVENTS
register the edit event with the Enter attribute, something like this
call method gr_grid_d0100->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_enter.