cancel
Showing results for 
Search instead for 
Did you mean: 

Blank line in receiver file adapter content conversion

Former Member
0 Kudos

Hi,

I am using a receiver file adapter. Everything is working fine. Except that a blank line is put by the file adapter between each records. It is a flat file format.

I have used the stting below. How do we remove the blank line?

Recordset : ACCTHDR,BATCHDR,TRANSREC,BATCHTLR,FILETLR

ACCTHDR.fieldFixedLengths 1,7,4,9,8,665

ACCTHDR.absoluteRowWidth 694

ACCTHDR.addHeaderLine 0

Thanks

Sachin K

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

by default the endSeparator is a newline.

If you do not want a newline to separate the individul records, add the corresponding end separator to by adding the parameter <b>ACCTHDR.endSeparator</b> with the corresponding value.

More on this link

http://help.sap.com/saphelp_nw70/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Regards

Bhavesh

Answers (2)

Answers (2)

Former Member
0 Kudos

what are the FCC parameters for BATCHDR,TRANSREC,BATCHTLR,FILETLR?

Thanx

Aamir

Former Member
0 Kudos

Hi Amir,

Its the same as for like ACCTHDR

BATCHDR.fieldFixedLengths 1,7,4,9,8,665

BATCHDR.absoluteRowWidth 694

BATCHDRaddHeaderLine 0

I tried putting the end seperator it does avoid the blank line but add an extra char at end.

Former Member
0 Kudos

hey

try giving only .fieldFixedLengths parameter for all the elements

i.e. remove .absoluteRowWidth .addHeaderLine from all of them

Thanx

Aamir

Former Member
0 Kudos

Hi Guys,

I did the following & it worked

ACCTHDR.addHeaderLine 0

ACCTHDR.fieldFixedLengths 1,7,4,9,8,665,

ACCTHDR.endSeparator '0'

ACCTHDR.absoluteRowWidth 694

Thanks Points awarded to all of you.

Former Member
0 Kudos

for me was the Solution:

item.fieldNames

item.fieldFixedLengths

item.endSeparator '0'

Regards,

Tarkan

agasthuri_doss
Active Contributor
0 Kudos

Hi,

.endSeparator

The default value is a line break (no explicit separator after the last column; instead the structures are arranged line-by-line).

If you enter a character string here, the system adds it to the last column as a closing character. You can also make this specification in addition to NameA.fieldFixedLengths. To include a line break following the closing character, you must explicitly define it by attaching ´nl´ (including the quotation marks) to the string.

Regards

Agasthuri Doss