Application Development 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: 

Select All button in general ALV(check box)

Former Member
0 Kudos

Hi Friends,

i'm using ALV check BOX.

i placed button select all , to select all the avaiable checkboxs from the output list and so after the function code is called i'm able to modify the itab with filled checkboxs. but when it comes back to display it shows no check box is filled at all.

unnable to understand. please suggest.\

code i used


when 'ALL'.
      LOOP AT it_error INTO w_error WHERE check NE 'X'.
        w_error-check = 'X '.
        MODIFY it_error FROM w_error  .        
      ENDLOOP.

thankyou.

kat

3 REPLIES 3

Former Member
0 Kudos

Hi.

when 'ALL'.
      LOOP AT it_error INTO w_error WHERE check NE 'X'.
        w_error-check = 'X'.
        MODIFY it_error FROM w_error  INDEX sy-tabix TRANSPORTING check .        "do like this
      ENDLOOP.

it works

Thanks!

Former Member
0 Kudos

Hi friends,

i'm able to fill 'X' in field check of it_Error, but the issue when comes to display , check boxs are not displayed as selected or checked.

please provide suggestions,

kat.

0 Kudos

thankyou very much for your support.

i need to use

r_selfield-refresh = 'X'. after populating the itab with 'X'.

thanks ,

kat.