PI FTP: Process 1 file at a time until it is successfully processed at the target system
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:
I think there could be 2 feasible solutions:
1. Configure EOIO at the sender CC. According to this link:
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?