cancel
Showing results for 
Search instead for 
Did you mean: 

Editable ALV in WD4A

Former Member
0 Kudos

I have created an ALV with multiple columns and multiple lines.

I would like to make it possible to edit a single cell (just in the row the user has selected). I know how to make the whole column editable but this is not my goal.

Just a <b>single cell</b> in a <b>selected row</b> is required.

Is this possible to achieve?

Thanks,

Henry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hendry

Here are the steps to edit a single row or cell when user selects a particular row.

1. Create an additional boolean field with default value false, in the source context node.

2.Delete the boolean column so that it is not visible in ALV.

3. Assign cell editors of the columns as input field. Assign SET_READ_ONLY_FIELDNAME property of the cell editors to the boolean variable.

4. Create function to handle row selection by ON_LEAD_SELECT event handler. Capture event when the row is selected and Change the particular context element to true.

Hope it helps

Regards

Rakesh.

Answers (0)