2007 Feb 07 2:05 PM
I have following problem. There is a *.csv file in application server. I would like to append a new row in this file. The row should be appending on the top of this file.
Do you have some idea?
Thanks!
I have following problem. There is a *.csv file in application server. I would like to append a new row in this file. The row should be appending on the top of this file.
Do you have some idea?
Thanks!
2007 Feb 07 2:10 PM
hi Nika,
the best way is first read that data into some internal table and then append the new record at the top and then upload that data.
for uploading and downloading the data
check
http://www.sapdevelopment.co.uk/file/file_uploadsap.htm
http://www.sapdevelopment.co.uk/file/file_downloadsap.htm
regards,
santosh
2007 Feb 07 2:37 PM
HI,
Best option would be, first read the file into your memory using the open dataset...
Now add the new line at the top of internal table.
Delete the file from the application server and again write back the newly created internal table.
Regards
Subramanian
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |