04-30-2008 9:22 AM
Hello,
I need to read an Excel file (saved as CSV) from a windows server and get the data into R3 program internal table.
I've found the function module CALL FUNCTION 'FTP_CONNECT' but it have an obligatory parameter called RFC_DESTINATION.
But my windows server is just keeping the file... it isn't an RFC destination... I have access to that server via FTP with a normal FTP client and I only need IP, user and password. Why SAP needs RFC_destination?
Edited by: Marshal Oliveras on Apr 30, 2008 10:23 AM
04-30-2008 9:44 AM
you kan use function module
FTP_R3_TO_CONNECT and if you want code give me ur id will send you code
thanks
Edited by: Ankur Sharma on Apr 30, 2008 10:45 AM
04-30-2008 9:49 AM
04-30-2008 9:51 AM
The fact that RFC destination is this:
SAP implements FTP client control via standard RFC 959. To make use of this from with ABAP there has to be a program in SAP Kernel with name sapftp.xxx (xxx depends on OS). Or a file must exist in SAP GUI on the frontend usually in directory SAP GUI>\SAP\FrontEnd\SAPgui. This program 'listens' to RFC Destination SAPFTP. Normally during installing this destination is created, but you can also create it yourself in SM59. Use name SAPFTP for this. Type of destination should be 'T' (TCP/IP).