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: 

Switchin to selection screen from end-of-selection

Former Member
0 Kudos

Hi Experts,

I am creating a report, where I generate an ALV output. From selection screen, I am going to some 4, 5 output screens.

selection screen -> output screen1 -> output screen2 -> output screen3.

Can I go to selection screen from output screen 3. In output screen 3 I have pf-status also. When the back button, in the triggered code what I have to write to switch to selection screen.

Thanks and regards,

Venkat.

9 REPLIES 9

Former Member
0 Kudos

Former Member
0 Kudos

use SUBMIT <report name> Using Selection-screen <screen number>.

Give the selection screen some number when u define it.

кu03B1ятu03B9к

Former Member
0 Kudos

I dont think you can directly come from screen 3 to selection screen unless you create a subscreen for selection screen.

Former Member
0 Kudos

Hi

1.Make your selection screen as screen no.100.

2.selection screen(100) -> output screen1 -> output screen2 -> output screen3.

3.Make separate pf-status for each screens.

4.In the PAI of your 3rd screen write

CASE SY-UCOMM.
  WHEN 'BACK'.
     LEAVE TO SCREEN 100.
ENDCASE.

Hope this had helped you.

Regards

Hareesh Menon

Former Member
0 Kudos

hi,

At PAI

when 'BACK'

leave to screen 1000

Try using this, or

jst try....... Leave Screen.

I am not sure , jst try

Thanks and regards

Suraj S Nair.

0 Kudos

you can also try below code in PAI of output screen 3.

call screen 1000.

Former Member
0 Kudos

Try this,

submit <rep name> using selection-screen <dynnr>.

Regards,

Joan

Former Member
0 Kudos

Hi,

Write SUBMIT <report name> Using Selection-screen < dynnumber>.

Regards,

Jyothi CH.

Former Member
0 Kudos

call selection-screen 1000 was the answer to my problem