cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in FCC paramenter in Fixed Filed Length file at reciver side

Former Member
0 Kudos

Hi,

I am doing IDOC to File interface. In that at receiver side I am sending file in Fixed Field Length Format.

Receiver File Message structure is as fallows.

Recordset

--Control

-


CTID

-


CTGUI

-


.... Control Fields

--Header

-


AHID

-


AHGUI

-


....Header Fields

--Detail

-


ADID

-


ADGUI

-


... Detail Fields

--Notes

-


INID

-


INGUI

-


...Notes Field

We want output File format in such a way that each Control, Header, Detail & Notes records should come on different line.

I am using following paramater in File Content conversion:

Recordset Structure* = Control,Header,Detail,Notes

Control.fieldFixedLengths = control field lengths

Header.fieldFixedLengths = header field lengths

Detail.fieldFixedLengths = detail field lengths

Notes.fieldFixedLengths = Notes field lengths

ignoreRecordsetName = true

But the problem is I am getting all records in same line in file.

Any help on this issue will be appreciated.

Regards,

Prashant Kudtarkar

Accepted Solutions (1)

Accepted Solutions (1)

sunilchandra007
Active Contributor
0 Kudos

Hi Prashant,

Add these parameters to get records in different line.

Control.endSeparator = 'nl'

Header.endSeparator = 'nl'

Detail.endSeparator = 'nl'

Notes.endSeparator = 'nl'

Regards,

Sunil Chandra

Former Member
0 Kudos

Thanks Sunil,

I have tried this. But it is not working.

Regards,

Prashant Kudtarkar

former_member187339
Active Contributor
0 Kudos

Hi Prashant,

Normally it shoudl work.. are you opening the file in a notepad ?? Are you seeing any boxes in the end of line??

try to use editplus and see whether you can see the newline character in file

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

You are right. When I open that file in notepad I am getting boxes at end of each record and all records are coming in same line but when I open that file in XL or wordpad I am getting each record on new line.

I am using following paramater in File Content conversion:

Recordset Structure* = Control,Header,Detail,Notes

Control.fieldFixedLengths = control field lengths

Header.fieldFixedLengths = header field lengths

Detail.fieldFixedLengths = detail field lengths

Notes.fieldFixedLengths = Notes field lengths

ignoreRecordsetName = true

Thanks and regards,

Prashant Kudtarkar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prashant,

Kindly have a look at the below blog by Shabarish, it will be useful:

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Cheers,

Dhwani