Hello SDN Community, I have a problem regarding the FM FTP_R3_TO_SERVER. I have an internal table and create an XML-String with BANK_API_PP_UT_DATA_TO_XML out of it.
CALL FUNCTION 'FTP_R3_TO_SERVER' EXPORTING handle = mi_handle fname = 'test.txt' blob_length = 5000 tables blob = i_tab The error msg is 'FTP subcommand:local error'. And then the file TEST.TXT is generated in FTP server,but without any data. ...
CALL FUNCTION 'FTP_R3_TO_SERVER' EXPORTING handle = w_handle fname = '20080517121001.txt' BLOB_LENGTH = CHARACTER_MODE = 'X' TABLES BLOB = TEXT = it_ftpdata EXCEPTIONS TCPIP_ERROR = 1 COMMAND_ERROR = 2 DATA_ERROR = 3 OTHERS = 4 . IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE...
DATA:blob_lengthTYPEi,bindataTYPEsolix_tab,ftp_handleTYPEi...CALLFUNCTION'FTP_SERVER_TO_R3'EXPORTINGhandle=ftp_handle fname='test1.jpg'CHARACTER_MODE=abap_false"<=== ask binary mode to fill BLOBIMPORTINGBLOB_LENGTH=blob_lengthTABLESBLOB=bindataEXCEPTIONSTCPIP_ERROR=1COMMAND_ERROR=2DATA_ERRO...
hii can anybody tel me how to use FTP_SERVER_TO_R3 plzz explain all the required parameters also is this the function module that i need to call for transfering files