Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP SALV turn off row insert during paste

Former Member
0 Likes
2,148

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?

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
1,768

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.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
1,769

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.

Read only

Former Member
0 Likes
1,768

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.