Skip to Content
avatar image
Former Member

Problem with screen navigation in ALV OOPS

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 09, 2016 at 04:09 AM

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

    Add comment
    10|10000 characters needed characters exceeded