on 09-26-2008 10:13 AM
Hi Experts,
In my sender file CC i am using FCC as
Row.fieldSeparator ,
Row.endSeparator nl
Row.fieldName string
it was working fine...
but in the file they changes the currency format changed in the decimal place from . to , (ie 10000.23 to 10000,23)
when i process the file it is giving me the following error at CC level.
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Row':java.lang.Exception: ERROR in configuration / structure 'Row.': More elements in file csv structure than field names specified!
COuld anyone give me some idea what needs to be changed in FCC to process this type of files.
Regards
PT
Hi PT,
Since your fieldSeparator is comma, and because of comma in 10000,23 now adapter splited the value into two values and that is the reason you are getting this error.
You have two solutions:
1. Ask the client the change it back to decimal or
2. Create on more filed in you Data type structure so that 10000 will come in one field and 23 will come in other field and then in mapping you can concatenate these two fields again.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
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.