SAP XI/PI/PO how to handle sync to async Interfac...
Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Hi all
sometimes it is not given to discuss with Sender and Receiver about a good Interface architecture. We all know the wonderful sentence: Sender and Receiver Interface can not be modified so please PI developer do the needful 🙂
Also with AEX single stack we can not use ccBPM and will avoid to use BPM for such a technical stuff.
Below you will see different solutions which can help you to find your specific way.
Dear Daniel,
nice contribution!
Please find a blog explaining the bean approach here already (believe it or not I also got positive feedback from former SAP colleagues although the comment of the blog is not very positive): https://blogs.sap.com/2015/10/08/sync-async-soap2idoc-with-sap-pro-wout-bpm .
However, I would not recommend any of the other approaches.
A UDF to perform a Lookup is not meant to be sending asynchronous messages. It is not a good design.
Handling the empty response with a Java Mapping (which is basically what you do using the transform method) is quite nice, however you are loosing the source message and would have to pass over some values via adapter modules if necessary...
I'm trying to implement the first scenario (Sync - Async) without BPM
In the image with the title "Sync to Asy Interface with Transform" i'm seeing a Message Mapping in which i need to insert code into the function called "Attributes an Methods".
I did it, but when i tried the service into the log of the request i see an error because the answer of the async web service is null.
1- What type of source message and result message are you implementing for the Message Mapping?
2-How you controll the null response of the async web service?