Skip to Content
author's profile photo Former Member
Former Member

Interface FTP - XI - FTP

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2009 at 08:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2009 at 09:08 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2009 at 04:26 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.