Application Development and Automation 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: 
Read only

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

Former Member
0 Likes
1,182

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,

2 REPLIES 2
Read only

Former Member
0 Likes
638

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.

Read only

Sandra_Rossi
Active Contributor
638

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

rs_selfield-exit = 'X'.