Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FTP Error

Former Member
0 Likes
431

Hi Experts,

I am using the below FM

CALL FUNCTION 'ZSMQ_SEND_FILE'

EXPORTING

zmqifacena = 'ZCAR'

l_parameter_1 = fname

l_filename = ws_dsn

r_parameter_1 = fname

EXCEPTIONS

interface_not_found = 1

interface_not_outbound = 2

logical_filename_not_found = 3

dataset_not_found = 4

ftp_failed = 5

OTHERS = 6

.

IF sy-subrc <> 0.

MESSAGE e398(00) WITH

'MQ XFER for ACT failed RC = sy-subrc.

ENDIF.

I am getting FTP FAILED error, What could be the problem

pls suggest

Thanks

sai

3 REPLIES 3
Read only

Former Member
0 Likes
405

Hello Saikar Sai,

The FM 'ZSMQ_SEND_FILE' that you are mentioning is a custom function Module and not the SAP standard one. So you need to debug the code for understanding the cause.

Thanks,

Greetson

Read only

Former Member
0 Likes
405

hi it will display the error means it will raise the exception ...so go through the exception and it will give the solutions..

regards,

venkat

Read only

Former Member
0 Likes
405

Hi ,

Inside your FM check where the exception "ftp_failed = 5" is being handled and for what reason. there is the problem.

Thanks,

Greetson