Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extra Blank Line gets added at the Beginning of the file by File Adapter...

Hello All,

I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:

<File>

<FName>some file name</Fname>

<Record>

<Data>

<Line>Text Lines</Line>

</Date>

</Record>

</File>

while using the following Content Conversion Parameters: While I have defined "Record" as Structure.

Record.addHeaderLine = 0

Record.fieldSeparator = 'nl'

Record.endSeparator = 'nl'

Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.

So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.

Regards,

Athar

Former Member
Not what you were looking for? View more on this topic or Ask a question