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: 

In reuse_alv_list_display function module sy-lsind = 0 is not working.

Former Member
0 Kudos

Hi.

I use FM (REUSE_ALV_LIST_DISPLAY) to display a list with one mark field in it.

User marks some lines, program update the internal table for the marked lines and display the list again with the same FM.

But the first list is active too. I tried with SY-LSIND=0, but didn’t help.

Is there any other solution for that?

Program function:

Display a ALV list, User marks some lines, and press F-key to use the marked fields e.g. create HU.

Thanks in Advance,

Venkat

1 REPLY 1

naimesh_patel
Active Contributor
0 Kudos

SY-LSIND will not work in the ALVs.

Try to update those values in the same internal table.

You can use the SELFIELD-REFRESH = 'X' in the USER_COMMAND event to refresh your current list with the updated value.

Regards,

Naimesh Patel