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

Check Box functionality is not working when i press REFRESH button once

Former Member
0 Likes
336

Hi folks,

i have created one alv grid using CL_SALV_TABLE where it displays the check box and correpsonding orders


When i select the check box and do process then the SO gets processed and deleted from this grid output.

and i have two more buttons i.e., REFRESH and EXCEUTE on application tool barr

When i press REFRESH once then i am not able to select check box but when i press twice the refresh button than i am able to check and uncheck the check box

Please help, as i am struggling this for since last two days

Regards

Ravi

1 REPLY 1
Read only

amol_samte
Contributor
0 Likes
313

Hi use below code,

 

rs_selfield 

TYPE slis_selfield

 

CASE 

r_ucomm.

WHEN 'SELALL'.
PERFORM select_all.
rs_selfield
-refresh = 'X'.

WHEN'DSELALL'.
PERFORM deselect_all.
rs_selfield
-refresh = 'X'

 

LOOP AT

gt_final INTO gs_final .
gs_final
-chkbx = 'X'.
MODIFY gt_final FROM gs_final TRANSPORTING chkbx.
CLEAR gs_final.
ENDLOOP

Regards,

Amol