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

Dynamic Selection

Former Member
0 Likes
553

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.

5 REPLIES 5
Read only

Former Member
0 Likes
501

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?

Read only

former_member386202
Active Contributor
0 Likes
501

Hi,

Try this.

After FM just write

call selection-screen 1000.

leave list-processing.

Regards,

Prashant

Read only

0 Likes
501

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.

Read only

Sathish
Product and Topic Expert
Product and Topic Expert
0 Likes
501

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.

Read only

0 Likes
501

yah, im starting to think of it that way too.

i sure hope there's a way though.