on 10-12-2023 11:19 AM
Hi Experts,
We are working on BTP SAP Integration Suite(Cloud Integration) and it receives XML like below.
But, XML to CSV convetor not working, can you guide me what needs to maintained on XML to CSV convertor.
Namespace prefix is "ns1" and should I maintain it somehwhere? please guide me.
XML input
<?xml version="1.0" encoding="UTF-8"?>
<ns1:GPurchaseContract>
xmlns:ns1="http://corpintra.net/pi/P_LY/PurchaseContract">
<Plant>6282</Plant>
<MBPartNo>A2520100800</MBPartNo>
<MBPartName>CYLINDER HEAD COMPL</MBPartName>
<Project>MGE</Project>
</ns1:GPurchaseContract>
Thanks
Ramu
Hi Ramu
Your XML is not valid; that is why the XML to CSV converter fails. I'm guessing your input should look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:GPurchaseContract xmlns:ns1="http://corpintra.net/pi/P_LY/PurchaseContract">
<Plant>6282</Plant>
<MBPartNo>A2520100800</MBPartNo>
<MBPartName>CYLINDER HEAD COMPL</MBPartName>
<Project>MGE</Project>
</ns1:GPurchaseContract>
(Notice how I used the CODE button to insert this XML, without its formatting getting trashed.)
I can run this through the XML to CSV converter with no issues.
Regards,
Morten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.