Product - Format

Flat files

What is a Flat File?

Flat Files are rows of text that convey pre-defined information. Typically, a flat file will begin with a line identifier, letting a system know what string of data is about to follow. A Flat File can contain multiple lines of data with each line containing different line identifiers. Each line can have many fields of data, separated by a special character. Many systems use Flat File formats to import and export data as it is very favorable to understand easily for a machine.

In order for a Flat File to work properly, the sending or receiving system has to understand the definition of that file. Since there are no indicators on what each field represents within the file itself, something called a Multirecord Definition must be created in order for a system to understand the meaning of each field.

Example flat file document

Here you can see that each line has a line identifier value as its first data, HDR, CLD, OLD, and TRL. This tells a system (based on their Multi Record Definition) that each line will contain a certain string of data, one field after another.

Flat Files have two distinct types, fixed-length or delimited. Fixed-length files give an exact character to length to each field. This means that field 1 starts at position 0 and is 3 characters long, field 2 starts at position 4 and is 2 characters long, etc. The other type, delimited, is agnostic to the length of each field and only starts a new field when it encounters the delimiter character. In the example above, the character is ‘|’

Getting started with Babelway

1. Select Flat File as the message type

2. Upload your MRD

3. Babelway will do the rest

You can see that each field is broken out within Babelway. This gives you the ability to manipulate each field of data however necessary. Each possible line type is defined and Babelway gives the user the ability to map each field within each line type however they need.

This does require the building of a Multirecord Defintion, we’ve created a guide on how to do so here. Babelway support is also always there to help you build this file if you do not yet have one.

Why Babelway?

Support

Babelway is not only a great self-service platform but also a team of pros ready to help you succeed.

  • Access our support helpdesk anytime and ask your questions. You will be answered as soon as max 60 minutes
  • Spot the ‘reuse and save time’ zone on the right of the screen? Import messages and maps from our catalog
  • Access online training material through Babelway Academy

What have our clients said about Flat files in Babelway?

“Babelway helps us innovate in B2B collaboration.”

Read case study >

“Their product and their experts ensure that we’ll have an innovative B2B integration solution, not just right now, but in the years to come.”

g2.com

GetApp

Try our free 30 day trial to see how easy it is work with Flat files

Learn about the other formats

X12

A standard definition for EDI document exchanges, Most commonly used in the US.

Edifact

A widely accepted international EDI standard used by many organisations.

Flat Files

These are rows of text that convey pre-defined information.

IDocs

An integrated web API that gives access to information on Amazon Seller Central.

PDF

A file format created by Adobe to present documents.

UBL

A royalty-free library of standard XML business documents.

XML

Used for many data integration purposes.

CSV

A standard definition for EDI document exchanges, Most commonly used in the US.

Excel

A standard definition for EDI document exchanges, Most commonly used in the US.

JSON

A standard definition for EDI document exchanges, Most commonly used in the US.

Tradacoms

A standard definition for EDI document exchanges, Most commonly used in the US.