cancel
Showing results for 
Search instead for 
Did you mean: 

FCC: keyFieldValue is greater than 1 character

former_member440449
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member440449
Participant
0 Kudos

Finally I could do it using these values in FCC:

keepIncompleteFields

keyFieldInStructure

additionalLastFields

missingLastfields

thanks all!

Former Member
0 Kudos

Key field value can be more than 1 character .

check below link,

http://www.sappi.sapag.co.in/sap-xi/content-conversion-in-sender-file-adapter-2-new-useful-parameter...

I think, you need to set key field type as : string.

-santosh.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.