Skip to Content
0
Jan 19, 2021 at 03:44 AM

SAP PO XML to JSON conversion Array Number

58 Views Last edit Jan 19, 2021 at 03:46 AM 3 rev

Hi SAP PO Gurus,

I'm trying to convert an XML to a JSON.

Problem is there is a weird bug in SAP PO. When I set the fields as number (but in the screenshot it's decimal since I have been trying different combinations), the fields got the decimals that I wanted (3 decimals), but the array for the results is not working. When I changed the type to either integer, decimal or float, the array is fixed but unfortunately, the fields will not have the decimal places.

configuration-of-stocks-json.jpg

I need both .000 and array in the JSON output.

Attachments