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

back button problem

Former Member
0 Likes
339

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..

1 REPLY 1
Read only

Former Member
0 Likes
282

Hi,

WHEN '&BCK'.
set screen 0.

even after if u have the same problem change the function code for back button

Reward if usefull.