Hi Experts,
We have a scenario where we are sending a message from ECC to receiver interface. We are using SFTP adapter at the receiver side. The file structure is in the following format. We need to convert the xml to flat file. So how to convert the XML to flat file. We are using the advantco.com SFTP adapter. We are able to create Header1 and trailer but details tab is missing.
Input XML
<RecordSet>
<Header1>
<A1>11</A1>
<A2>22</A2>
</Header1>
<Detail>
<Header2>
<B1>123</B1>
<B2>234>/B2>
</Header2>
<Header3>
<C1>aaa</C1>
<C2>bbb</C2>
</Header3>
</Detail>
<Trailer>
<D1>a11</D1>
<D2>b22</D2>
</Trailer>
end of recordset
Output file
1122
123234
aaabbb
a11b22
Thanks,
Srinivas.