Skip to Content
0
Aug 21, 2015 at 01:44 PM

Removing multiple header lines from CSV file

130 Views

Hello Everyone,

I have a IDOC to CSV file scenario in PI, where multiple IDOCs for a particular Vendor gets converted into a single CSV file. Now as per the requirement, we need to generate a header line in the CSV file.

I have developed it and currently header line is generating in the file but the problem is, each and every time a IDOCs sent to PI, the header generation logic gets triggered and at end in the final CSV file, multiple header lines are populating instead of once.

Kindly suggest to solve the issue.

Do let me know if you require any further information on the same.

Regards,

Ravi