on 01-24-2014 7:26 AM
Hi all,
I am working on a File to IDOC scenario,where the File Structure looks like below
Header
daf fg hgjnfh hwethjyr fhs dfsbhfd
Claim Header
3214 ghht 743665 hjgjyulk 64 fhjyk lkyhl jreyj hre
Claim Item
wqefs fd 245634 fsdg weqt
Trailer
31 53 gdfsh
when I use Content conversion or message transform bean in SFTP,i have to ignore the Header and trailer record while reading this fixed length file...how can this be achived?
Hi Sahana,
Under Document Offset, specify the number of lines that are to be ignored at the beginning of the document. This enables you to skip comment lines or column names during processing. If you do not make an entry, the default value is zero lines.
So when you type Document Offset = 1, the first line of your input file will be ignored by the file adapter during FCC processing.
Regards,
Tulasiram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sahana,
Please use the "Document Offset" parameter of FCC to remove the Header Line from your file.
Thanks,
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Do u have any key field value?
If yes, then it can be done very easily and if not then u can do it partially.
I mean u can ignore first line which corresponds to header while doing FCC and read ur file and then at mapping level ignore trailer record.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.