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
499

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
robertot4s
Contributor
0 Likes

Hi @Kesha2 ,

If you have a dump in abap... I think the only way is to include all your abap code into a try/catch, get the error information and return it in a structured message.

Regards,

Roberto