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

FTP adapter with application acknowledgment

Hello,

I like to send a file with an FTP adapter to an "in" folder and configure a sender FTP adapter to pick up files from an "out" folder. I'd like to us a BPM and have the BPM determine if the returning file is pointing to an error and send an alert. This is my manual way to create an application acknowledgment.

So my BPM needs a Receive, Send and then another Receive step. Has anyone done this before? Or is there some good documentation on this process?

Thanks,

Matt

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 03:29 PM

    That sounds reasonable. Do you know of an example or a good resource to help me create a UDF that can read an error message within an XML file?

    Thanks,

    Matt

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 20, 2008 at 10:42 AM

    I like to send a file with an FTP adapter to an "in" folder and configure a sender FTP adapter to pick up files from an "out" folder.

    You want to send file but what i the trigger point of the scenario. The scenario must start with receiving some file in XI. In my understanding, you scenario would begin from "out" folder to XI to "in" folder.

    See this

    https://blogs.sap.com/?p=41887

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 03:06 PM

    In this scenario I am hoping to send a PO from R/3 to XI via proxy. Then have XI send the PO as an XML document to outside organization with a FTP server using XI's FTP adapter (the XML file contains the message id). The outside organization processes the XML and creates a file using the message id with a success or fail message and puts it in the Outgoing folder. XI FTP adapter is configured to pick up that files from that server every 10 minutes. It grabs the PO acknowledgment and then sends an alert if the PO acknowledgment contains an error message.

    I want all of this on one BPM so I can process each message. Is this possible?

    Thanks,

    Matt

    Add a comment
    10|10000 characters needed characters exceeded

    • The BPM is possible here, and the steps Recieve, Send, Receive is fine. But you should place second receive in a separate block otherwise it will ask for common correlation between first and second receive.

      It grabs the PO acknowledgment and then sends an alert if the PO acknowledgment contains an error message.

      How are you planning to achieve this? You cannot understand the error directly. And unless there is an error, no alert will be raised. In that case, you may create a dummy transform step and write a UDF to create an alert explicitly through UDF.

      Regards,

      Prateek

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.