Hi
I am working with IDoc-XI-File Scenario. My file structure is;
DT_Details(0..unbounded)which has 31fields. The last field of DT_Details is Items(0..unbounded) which has some 10 fields and the last field of Items is SubItems(0..unbounded)which has 41fields.
My mapping is working fine. Also my scenario is working fine with .csv if my communication channel content conversion parameters are:
Recordset Structure : DT_Details,Items,SubItems
DT_Details.addHeaderLine : 0
DT_Details.fieldSeparator : ,
Items.fieldSeparator : ,
SubItems.fieldSeparator : ,
SubItems.endSeparator : 'nl'
Now my problem comes when I go with fixed length format. My communication channel content conversion parameters are:
Recordset Structure : DT_Details,Items,SubItems
DT_Details.addHeaderLine : 0
DT_Details.fieldFixedLengths : 9,9,7,10,9,7,10,10,10,2,2,8,8,4,2,3,1,4,2,2,12,1,3,1,1,1,1,1,15,9
Items.fieldFixedLengths : 10,10,2,2,8,8,4,2,3,1
SubItems.fieldFixedLengths : 4,2,1,3,1,1,1,1,1,15,12,9,10,9,3,3,2,2,2,2,2,2,2,2,2,2,30,30,4,4,1,4,3,3
SubItems.endSeparator : 'nl'
When I used this and run the scenario I get an error message in my File Receiver adapter stating:
Error: Message processing failed: Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '01')', probably configuration error in file adapter (XML parser error)'
Any help would be appreciated......
Regards,
---Satish