cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Gateway - Get request original data

LuisBecker1
Explorer
0 Kudos

Hi

Is there a way to get the original request data when calling a Gateway service(XML or JSON format)? I want to save the original payload for post-processing errors. I tried several methods and attributes inside the DPC_EXT class and couldn't find a way, without writing a transformation to translate it to the JSON format again. Is there a way to achieve it?

Thank you

Luis

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

When the call comes to DPC_EXT, it is already in ABAP format. Transformation from JSON/XML to ABAP format happens in IWFND layer. (Not IWBEP layer),

I would suggest you to look at Tcode /IWFND/ERROR_LOG. This Tcode has a button called 'Request Data'. Debugging that code might give you what you need.

Answers (0)