2009 Oct 08 7:46 AM
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.
2009 Oct 08 7:50 AM
Hi,
Use USER_COMMAND event in ALV,
when back
LEAVE LIST-PROCESSING.
Regards,
Anil
2009 Oct 08 8:00 AM
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.
2009 Oct 08 7:57 AM
Resolved. I set screen to 0 before calling user command for refresh.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |