Skip to Content
0
Former Member
Apr 21, 2009 at 06:00 PM

Checkbox in ALV

21 Views

Hi,

I have searched this problem on this site but still unable to find a solution,

I am displaying some output in ALV which is having an editable check box as its first column.

I am using REUSE_ALV_GRID_DISPLAY to display the ALV output.

on some conditions , few checkboxex in the output are coming as checked (X). Now I want to uncheck few records from the checked records on the output screen and do some processing on these unchecked records . how can I get these uncheck records in the program control?

I am using PF-Status in the ALV.

I am also trying to get the chenged data like this

In user command:

when 'SAVE'.

DATA : REF_GRID TYPE REF TO CL_GUI_ALV_GRID.

IF REF_GRID IS INITIAL.

CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

IMPORTING

E_GRID = REF_GRID.

ENDIF.

IF NOT REF_GRID IS INITIAL.

CALL METHOD REF_GRID->CHECK_CHANGED_DATA.

ENDIF.

as expected this should update the internal table with changed records from the output screen but this is not working....I am unable to figure out what is missing here...

Please help me ...

Thanks,

niel.