‎2006 Jul 31 12:03 PM
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
‎2006 Jul 31 12:12 PM
Hi,
I need to transfer this file via ftp functions.
will the whole file get transfered?
Thanks
Dnyanesh
‎2006 Jul 31 12:07 PM
Please check your variable v_le. The value of v_le can be restricting the output.
Regards
Anurag
‎2006 Jul 31 12:08 PM
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
‎2006 Jul 31 12:10 PM
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
‎2006 Jul 31 12:12 PM
Hi,
I need to transfer this file via ftp functions.
will the whole file get transfered?
Thanks
Dnyanesh
‎2006 Jul 31 12:20 PM
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
‎2006 Jul 31 1:25 PM
Hai,
Why can't you try with <b>CG3Z</b> and verify using <b>CG3Y</b> Tx.