‎2006 Dec 21 3:08 PM
Hi all,
I have the following code to output data.
OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE encoding default.
my question is what the format of output file should be? Is there any specific requirement? And if I run this code successfully, I should save the file onto server. How can I see the file? Thanks in advance!
Linda
‎2006 Dec 21 3:39 PM
u need to declare an internal table which contains all fields of type c and length as correspodning to itab fields.
loop at itab.
tab-field1 = itab-field1.
tab-field2 = itab-field2...and so...on
append tab.
endloop.
so, tab will be having data which is in character format.
now, this internal table can be used to download to application server using datasets.
‎2006 Dec 21 3:38 PM
‎2006 Dec 21 3:39 PM
u need to declare an internal table which contains all fields of type c and length as correspodning to itab fields.
loop at itab.
tab-field1 = itab-field1.
tab-field2 = itab-field2...and so...on
append tab.
endloop.
so, tab will be having data which is in character format.
now, this internal table can be used to download to application server using datasets.
‎2006 Dec 21 3:58 PM
In addition to the above replies...
You can view the file using Transaction AL11
or
If u have an FTP connection you can view them
‎2006 Dec 21 4:01 PM
User t-code FILE to define logical paths.
Execute t-code AL11 and go to that particular directory to find your file.
Thanks,
Santosh
‎2006 Dec 21 5:00 PM
Thanks all.
I have no access to those TC at this moment. Let me try later.
Linda