Skip to Content
author's profile photo Former Member
Former Member

Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?


I'm wondering if someone have experience setting up conversion for different record structures. The example shown,


(in a greate way) only picture one kind of structure.

How should it be done if the file would contain



The first record structure has columns


The second redcord structure has columns

ID(2),Quantity(3), Unit of messure (3)



Message was edited by: Karl Bergstrom

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 05, 2005 at 11:49 AM

    The configuration would be like follows:

    Content Conversion Parameters:

    Document Name: <your message type name>

    Document Namespace: <your message type namespace>

    Document Offset: <leave empty>

    Recordset Name: <any name>

    Recordset Namespace: <leave empty>

    Recordset Structure: row1,,row2,

    Recordset Sequence: any

    Recordsets per Message: *

    Key Field Name: ID

    Key Field Type: String

    Parameters for Recordset Structures:

    row1.fieldNames ID,Material

    row1.fieldFixedLengths 2,10

    row1.keyFieldValue 10

    row2.fieldNames ID,Quantity,UOM

    row2.fieldFixedLengths 2,3,3

    row2.keyFieldValue 20

    Instead of row1 and row2 you can choose any name.



    Add a comment
    10|10000 characters needed characters exceeded

    • When I compare the input file with the configuration: are you sure, that the material number has 10 signs? Mat1 followed by 6 spaces?

      Otherwise change the config to:

      row1.fieldNames ID,Material

      row1.fieldFixedLengths 2,4

      row1.keyFieldValue 10

      row1.lastFieldsOptional YES



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.