Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

USER HOST RAISING NOT_CONNECTED From function module FTP_CONNECT

Hi,

I am getting the Following Error from the function module FTP_CONNECT

"Failed to Connect to the FTP server xxxxx.xx.xxx".Inside the function module at the statement

SET EXTENDED CHECK OFF.
CALL FUNCTION 'FTP_CONNECT' DESTINATION RFC_DESTINATION
     EXPORTING USER = USER PWD = PASSWORD ACCT = ACCOUNT HOST = HOST
               TRACE = FTP_TRACE GUSER = GATEWAY_USER
               GPWD = GATEWAY_PASSWORD GHOST = GATEWAY_HOST
     IMPORTING HANDLE = HANDLE ERROR = CERROR
     EXCEPTIONS SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2.
SET EXTENDED CHECK ON.

ERROR = CERROR iam getting value as 3
CASE CERROR.
 WHEN 1. MESSAGE E200 RAISING NOT_CONNECTED.
 WHEN 2. MESSAGE E201 WITH HOST RAISING NOT_CONNECTED.
 WHEN 3. MESSAGE E202 WITH USER HOST RAISING NOT_CONNECTED.
 WHEN 4. MESSAGE E203 WITH HOST RAISING NOT_CONNECTED.
 WHEN 5. MESSAGE E215 RAISING NOT_CONNECTED.
ENDCASE.

I have reffred the below theards

http://forums.sdn.sap.com/click.jspa?searchID=35902988&messageID=7748144

http://forums.sdn.sap.com/click.jspa?searchID=35902988&messageID=3952960

Regards

Anu

Former Member
Not what you were looking for? View more on this topic or Ask a question