on 05-22-2007 3:24 PM
Hi All,
I am dealing with a File2File scenario where in sender has a header record which consists of Tiltles, Multiple Detail records and a Trailer Record.
Structure Example:
<b>Header, Name, num,Id,City,State......</b>
Detail,david,890,678,Chicago,IL
Detail,avid,891,789,Ny,NY
Detail,vid,893,898,IN,IN
Trailer,3
Now i am writing File content conversion for this scenario. The thing is the receiving System Does'nt require the header Info. So how to ignore Only header info... I wrote Content Conversion for detail records and trailer record.Can any one tell the File Content Conversion parameters... how to ignore the header info..
Any help would be highly appreciated..
Hi,
U can do one thing.....convert incoming file as it is...dont ignore header recored.....in mapping dont map header record to ur target structure(dont create header record..just create details n trailer)....then send this to ur target structure.
Thanks,
Maheshwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
if u dont need header info,then create the receiver data type in the following fashion
Detail,david,890,678,Chicago,IL
Detail,avid,891,789,Ny,NY
Detail,vid,893,898,IN,IN
Trailer,3
and dont do any mapping for header.
thanx
ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RT,
First of all you have to read the whole file using the sender file adapter communicaiton channel into XI. From there in XI you dont map this header structure. So in sender you will have Header,1,Detail,*,Trailer,1.
In target datatype take only Deatil and Trailer and map these two only. Then your issue should be resolved.
---Satish
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.