cancel
Showing results for 
Search instead for 
Did you mean: 

XML to XLS file converting in sap cpi using standard or groovy

former_member229127
Participant
0 Kudos

HI All,

Can you help to convert the xml to xls file which i need to post in the sftp in sap cpi.

Regards,

Sandhya

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Kudos

Hello Sandhya,

Please refer below blog and you need to use Apache POI libraries to generate XLS.

https://blogs.sap.com/2020/10/06/converting-xls-file-to-xml-format-with-cpi-groovy-script/

https://howtodoinjava.com/java/library/readingwriting-excel-files-in-java-poi-tutorial/

Regards,

Sriprasad Shivaram Bhat

former_member229127
Participant
0 Kudos

Hi sriprasadshivaramabhat ,

The blog which you have provided is XLS to XML but i need xml file to XLS that in groovy do you have any code for it?

Regards,
Sandhya