cancel
Showing results for 
Search instead for 
Did you mean: 

xml to csv groovy script

0 Kudos

HI CPI experts,

My target structure is having two records under NODE LIST.

For example :

<root> <Customer> <Record1>...</Record1> <Record2>...</Record2> </Customer> </root>.
I tried to use XML to CSV integration capability in CPI but it is not working, i guess it will work for only one hierarchy/record.

Can you please help me to provide the syntax of groovy for converting XML to CSV.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member194481
Participant
0 Kudos

Hi Mani ,

I think we can make use of the already available jars from the below link , Please refer.

https://blogs.sap.com/2018/09/04/formatconversionbean-arrives-in-cpi/

https://blogs.sap.com/2015/03/06/deepfccbean-the-better-fcc-at-meeting-your-deep-structure-needs-par...

Thanks and Regards,

Vijay