Skip to Content
0
Jun 02, 2008 at 03:59 PM

FTP_SERVER_TO_R3 Help needed

134 Views

hi

I have a particular requirement in which I need to transfer files from FTP to R/3 Application Server Directory.

For this purpose I am using the following Function Module FTP_SERVER_TO_R3

CALL FUNCTION 'FTP_SERVER_TO_R3'
    EXPORTING
      handle               = w_handle
      fname                = filename
      character_mode       = 'X'
*     IMPORTING
*       BLOB_LENGTH          =
*     TABLES
*       BLOB                 =
*       TEXT                 =
   EXCEPTIONS
     tcpip_error          = 1
     command_error        = 2
     data_error           = 3
     OTHERS               = 4
            .

Can you tell me what is the default location to which this Function Module transfers the FTP file to ...

in the above code I see that I cannot specify the Directory Path.. please suggest me an alternative FM or how to handle the existing FM