Skip to Content
0
Former Member
Mar 27, 2007 at 08:48 PM

FTP_CONNECT

119 Views

I want to FTP a file. Can anyone explain me HANDLE . Also do I need DATA = MTAB_DATA. I am not sure about the purpose of this internal table

  CALL FUNCTION 'FTP_CONNECT'
    EXPORTING
      USER            = 'userid'
      PASSWORD        = MC_PASSWORD
      HOST            = 'servername'
      RFC_DESTINATION = 'SAPFTP'
    IMPORTING
      HANDLE          = MI_HANDLE
    EXCEPTIONS
      NOT_CONNECTED   = 1
      OTHERS          = 2.