Skip to Content
0
Former Member
Jul 14, 2008 at 01:56 PM

FCC : Each line in file to end end with comma

275 Views

Hi All,

I am using FCC to write my IDOC data to a flat file.

All data is written perfectly except the end-of-line marker.

My requirement is that the end of line should have a comma ',' and the next data line should start in a new line 'nl'.

I tried using the statement Data.endSeparator = ',' . It does add a comma to the end of line but the next data line starts immediately after it and not in a new-line.

Is it possible to end the data line with a comma ',' and then make the next data line start ina new line.

Eg of my output file:

Current situation:

1 Header

2 Data , 3 Trailer

What I want:

1 Header

2 Data ,

3 Trailer

Appreciate your comments on thsi.

Regards

Shirin

Edited by: Shirin K on Jul 14, 2008 2:56 PM