Skip to Content
0
Former Member
Jun 29, 2007 at 10:13 AM

get checkbox values from alv grid

319 Views

Hi,

I'm using the function REUSE_ALV_GRID_DISPLAY and I'm showing a table with a field like a checkbox.

In USER_COMMAND FORM to get selected values do as follow:

CALL METHOD REF_GRID->CHECK_CHANGED_DATA.

And then:

loop at i_pos (my table) with checkbox eq 'X'.

endloop.

The first time I execute the ALV every thing is OK but if I do any action (I use the function 'BAPI_GOODSMVT_CREATE' ...), I refresh the data and I raise the alv again. In USER COMMAND FORM the code is the same and I can not get checkbox values.

Can someone help me please?

Thanks and regards.