Skip to Content
0

SAP Gateway - Get request original data

Nov 22, 2016 at 01:49 AM

37

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Krishna Kishor Kammaje
Nov 25, 2016 at 04:10 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded