on 11-19-2009 5:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.