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: Edit, change and delete/insert rows

Former Member
0 Likes
426

Hi all,

starting from an ALV layout (5 rows) empty and ready for inserting data I can insert data but I select two rows, for example, and by pressing the "delete" icon, after the refresh

CALL METHOD lo_grid->set_selected_rows

EXPORTING

it_row_no = loc_t_nrows

is_keep_other_selections = ''. "

CALL METHOD lo_grid->refresh_table_display.

I find my new layout without the selected rows but empty.

How can I maintain the data in my layout (passing them to internal tables) to have my layout always up to date?

Thanks for your kind support.

Regards,

Giovanni

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
350

HI

BCALV_EDIT_04 BCALV_EDIT_04 Check these programs.

Cheers

Ram

Hi all,

starting from an ALV layout (5 rows) empty and ready for inserting data I can insert data but I select two rows, for example, and by pressing the "delete" icon, after the refresh

CALL METHOD lo_grid->set_selected_rows

EXPORTING

it_row_no = loc_t_nrows

is_keep_other_selections = ''. "

CALL METHOD lo_grid->refresh_table_display.

I find my new layout without the selected rows but empty.

How can I maintain the data in my layout (passing them to internal tables) to have my layout always up to date?

Thanks for your kind support.

Regards,

Giovanni

1 REPLY 1
Read only

Former Member
0 Likes
351

HI

BCALV_EDIT_04 BCALV_EDIT_04 Check these programs.

Cheers

Ram