Mapping the Control Segments

How to:

The following sections describe how to map the control segments.

Procedure: How to Map ISA and IEA (Interchange) Segments

Since you are not using a trading partner for this exercise, you will hard code the envelope status.

  1. Click the empty field in the Mapping Values pane to specify a value for the output node.

    You can also double-click the empty field in the mapping values or right-click an empty field mapping values and select Mapping Builder and provide a value for the empty field.

    For example:

    Double-click the empty icon in the Graphical Mapping Builder area and select Set Constant from the context menu.

    The Set Mapping Value dialog box opens.

    Enter a value in the field (for example, 00, which is a constant), and then click OK.

    You are returned to the Output Node Mapping Builder.

    Click OK to return to the Mapping Values pane.

  2. Enter the values for the ISA and IEA segments that are listed in the following table:

    Segment

    Value

    ISA01

    00

    ISA03

    00

    ISA05

    ZZ

    ISA06

    SENDERID

    ISA07

    ZZ

    ISA08

    RECEIVERID

    ISA09

    @DATE('YYMMDD')

    ISA10

    @TIME('HHMM')

    ISA11

    :

    ISA12

    00501

    ISA13

    100000001

    ISA14

    0

    ISA15

    T

    ISA16

    >

    IEA01

    1

    IEA02

    100000001

    Your screen should now resemble the following image:

Procedure: How to Map GS and GE (Group) Segments

  1. Enter the values for the GS and GE segments that are listed in the following table:

    Segment

    Value

    GS01

    SH

    GS02

    SENDERID

    GS03

    RECEIVERID

    GS04

    @DATE('YYYYMMDD')

    GS05

    @TIME('HHMM')

    GS06

    1

    GS07

    X

    GS08

    005010

    GE01

    1

    GE02

    1

    Your screen should now resemble the following image:

Procedure: How to Map ST and SE (Document)

  1. To complete the envelopes, enter the values for the ST and SE segments that are listed in the following table:

    Segment

    Value

    ST01

    856

    ST02

    0001

    SE01

    1

    SE02

    0001

    Your screen should now resemble the following image:

    Note: You have specified default values for the SE01, GE01, and IEA01 segments. The preemitter transform contains functions that will correctly calculate these values. This example has only one document per envelope. As a result, the ST02/SE02 is 0001. If you have more than one document per envelope, you can use some of the techniques that are described in this tutorial to insert a sequential counter in these fields.