Skip to Content

Payments value not converting properly by using SAP PO rest adapter

Hi Team,

We are facing issue with converting xml tag value into Json tag value.

XML value:

<paymentTerms>1% 10/Net 30</PaymentTerms>

After converting json value changes like below:

"paymentTerms":"1% 10\/Net 30"

issue is after 10 extra \ is adding and could you please any one help me on the above issue.

we are using SAP PO rest adapter convrting xml payload to json payload.

Thank you,

Narasaiah T

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 19, 2018 at 01:03 PM

    Hi Nara,

    Please check below threads.

    https://archive.sap.com/discussions/thread/3859894
    https://blogs.sap.com/2016/01/13/rest-adapter-in-sap-pipo-enhanced-xmljson-conversion/

    Please try to send that field value as string to third party system.

    Thanks & Regards,

    Vishnu.

    Add comment
    10|10000 characters needed characters exceeded