cancel
Showing results for 
Search instead for 
Did you mean: 

Flat file with fixed lengths to XI 3.0 using a Central File Adapter---Error

Former Member
0 Kudos

Hi

According to the following link

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

In Adapter Monitor I got the following error,

In sender Adapter,

Last message processing started 23:47:35 2008-10-25, Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'Substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this

last retry interval started 23:47:35 2008-10-25

length 15,000 secs

some one help me out ?

Thanks

Ram

Accepted Solutions (0)

Answers (3)

Answers (3)

kenny_scott
Contributor
0 Kudos

from the blog you referenced -

<u> /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

<b>goto step 4</b>

<u>additional parameters</u>

add as the last entry

<recordset structure>.lastFieldsOptional Yes

e.g.,

Substr.lastFieldsOptional Yes

prabhu_s2
Active Contributor
0 Kudos

and this thread will answer ur post:

if nto all columns have data then try with lastFieldsOptional in content conversion

Message was edited by:

Prabhu S

prabhu_s2
Active Contributor
0 Kudos

is ur structure the same as in the blog i.e.

<root node>
<substr> 0..unbounded
  <matnr>
 <posnr>
 <quant>
</substr>

??

prabhu_s2
Active Contributor
0 Kudos

and does all u field has data?