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

Length limitations

Former Member
0 Likes
1,004

Hi All,

Is there in any length limitation for downloading a file on application server.

I am downloading following fields of an internal table

to a dat file.....

tknum(10) type C,

mwerks(4) type C,

scacd(4) type C,

signi(20) type C,

tprfo(4) type C,

sunit(13) type C,

name1(35) type C,

stras(35) type C,

ort01(35) type C,

regio(3) type C,

pstlz(10) type C,

land1(3) type C,

vgbel(10) type C,

bstkd(35) type C,

matnr(18) type C,

maktx(40) type C,

sernr(18) type C,

bezei(20) type C,

brgew(13) type C,

value_old(13) type C,

lfimg(13) type C,

cqnty(13) type C,

wadat_ist(10) type C,

********************************************

code to download the table to a file on application server

OPEN DATASET p_file FOR OUTPUT IN TEXT MODE

ENCODING DEFAULT.

IF sy-subrc EQ 0.

TRANSFER wa_text TO p_file length v_le.

ENDLOOP.

CLOSE DATASET p_file.

*****************************************************

the result is that only fields till matnr get downloaded...rest columns are ignored.

Can anyone tell me why is this happening?

I want all the columns to get downloaded.....

Thanks in advance,

Points assured....

Dnyanesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
829

Hi,

I need to transfer this file via ftp functions.

will the whole file get transfered?

Thanks

Dnyanesh

6 REPLIES 6
Read only

Former Member
0 Likes
829

Please check your variable v_le. The value of v_le can be restricting the output.

Regards

Anurag

Read only

Former Member
0 Likes
829

what is the length of this variable p_file length,

count the total length of all the fields in internal table and declare that much length

Message was edited by: Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
829

In al11 transaction, you cannot see the whole record. It gets truncated.

To check if the file has all the records, read it in a smaple program.

regards,

ravi

Read only

Former Member
0 Likes
830

Hi,

I need to transfer this file via ftp functions.

will the whole file get transfered?

Thanks

Dnyanesh

Read only

0 Likes
829

Hi Tamboli,

After Transfering all the data to application server

use Tcode <b>CG3Y</b> and again transfer these to u r desktop and check whether all the data is being available(all fields)...

Regards,

Sridhar

Read only

Former Member
0 Likes
829

Hai,

Why can't you try with <b>CG3Z</b> and verify using <b>CG3Y</b> Tx.