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

Transfer file data limit

Former Member
0 Likes
1,205

I hav eopnede a file in text mode, and i want to write a line of 1600 characters, so i have concatenated the text in a var of 1600 that contains correctly my text, but when i make a transfer and then i see the file, it is truncated , does anybody know if there is a limit for transfering data?.

Thanks in advance

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,107

Carlos,

I've written records with TRANSFER up to 30000 bytes long and did no special coding or parameter set up to accomplish it.

10 REPLIES 10
Read only

Former Member
0 Likes
1,108

Carlos,

I've written records with TRANSFER up to 30000 bytes long and did no special coding or parameter set up to accomplish it.

Read only

0 Likes
1,107

Can you put a sample code please

Read only

0 Likes
1,107

open dataset p_file for input in text mode encoding default.

if sy-subrc = 0.

do.

read dataset p_file into w_file.

if sy-subrc = 0.

append w_file to it_input.

clear w_file.

else.

exit.

endif.

enddo.

endif.

close dataset p_file.

Read only

0 Likes
1,107

Ok, I was talking about writing data to the file, not reading, anyway, it has transfered now all the data, so i think that it hasn´t limit.

I will reward the points.

Thanks in advance

regards

Read only

Former Member
0 Likes
1,107

yes there is limit up to 1023 char...just check once and reply

Read only

0 Likes
1,107

Hi, it is truncating in 999 characters, is theer any possibility of writing some lines of bigger and different size?.

Thanks in advance

regards.

Read only

Former Member
0 Likes
1,107

Hi carlos sanchez,

There is no limitation. It looks like truncated. But it remains there. It shows only 255 characters line.

U can test this by retriving the same file onto your desktop or internal table.

Venkat.

Read only

0 Likes
1,107

I have downloaded the file and put it in word for counting and it says me there are 999 characters .

Thanks in advance

regards

Read only

0 Likes
1,107

From where u have downloaded that file..try to download from application server..then u dont get any restrictions like this.

Read only

0 Likes
1,107

I am downloading it from application server with cg3y and it gives me a truncated file.

Thanks in advance

regards