cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

I have a query I have one file in SFTP and I want to split the file based on the id .

tab89
Explorer
0 Likes
512

I have a query I have one file in SFTP and I want to split the file based on the id

suppose the file is 

<idoc>
<header>
<sap_po>1233</sap_po>
<art_code>0003</art_code>
<name>cup coffee half cup</name>
</header>
<details>
<item>
<sap_po>1231</sap_po>
<art_code>0001</art_code>
<artname>cup tea one fit</artname>
</item>
<item>
<sap_po>1232</sap_po>
<art_code>0002</art_code>
<artname>cup drink one fit</artname>
</item>
<item>
<sap_po>1234</sap_po>
<art_code>0004</art_code>
<artname>cup drink two fit</artname>
</item>
</details>
</idoc>

 

need to create 4 files since there are four SAP_PO in the source

Accepted Solutions (0)

Answers (0)