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: 

Return to selection screen

mariano_gallicchio2
Participant
0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

also check

SET SCREEN 0.

LEAVE SCREEN.

LEAVE PROGRAM.

0 Kudos

I've tried with that sentences also.

But it doesnt work

Thanks!

0 Kudos

try these two

LEAVE TO SCREEN 1000.

LEAVE PROGRAM.

0 Kudos

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!

Clemenss
Active Contributor
0 Kudos

Hi Mariano,

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

Regards,

Clemens