cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with screen navigation in ALV OOPS

0 Kudos

Hi,

I have developed a program using ALV OOPS which has two level of screens once executed. Once I execute the selection screen, it will take me to screen 1 from where we can navigate to screen 2 using a push button. Now, if I press back from screen 2 it will take me to screen 1. The problem starts now, for coming back from screen 1 to selection screen is not happening.

If I use, 'Leave to screen 0', its taking me back again to screen 2 (Because I navigated from screen 2 to screen 1).

If I use, 'Leave to current transaction' it wont work. Because the report can be executed from multiple transactions. So, instead of going back to selection screen control will go to triggering point of program.

If I use 'Leave to screen 1000' it showing some error saying selection screen is not called by using 'call selection screen'. Please help me with some inputs/leads.

Thanks in advance.

Santosh.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Solved by using the syntax 'call selection-screen 1000'.