‎2008 Apr 23 3:17 PM
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
‎2008 Apr 23 3:21 PM
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
‎2008 Apr 23 3:37 PM
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
‎2008 Apr 23 3:51 PM
Hi ,
Inside your FM check where the exception "ftp_failed = 5" is being handled and for what reason. there is the problem.
Thanks,
Greetson