Skip to Content
0
Former Member
Dec 16, 2010 at 02:45 PM

Editable ALV (CL_GUI_ALV_GRID) Pasting add new rows

855 Views

Hi all,

I have a problem with OO ALV.

I'm using class CL_GUI_ALV_GRID as I need to have a couple of editable columns.

Let's say that we have columns Material and Quantity. And Quantity is editable.

Toolbar buttons for adding new rows, paste, copy, are all disabled.

Suppose I have 2 rows in the ALV.

If I copy to clipboard from, for example, Excel, more than 2 rows, and paste them in Quantity column of the ALV, the result is that new rows are inserted till all the information in the clipboard is pasted. The new rows have all blank values except for the column I'm pasting.

I do not want this rows inserted. I supposed that this wounldn't happened, as there are no buttons for inserting rows.

Anybody knows how to change this behaviour?

Thanks a lot.

Alejandro Galliano.