on 07-03-2007 11:26 AM
Hello,
I have a problem with a File generated by XI, my File Adapter is using variable substitution with reference to a field of my message type. I use content conversion as well and the generated file has a white line in top of file.
How could I avoid this and make the white lines disappear? I was trying a lot of things but I dont really know how to solve this issue, the following is the data type used:
<FILE_NAME></FILE_NAME>
<COMPANY>
<COMPANY_CODE></COMPANY_CODE>
<COMPANY_NAME></COMPANY_NAME>
<ADRESS></ADRESS>
.
</COMPANY>
FILE_NAME is the field I use for variable substitution and COMPANY is declare as 0..unbounded.
Thanks a lot in advanced,
Luis
Hi,
What all values have you mentioned in the Content Conversion Parameters?
thanks
Anju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First declare length of the field as <b>0</b>.
Use the parameter
<b>fixedLengthTooShortHandling</b>
with value <b>cut</b>.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jai,
I have declare the following Content Conversion parameters:
Recordset Structure: COMPANY
FILE_NAME.fieldFixedLengths 0
FILE_NAME.fixedLengthTooShortHandling cut
COMPANY.fieldFixedLengths 10,80,10,2,50,30,5,5,2,50,50
COMPANY.addHeaderLine 0
COMPANY.endSeparator 'nl'
But it does not work, I have the same white line in the beginning of the file. Do you have any other suggestion??
I couldnt find the blog written by Sravya either, could you post the link?
Thanks a lot,
Luis
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.