Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cannot process a Fixed Field Length file using the File Adapter (Sender)

Hi -

I have checked throughout these posts and blogs but I still have not been able to find a solution to my issue. When using the File Adapter (Sender) I get a Conversion initialization failed with "xml.keyfieldName", no value found. Why would I require a key field when I am using fixed field lenghts? The file is comprised of 2 structures - 1 header and multiple details (see below). There are no key fields in the flat file that I would be able to use. Any suggestions?

011000390 Customer Americas 20080605164317 000000000000000800000008000000000016000000

12345678 100500 100500 Supplier 1 0000000000030000002008040400

12345678 100501 100501 Supplier 2 0000000000052000002008042100

The File Adapter is configured as follows:

Document Name = Rfchke00

Document Namespace = 'my namespace'

Recordset Name = Rfchke00

Recordset Structure = Dtachkh,1,Dtachkp,*

Recordset Sequence = Ascending

Recordsets per Message = 1

Key Field Type = String (Case-Sensitive)

Dtachkh.fieldFixedLengths = 15,25,8,6,1,8,8,8,15,3,31

Dtachkh.fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11

Dtachkh.processFieldNames = fromConfiguration

Dtachkp,fieldFixedLengths = 18,13,13,35,15,3,8,2,21

Dtachkp,fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9

Dtachkp,processFieldNames = fromConfiguration



Former Member
Not what you were looking for? View more on this topic or Ask a question