2005 Jul 23 8:26 AM
Hi All,
I got a problem in putting a file on to other FTP server from our ABAP program. Actully i got data in to one internal table. From that i need to put the file on to other FTP(Not SAP) server. That file is Comma delimited text file. I checked many ways, in those i am able to put file in binary format. If we use FTP_R3_TO_SERVER function module, we are able to put the data but data is in single line and i dont understand the size specification. Please let me know how we can solve this problem.
regards,
chandra.
2005 Jul 23 8:29 AM
check out the following weblog by Thomas Jung for code sample.
/people/thomas.jung3/blog/2004/11/15/performing-ftp-commands-from-abap
Regards
Raja
2005 Jul 23 2:18 PM
Hi Durairaj,
I tried in this way also. but as i told you, all records are placing in single line and i am not understanding the size matter when we use FTP_R3_TO_SERVER function module. Can any one solve my problem??
regards,
chandra.
2005 Jul 25 9:01 AM
Hi All,
Can anyone solve my problem??? I need urgent solution.
regards,
chandra.
2005 Jul 25 9:08 AM
Hi Chandrasekhar,
Have a look at standard programs RSFTP007 and RSFTP008.
Thanks
Lakshman
2005 Jul 25 9:08 AM
Hi,
Check this.May be this can help you.
http://www.sap-basis-abap.com/sapac008.htm
http://www.sap-press.de/forum/gp/themaID-5/zeige-12302/thread
Message was edited by: Jayanthi Jayaraman
2005 Jul 25 9:10 AM
2005 Jul 25 9:19 AM
Hi,
use a new field at the end of the line with hex value '0D0A'.
PCLineEnd(2) type x value '0D0A'.
Svetlin