Skip to Content

JSON with special characters

HI together,

I am on SAP PO 7.5 and using sender REST adapter for JSON. From an external system we are getting a JSON which is delivered as "String" but contains special characters like the germans 'Ä', .. but several others. We are receiving in SAP PO UTF-8.

I do not want to do a mapping table for each value to be mapped..

Character see Name: Test 6 Ä

<?xml version="1.0" encoding="UTF-8"?>">
{"@odata.context":"<a href="$","OutputData":"{"RequestNum":null,"xxx":[{"AccountId":"f8d9ba03-9aaa-e811-a971-000d3a296db9","AccountNumber":null,"AccountType":"Z005","Address1City":"Test" target="_blank">$","OutputData":"{"RequestNum":null,"xxx":[{"AccountId":"f8d9ba03-9aaa-e811-a971-000d3a296db9","AccountNumber":null,"AccountType":"Z005","Address1City":"Test</a> 6\",\"Address1Line1\":\"Test 6\",\"Address1PostOfficeBox\":null,\"Address1PostalCode\":\"Test 6\",\"Address1StateorProvince\":\"Test 6\",\"BusinessLine\":null,\"CountryPostalAddress\":\"DE\",\"EmailAddress1\":null,\"Fax\":null,\"Name\":\"Test 6\u00c4\",\"ParentAccountNumber\":null,\"PoBoxPostalCode\":null,\"PreferredLanguage\":\"EN\",\"ProductLines\":null,\"Statecode\":0,\"Telephone1\":null}]}","OutputRequestNum":"0000000000000000"}

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 17, 2018 at 04:55 PM

    Few special characters can be replaced in the adapter itself. Configuration options are provided in the standard adapter.

    But, is that will not fulfill your requirement, you need to go for Java mapping/custom module approach.



    Add comment
    10|10000 characters needed characters exceeded