cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to pass exact error details received from backend in CI to caller?

Kesha2
Discoverer
0 Likes
494

Hi Everyone,
We have a scenario where 3rd party is calling an odata service synchronously through CI as below:

3rd party —> CI —> SAP S4.

Whenever any ABAP dump is thrown from the backend system, it forwards it to CPI but Caller is unable to get the exact error (it says internal server error occured and gives MPL id of the failed message).
The detailed error is not shown in the message.

So our concern is how to pass the exact error details from SAP backend to the caller?

View Entire Topic
Manideep2
Discoverer
0 Likes

 

If the backend system sends an error payload, store it in a property. Use a Groovy Script to extract and modify the response and send it as a body to sender.