Select and Deselect Check-Box in Output list
Can any1 give me the code for select and deselect all the check-boxes in the output list.
It's not an ALV report.
Rich Heilman replied
Not sure about the structure of your program, but here is a little example .
report zrich_0002 no standard page heading. data: check(1) type c. start-of-selection. * Write the initial list do 20 times. write:/ check as checkbox, sy-index. enddo. at user-command. * Set the checkbox on or off case sy-ucomm. when 'SELA'. check = 'X'. when 'DELA'. check = space. endcase. * Rewrite the list sy-lsind = sy-lsind - 1. do 20 times. write:/ check as checkbox, sy-index. enddo.