12-07-2016 3:27 PM
Hello,
I've done SALV report and made it editable.
What I noticed is that when I want to paste more rows that I have in table the new rows are added to table:
and when I paste data I got:
How I can switch off inserting new rows when clipboard data is bigger than table?
12-07-2016 6:54 PM
I guess you have gained access to the ALV grid control (as your grid is editable), so there's a "NO_ROWINS" in the layout structure (LVC_S_LAYO). But it also means that you won't have the "insert" button anymore.
12-07-2016 6:54 PM
I guess you have gained access to the ALV grid control (as your grid is editable), so there's a "NO_ROWINS" in the layout structure (LVC_S_LAYO). But it also means that you won't have the "insert" button anymore.
12-08-2016 11:43 AM
Sandra thanks a lot!
it is working.
DATA: ls_layout TYPE lvc_s_layo.
ls_layout-no_rowins = 'X'.
CALL METHOD lo_grid->set_frontend_layout
EXPORTING
is_layout = ls_layout.