on 01-08-2021 11:56 PM
Hi
I have a API, When I call it using HTTP (using Oath2), it gives response (JSON)
I need to capture the response message and post it as an idoc to ECC.
In case of PI/PO we build sync service interface and it is straight forward.
In case of CPI, I am not seeing any block/step to handle this.
can you advise if this requirement can be handled out of box or should I write any script ?
I went through below log and this looks to be a different requirement.
https://answers.sap.com/questions/13025237/sap-cpi-how-to-capture-response-message-from-http.html
Advanced thanks for your help.
Thanks
Ravindra
Hello Ravindra,
If you are getting response message in body ( after request reply of http adapter ) then you dont have write any script you can just add JSON to XML converter and transform the response as required by your sender system. In case if your looking for error response or any headers from your receiver HTTP adapter then you should Allow the header in Runtime Configuration of iflow + add a script to get hold of error response ( inside exception subprocess for error ).
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.