on 01-04-2012 10:46 PM
Hi Gurus,
I am working on a FILE to IDOC scenario, and I have a file with this structure:
123xxxxxxxx
456xxxxxxxx
789xxxxxxxx
Where 123, 456 and 789 are the key field values that I use to identify each line.
I have done all the File Content Convertion configuration, but when I try to use the "keyFieldValue" parameter with more than 1 character, the adapter is getting the file as empty.
For example, if I use the key as:
field1.keyFieldValue 1
field2.keyFieldValue 2
field3.keyFieldValue 3
then it works successful, but if I use
field1.keyFieldValue 123
field2.keyFieldValue 456
field3.keyFieldValue 789
then I got this error in the adapter: "Empty document found - proceed without sending message"
Is there any way where I can process this file regarding the first 3 characters?
Finally I could do it using these values in FCC:
keepIncompleteFields
keyFieldInStructure
additionalLastFields
missingLastfields
thanks all!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Key field value can be more than 1 character .
check below link,
I think, you need to set key field type as : string.
-santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are u specifying fieldNames, fieldSeparator and endSepartor for each element? You might also want to try like this
KeyFieldType String instead of Integer
Ex field1.keyFieldValue '123' or without quote.
Just a thought.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.