Skip to Content
avatar image
-1
Former Member

Return two first screen (pass 2 screens)

I want to developt the following logic:

With LEAVE TO SCREEN 0 I can't pass direct to DISPLAY ALV. It is possible?

Thank you.

gxkuy.png (5.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 17, 2017 at 02:39 PM

    It think, you could try.

    SET SCREEN 0.
    PERFORM <alv_display> .

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2017 at 08:40 PM

    So, you first set a "LEAVE_ALV" global variable = 'X' and you leave the screen 300 (LEAVE TO SCREEN 0 or SET SCREEN 0, up to you), and that returns after CALL SCREEN 300. If LEAVE_ALV is 'X' then you leave the ALV.

    Add comment
    10|10000 characters needed characters exceeded