‎2009 Feb 23 2:24 PM
Hi,
My programs output displays an ALV Grid. Am selecting multiple rows on the grid through multi select button and with the help of a button on tool bar i could delete the rows selected in ALV grid. But when i pressed on back button which is present in the Standard tool bar it is not going to selection screen. it is displaying the sceen which is before deletion of the records that is previous screen is displayed insted of selection screen.
I need to display selection screen when i press back button in the standard tool bar it should not show previous screen it has to show first screen that is selection screen.
Thnaks
<<removed_by_moderator>>
Edited by: Vijay Babu Dudla on Feb 23, 2009 9:38 AM
‎2009 Feb 23 2:48 PM
‎2009 Feb 23 2:51 PM
hi
try this,
when 'BACK'.
leave to screen scrnnum.
scrnnum - screen number of your selection screen. you can find your screen num by clicking system->status menu in your selection screen.
feel free to revert back if you still have doubts.
regards
mano
‎2009 Feb 23 2:53 PM
Hi,
For the back button you have to write code as,
When 'BACK'.
leave to screen 0.
or
set screen 0.
Regards,
jaya
‎2009 Feb 23 2:55 PM
Hi Chandra,
I already suggested you in your previous thread..
Regards,
Sayak
‎2009 Feb 23 3:19 PM
write a code
case sy-ucomm.
when &f03'.
leave to screen 0.
endcase.