cancel
Showing results for 
Search instead for 
Did you mean: 

Blank Lines While writing files

Former Member
0 Kudos

Hi,

I am using Receiver file adapter. In this, for endseparator i am using 'nl'.

Because of this each and every record comes in a separate line in the notepad, but the problem is, once all the record is written, an extra blank line is created in the notepad at the and which is a problem.

Please help me how to avoid this blank line from the file.

Thanks in advance,

Arunsri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

.endSeparator is not necessary in the receiver file adapter .

jude

Answers (2)

Answers (2)

siddhesh_pathak4
Contributor
0 Kudos

Hello,

PLease try using '0x0D' '0x0A'. I hope this will not return the blank line...and

FileName.endSeperator = '0'

Edited by: Siddhesh Pathak on Mar 24, 2009 5:59 AM

Edited by: Siddhesh Pathak on Mar 24, 2009 6:05 AM

JoelTrinidade
Active Contributor
0 Kudos

Hi Arunsri,

Please check your message payload . The adapter on its own does not insert blank lines.

Regards

joel

Former Member
0 Kudos

Hi,

The payload is looking fine. The first line in the file is a blank line. The blank line appears in the application server of SAP System, so when we download that file in a notepad, blank line is coming.

Thanks ,

Sri

siddhesh_pathak4
Contributor
0 Kudos

Did you try with,

FileName.endSeperator = '0' in your FCC..

Former Member
0 Kudos

hi,

Blank line is gone. But the records are coming in the same line... I want the records in separate line.

Thanks,

sri

siddhesh_pathak4
Contributor
0 Kudos

Hello,

Then, just try to use '0x0A' with field.endSeperator and filename.endSeperator = '0' .