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

Return to selection screen

mariano_gallicchio2
Participant
0 Likes
738

Hello experts.

Im doing a ALV, that have a button, and if the user press that button, show a new ALV( that has the same buton)

And when press back button should back to the selecction screen.

( in the user command i put LEAVE TO SCREEN 0)

But it come back to the previous ALV.

I also tried with leave list-processing, but it does not work.

Any idea?

Thanks!!

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
693

also check

SET SCREEN 0.

LEAVE SCREEN.

LEAVE PROGRAM.

Read only

0 Likes
693

I've tried with that sentences also.

But it doesnt work

Thanks!

Read only

0 Likes
693

try these two

LEAVE TO SCREEN 1000.

LEAVE PROGRAM.

Read only

0 Likes
693

I also try both.

1) the first trows a dump.

2)Leaves the program, doesnt return to the selection screen

I've solvin my problem doin

SUBMIT (SY-REPID) via selection-screen.

Thanks!

Read only

Clemenss
Active Contributor
0 Likes
693

Hi Mariano,

if you do it by ALV functions, you can make use of EXIT_CAUSED_BY_USER parameter.

Regards,

Clemens