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: 
Read only

ALV select buttons using classes

Former Member
0 Likes
333

Hi,

There are select buttons across rows in ALV and there is a column which is editable. A row is selected and editable column is filled and when row is de-selected then text entered in editable column should be cleared. Can you please let me know the events associated to accomplish the same.

BRB,

Lavanya.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
308

Main event is

DATA_CHANGED

you need to create a local event handler class and handle that.

need to set the handler for the Gird to trigger the event.

Refer the sample program BCALV_EDIT_03

and also you have to do this..

Register the edit event.

call method g_grid->register_edit_event
               exporting
                  i_event_id = cl_gui_alv_grid=>mc_evt_enter.

2 REPLIES 2
Read only

peter_ruiz2
Active Contributor
0 Likes
308

hi,

the event is data_changed

regards,

Peter

Read only

Former Member
0 Likes
309

Main event is

DATA_CHANGED

you need to create a local event handler class and handle that.

need to set the handler for the Gird to trigger the event.

Refer the sample program BCALV_EDIT_03

and also you have to do this..

Register the edit event.

call method g_grid->register_edit_event
               exporting
                  i_event_id = cl_gui_alv_grid=>mc_evt_enter.