cancel
Showing results for 
Search instead for 
Did you mean: 

Interface FTP - XI - FTP

Former Member
0 Kudos

Hi,

I need to make a interface that take a file via FTP , with this data call a BAPI to update a SAP table and send the same file to other FTP.

The problem is that in when an error appears in the ftp receiver (ex. connection error or login error) this file must be sent to other FTP. It's possible do it, any idea?

thanks in advance

Jose

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I think u need to go for BPM as there we can handle with system error.

In BPM u have contrainer variable of type Receiver which is determined from ur ID Receiver determination and used in Send step.

So in BPM u can use exception handler to decide receiver.

Regards,

Manisha

Edited by: Manisha Dahatonde on Nov 12, 2009 10:24 AM

Former Member
0 Kudos

Hi Kulwant,

Yes the this is the scenario.

I get a file to send to other system, if the adapter fails I have to send the file to other system using FTP.

FTP sender -


> XI -


> FTP receiver (if sent ok the interface finish)

Error case:

FTP Sender -


> XI -


> FTP receiver (Error login in FTP)

-


> FTP receiver (Sent to other system)

Regards,

Jose

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Use Java proxy in receiver side,Because when you FTP server down Receiver file adapter it tries 3 times to send data,if still the FTP down or login id dateils wrong then its show the error message,communication channel error.

Use JAVA proxy and write a logic such a way that if FTP server not available process the message to other FTP server.

Regards,

Raj

Former Member
0 Kudos

Hi Jose,

Let me rephrase the scenario first:

You have FTP sender A -> XI -> BAPI Call and File reciver B

If There is an error in File Receiver B, send it to File Reciever C.

If this is the scenario

Thanks

-Kulwant