‎2009 May 19 4:34 PM
I have populated my internal table with values.That i need to write it to applcation server.
How to do it?
i went into al11,but the filename is not showing.
Plz help
‎2009 May 19 4:44 PM
Hi,
Check this link:
http://abaplovers.blogspot.com/2008/05/sap-abap-data-download-to-application.html
Regards,
Gilberto Li
‎2009 May 19 5:04 PM
Please press F1 on TRANSFER. Also search SCN with this. You will find plenty of examples.
Rob
‎2009 May 19 5:29 PM
Use open dataset and close dataset statements......
Use transfer staement to transfer the data from internal table to the file.
regards
kanishak
‎2009 May 20 9:50 AM
Hi,
If you want populate the internal table data to the application server, first you need to open the file in application server using open data set statement.
OPEN DATASET l_filename_app FOR APPENDING IN TEXT MODE ENCODING DEFAULT .
after that you need to mention trnasfer statement.
TRANSFER l_data_string TO l_filename_app.
after that you need to close the file.
CLOSE DATASET l_filename_app.
Rgds,
Venu.
‎2009 May 20 10:00 AM
‎2009 May 20 10:19 AM
hi,
please use these statements to write in a application server.
OPEN DATASET <FNAME> FOR OUTPUT IN TEXT MODE ENCODING DEFAULT LINE SMARTFEED.
*take data of internal table into string.
*after that use this statement.
TRANSFER <DATA_STRING> TO <FNAME>.
CLOSE DATASET <FNAME>.