06-05-2008 11:12 AM
Hi all,
A user selects a row of alv or double clicks on it and do something after this with this selected row, jumps to other screens when necessary etc,
however when he comes back to the alv screen, is it possible to focus on the row he selected just berofe jumping to the screens?
Thanks.
06-05-2008 11:14 AM
By default the selected will be highlighted even when u come back to the screen.
06-05-2008 11:24 AM
Hi,
Please refer the link below:
http://www.saptechnical.com/Tutorials/ALV/HighlightVisitedRecord/Demo.htm
With this code, you can highlight the visited rows.
Thanks,
Sriram Ponna.
06-05-2008 11:46 AM
Hi Sriram,
The code that you give the link is not so clear.
Thanks.
06-05-2008 12:18 PM
Hi,
Check if you have used this statement somewhere in the user_command routine
rs_selfield-refresh = 'X'.
If yes then the list will be refreshed and thus loses the focus of the previous row selected. Otherwise by default the previous row selected will have the focus.
regards,
Advait