‎2007 Oct 25 11:04 AM
hi.
i made dynamic selection screen using the following FMs:
FREE_SELECTIONS_INIT
FREE_SELECTIONS_DIALOG
now, when i have executed the screen itself (the report output is already out),
my selections or filters are gone.
how do i prevent that, so i could return to my previous filtering.
tnx in advance.
‎2007 Oct 25 11:07 AM
me again,
let me revise:
.....
now, when i have executed the screen itself (and after the report output),
<b>when i go back to the selection screen,</b>
my selections or filters are gone.
how do i prevent that, so i could return to my previous filtering?
‎2007 Oct 25 11:08 AM
Hi,
Try this.
After FM just write
call selection-screen 1000.
leave list-processing.
Regards,
Prashant
‎2007 Oct 25 11:19 AM
hi Prashant,
thnx for the quick response.
ummm...
actually my FMs are in my AT SELECTION-SCREEN event (PAI),
so i don't think that solution would be appropriate.
thing is, the filter works fine.
the report displays just as i filtered it.
but after the report displays (ALV) when i go back to my selection screen (pressing the Back button) my previous filtering is gone.
i was hoping the filter won't be gone.
‎2007 Oct 25 11:31 AM
The previous filter is gone because the values are refreshed when the control is brought again to the selection screen.
To the best of my knowledge this is not possible.
‎2007 Oct 26 2:46 AM
yah, im starting to think of it that way too.
i sure hope there's a way though.