‎2008 Apr 10 9:27 AM
My problem is everytime I click the back button it repeats the screen where I click the select all button.example i thick the select all button then deselect it then manually select any checkbox.then I decided to click the back button.when I click the back button it will repeat the things I did before I click the back button where it should be at my selection-screen.do you have any idea on how would I fix it ?
I need to go back on my selection screen when I click the back button.
Here's my coding in my program at user-command form.
in my code in user-command in select all button and deselect and back button.
form user-command.
WHEN 'SELECT'.
LOOP AT it_ltak INTO wa_ltak.
wa_ltak-sel = 'X'.
MODIFY it_ltak FROM wa_ltak TRANSPORTING sel.
ENDLOOP.
PERFORM display_alv_list.
WHEN 'DESELECT'.
LOOP AT it_ltak INTO wa_ltak.
CLEAR wa_ltak-sel.
MODIFY it_ltak FROM wa_ltak TRANSPORTING sel.
ENDLOOP.
PERFORM display_alv_list.
WHEN '&BCK'.
LEAVE TO SCREEN 0.
endform.
any idea experts..
‎2008 Apr 10 9:30 AM
Hi,
WHEN '&BCK'.
set screen 0.even after if u have the same problem change the function code for back button
Reward if usefull.