How-To Application Acknowledgment SAP - XI -Legacy
I need to implement in XI an interface which receive goods receipt records (in a batch file) from legacy, these records are then mapped into (ToBeDecided interface - Choices are Idoc or ABAP proxy) and sent to SAP.
So far very straight forward scenario, the only issue we have at this moment is that the sender app. expects a confirmation (application ack) from SAP for every single record.
One of my questions is what kind of interface(ABAP proxy or IDoc) can support this functionality? I understand that IDoc ack. can only be used by SAP systems, does that also applies when interacting via XI i.e. Legacy - XI - SAP?
On the other hand, I know that using the Send/receive process step in ccBPM you can also send an application ack. back to the sender app. in this case the legacy system. Could this last one be a better/elegant solution than the one above?
Another option I have considered is perform a pre-check (call RFC function from XI) during runtime and validate the data (order nr, matnr, etc..)before it is actually posted as IDoc to SAP. If the data is not valid then XI will send a reponse to the sender app.
I appreciate any feedback regarding application ack. from SAP to Legacy, thanks a lot!