Application Development 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: 

When i press enter on my editable ALV nothing happens - Why?

Former Member
0 Kudos

Hi,

i have an editable alv on an tabstrip and when i press enter after changes nothing happens, although i have programmed check_changed_data.

That´s not normal, or? Mayby somebody can give me a hint.

Timo

4 REPLIES 4

Former Member
0 Kudos

In check_changed_data i think the sy-ucomm has not be included. U have to capture the sy-ucomm of ENTER and use it.

Case sy-ucomm.

when <ENTER>.

<code to be written>.

Endcase.

This will work.

Pl. award points if it helps U.

0 Kudos

but when i make a double click on the alv check_changed_data will be processed and i didn´t capture double click.

Any other idea?

Timo

0 Kudos

Hi,

i found out why. I forgot to

CALL METHOD obj_alv_grid->register_edit_event

EXPORTING

i_event_id = cl_gui_alv_grid=>mc_evt_enter.

Thank´s for every reply.

Timo

Former Member
0 Kudos

Hi,

After changing the data use the following method to refresh the table.

CALL METHOD W_GRID1->REFRESH_TABLE_DISPLAY.

If it solves your problem dont forget to reward me points.

Regards,

--Suman