Skip to Content
0
Jan 25, 2023 at 03:45 PM

How to Convert .txt data in xml in sap cpi

297 Views

Hi All,

Hope all are doing well...

I have a requirement is,I posting a .txt file from postman to cpi I need convert into xml.

exmaple:

Order

123456789,

236598747,

212365849

this is the data in Order.txt file now i am posting to cpi now i need to convert like below,

<Orders>

<Order>123456789</Order>

<Order>236598747</Order>

<Order>212365849</Order>

</Orders>

I used standard converter csv to xml is not working.

Thanks,

Kumar