Please enable JavaScript to view this site.

Altova MapForce 2020 Enterprise Edition

The TA1 Segment is an optional segment and is used to acknowledge the reception of the interchange and the syntactical correctness of the envelope segments within it. The segment can be added to EDI X12 and EDI HIPAA components in MapForce by modifying the configuration files.

To include the TA1 segment in an EDI component:

1.Create a custom EDI collection using the HIPAAA.X12 collection as a model (see Creating a Custom EDI Collection). This ensures that your changes do not affect the original default configuration.

2.Open in an XML editor the Envelope.config file of your custom EDI collection.

3.Paste the text <Segment ref="TA1" minOccurs="0" maxOccurs="unbounded"/> between the ISA and Group segments, and save the file. The file should now look as follows:


<?xml version="1.0" encoding="UTF-8"?>
<Config xmlns:xsi="" xsi:noNamespaceSchemaLocation="../EDIConfig.xsd" Version="3">
  <Format standard="X12"/>
  <Include href="X12.Segment"/>
  <Include href="X12.Codelist"/>
  <Include collection="EDI.Collection"/>
  <Group name="Envelope">
    <Group name="Interchange" maxOccurs="unbounded">
        <Segment ref="ISA" minOccurs="0"/>
        <Segment ref="TA1" minOccurs="0" maxOccurs="unbounded"/>
        <Group name="Group" maxOccurs="unbounded">
        <Segment ref="IEA" minOccurs="0"/>


The line highlighted above adds a reference to the TA1 segment which is already defined in the X12.Segment file. You can now view the structure of the TA1 segment in MapForce as follows:


1.On the Insert menu, click EDI.

2.On the "Browse EDI Collections" dialog box, select the custom collection created above and a message type (for example, "850 - Purchase Order").


Notice that the customized component now includes the TA1 segment. You can now draw mapping connections to and from this customized component as required.


Customized X12 EDI component with optional TA1 segment

© 2020 Altova GmbH