cancel
Showing results for 
Search instead for 
Did you mean: 

JSON data is getting converted into unreadable format in SAP PI

0 Kudos

Hi All,

I am facing issue with content of file which is in not readable format.

Scenario: S4 Hana (on cloud) is sending data via API with content type as application/json(Http destination is created and used in API configuration and this API is being triggered by target system connector and data is being sent out from S4 Hana to SAP PI)

Now when we are checking in SAP PI, in Payload, i can see that data is not in readable format while we have verified that data is like test data (upon downloading the file at S4 Hana side), so not sure what is causing it to change the format. When we are checking the content type of payload in PI monitoring, it is showing as text/plain.

And if we trigger the same data via SOAP UI, we are able to get data properly.

I am using REST sender adapter with JSON file format.

I also tried to change the content type as application/json via ModuleTransformationBean, but it also did not help.

Can someone assist me here and let me know if more details are needed.

Your response will be highly appreciated.
Regards,
Saurav Kumar

Accepted Solutions (0)

Answers (0)