Skip to Content
0
Former Member
Mar 23, 2009 at 02:57 PM

ALV : Select 2 rows and make only 1 column of those 2 rows as editable

27 Views

Hi ,

I have an ALV output with checkbox.

I have 5 rows and 4 columns.

Suppose I am selecting ( select check box ) on 2 rows

I want to make column 3 and 4 of that 2 rows editable.

How can i do it using ALV.

Please help me proceed from the below code where it_xvbep is the table for output.

CALL METHOD g_grid->check_changed_data

IMPORTING

e_valid = l_valid.

IF l_valid EQ 'X'.

LOOP AT it_xvbep INTO wa_xvbep.

IF wa_xvbep-checkbox = 'X'.

&&&&&&&&&&&&&&&&&&&&&&&&&&&

ENDIF.

ENDLOOP.

ENDIF.

ENDCASE.