cancel
Showing results for 
Search instead for 
Did you mean: 

file receiver : blank line at end of file

Former Member
0 Kudos

Dear friends,

we are using file receiver with file content conversion , tp : FTP

The file has a flat structure & fixed length (no delimiters) :

reordset parameters used- fieldFixedLengths

each record is in a different line, but at the end of the records a blank line is inserted.

(no endSeparator is used.)

Can you pls advise hot to get rid of this extra blank line

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Use ABC.endSeprator = " "

Regards

Hemant

Former Member
0 Kudos

hI,

I am already using this paramtere with value cut.

but the issue still remains

regards

Prasenjit

Former Member
0 Kudos

Datta,

Give it a shot by using:

.endSeparator : '0x08'

This is back space. If you get new line then by giving back space it may go to the above line end.

---Satish

Former Member
0 Kudos

Hey

i guess by default XI puts a new line in the end,one way around can be to write a OS application which will take this file and trim down the last line.

i never tried it by myself ,but its worth giving a try

thanx

ahmad

former_member184619
Active Contributor
0 Kudos

Hi Datta,

I am not sure but you can try with follwing parameters...

NameA.fixedLengthTooShortHandling

Specify how you want the system to respond when column widths in the actual document exceed those defined in NameA.fieldFixedLengths. The following values are permitted:

· Error

Error means that processing of the document is terminated.

· Cut

Cut means that a value is shortened to the maximum permitted length.

· Ignore

Ignore means that the system applies the value completely, regardless of it being too long. Subsequent columns are moved correspondingly.

U can use ignore in your case.

For more info. plz check

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm

Regards

Sachin