Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PI FTP: Process 1 file at a time until it is successfully processed at the target system

Dear Experts,

As the title said, I'm required to process 1 file at a time and only process the next file after the previous file has been successfully processed at the target system. The interface scenario is asynchronous FTP to ABAP proxy.

It is similar with the following link:

File adapter to pick a single file

I think there could be 2 feasible solutions:

1. Configure EOIO at the sender CC. According to this link:

     Queues for Asynchronous Message Processing (SAP Library - SAP NetWeaver Exchange Infrastructure)

     It is stated that "Once the message has been processed successfully in the target system, the Integration Engine executes an implicit database commit."

     In the case of asynchronous FTP to ABAP proxy, will the PI wait for the ABAP proxy to finish processing the file before sending the next one?

2. Configure locking at the ABAP program in ECC. I could ask the ABAPer to create a locking mechanism to lock the document before it is posted to BAPI. If the reference document is being locked, it will try again for the next second up to a certain times before it gives up.

Which 1 is actually fits the requirement?

Thank you,

Suwandi C.


AFAIK - First option should be fine and you can even define the queue name in the sender channel

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question