Hi All,
I have a scenario SFTP > PI > ECC, currently we are using 7.3.1 PI version. we are getting the .csv file from the SFTP server, by using the message transformation bean we are able to parse .csv.
Here we are using the conversion type as StructPlain2XML. To ignore the first 2 rows we used documentSkipFirstRows parameter and it is working fine.
Issue is we are getting the additional tag in the payload as "Recordset". Even we tried with an option ignoreRecordSetName = true.
But still we are getting Recordset segment. can you please help to sort it out. We dont need the Recordset segment in payload.
AS IS:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Sample_MT xmlns:ns0="http://sample.com/xi/asd/csv">
<Recordset>
<ROOT>
<Number>802</Number>
<text>MASCHN</text>
</ROOT>
</Recordset>
</ns0:Sample_MT>
******************************************************************
TO BE:
_________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Sample_MT xmlns:ns0="http://sample.com/xi/asd/csv">
<ROOT>
<Number>802</Number>
<text>MASCHN</text>
</ROOT>
</ns0:Sample_MT>
____________________________________________