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: 

ALV selection by default

Former Member
0 Kudos

Hi Experts,

I have a requirement for ALV done through OOPS.

I have a display of ALV with check box with some reocrds. When I select a set of records and navigate further to other screen and come back to the initial ALV output, how do we remain the selection that we made in the initial ALV output.

I mean when I come back to my ALV output, i should be able to see the records which i checked.

Thanks in advance.

Regards

RP.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

If you don't refresh the list, it should be done automatically

If you refresh the list by method REFRESH_TABLE_DISPLAY, u need to set the paramente IS_STABLE

Max

3 REPLIES 3

Former Member
0 Kudos

Hi

If you don't refresh the list, it should be done automatically

If you refresh the list by method REFRESH_TABLE_DISPLAY, u need to set the paramente IS_STABLE

Max

Former Member
0 Kudos

Hi Max..

Its working if I use refresh_table_display.

But get_selected_rows is not working for the second time when i navigate to different screen..as it does not retrieve the newly selected rows..

to clearly explain get_selecte_rows works fine first time, but not for second time with the same reference...

Please suggest me ...

Require suggestions from experts..

Regards

Rp.

Former Member
0 Kudos

Hi,

We need to free the objects and then use set selected rows and assign values to it in PBO, which were retrieved using get selected rows earlier in PAI.

Thats it...it works fine now..

Issue is resolved.

Regards

RP.