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

table control

Former Member
0 Likes
649

Hi,

I was using a table control..I have 3 fields in the table control.Only four rows are visible as per the requirement..

If i copy 4 rows from excel and paste in that table control means it is pasting correctly..If i copy more than 4 rows (example 10 rows) it is not pasting in the 10 rows..Only 4 rows gets pasted...

How to overcome this issue..Is it possible to paste more than 4 rows if only 4 rows are visible in the table control

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
573

Hi,

It is the normal way.... number of visible lins will be copied. You not trying to upload?

Regards,

Prabhu Rajesh

4 REPLIES 4
Read only

Former Member
0 Likes
574

Hi,

It is the normal way.... number of visible lins will be copied. You not trying to upload?

Regards,

Prabhu Rajesh

Read only

Sidh_M
Participant
0 Likes
573

HI Mahesh,

set tablecontrol lines in pbo up to no of lines you want to copy

for eg. if you want 10 lines then code should be

data ln type i.

ln = 10.

tablectr-lines = ln.

modify screen.

Regards,

SUDHIR MANJAREKAR

Read only

Former Member
0 Likes
573

Only visible no of lines will be copied this is the way SAP provides I also tried a lot to overcome this earlier but unfortunetly there is no solution for this.

Regards

Bikas

Read only

Former Member
0 Likes
573

That part you need to handle it manually using the coding..

Find The Transaction Number of Visible lines for that table control and then code it using the number of line

use some PAGE UP or etc..

follow the sample code..

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm