Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Editable Alv

ahanadasgupta_23
Explorer
0 Kudos
459

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.

4 REPLIES 4

Sandra_Rossi
Active Contributor
390

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.

Mahmoud-Farag
Participant
0 Kudos
390

You need to search for OO-ALV, The normal ALV does not trigger the 'ENTER' ,
with OOP-ALV this type can trigger the 'ENTER'.

0 Kudos
390

Hi. Can you give me any example of this oop-alv where this type of solutions are given?

0 Kudos
390

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.