Skip to Content
avatar image
Former Member

Interactive ALV, Back button does not gets back to previous screen

Hi,

i have a alv.. REUSE_ALV_LIST_DISPLAY.

on user command

FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.

SET SCREEN 0.
new-PAGE.
LEAVE TO LIST-PROCESSING.
SET PF-STATUS 'STANDARD1'. " This pf status is not your alv gui status. handle this like normal list.
WRITE: 'TEST'.
ENDFORM.

What happens:

when i press back button(on screen where it is written TEST, it throws me on selection screen).

I want to navigate back to previous ALV.

Please guide,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 21, 2017 at 07:35 PM

    Read the documentation of REUSE_ALV_LIST_DISPLAY, and you'll see that you must use:

    rs_selfield-exit = 'X'.
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2017 at 03:43 PM
    -1

    May be i think You can try by giving " LEAVE TO SCREEN 0. "

    i think it may work because if you give that and it helps to navigate back to previous screen.

    Add comment
    10|10000 characters needed characters exceeded