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

Customize back button in alv

Former Member
0 Likes
575

Hi,

I created a custom refresh button in alv. However when user clicks on this, it opens the refreshed data in a new window. When i click on back, it takes me to the previous window having my original data. I want that it should take me to the main selection screen and not the previous screen.

Please help.

I am using ALV GRID DISPLAY.

Hi,

I created a custom refresh button in alv. However when user clicks on this, it opens the refreshed data in a new window. When i click on back, it takes me to the previous window having my original data. I want that it should take me to the main selection screen and not the previous screen.

Please help.

I am using ALV GRID DISPLAY.

3 REPLIES 3
Read only

Former Member
0 Likes
484

Hi,

Use USER_COMMAND event in ALV,

when back

LEAVE LIST-PROCESSING.

Regards,

Anil

Read only

0 Likes
484

form USER_Command

case ok_code.

when 'BACK'.

call selection-screen '1000'. " or whatever ur selection-screen no. is , for standard it will b 1000

endcase.

endform.

Read only

Former Member
0 Likes
484

Resolved. I set screen to 0 before calling user command for refresh.