Hi All,
Can I transfer the data from SAP to FTP server in CSV file format. I have gone through the following function modules for it.
HTTP_SCRAMBLE - To scramble the password
FTP_CONNECT - To connect to the remote system
FTP_COMMAND - To execute the FTP command
FTP_DISCONNECT - To close the FTP connection
FTP_R3_TO_SERVER : used to transfer the internal table data as a file to other system in the character mode.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
handle = w_hdl
fname = wrk_file "file path of destination system
character_mode = 'X'
TABLES
text = it_dat
EXCEPTIONS
tcpip_error = 1
command_error = 2
data_error = 3
OTHERS = 4.
what is this character_mode? The file will be a text file??
Thanks in Advance.
- Neha.