Using Loop Start and Loop End Segments
Certain EDI standards use Loop Start (LS) and Loop End (LE) segments. LS and LE segments differentiate between two or more loops of the same type. If the transaction contains LS and LE segments, you must define the LS and LE segments for the loops you are using in the map, according to what side of the map the segment is on, input or output.
When you create a new, customized EDI map, the Sterling B2B Integrator Map Editor generates the key field for any LS and LE segments. Generating the key field automatically ensures that the loop ID specified in the LS segment matches the data correctly. The LS and LE segments on the output side do not need to be linked in order to be generated. Also for a new, customized EDI map, the Sterling B2B Integrator Map Editor creates a standard rule on the loop ID so the correct ID is output. If you create an EDI map manually, you will not have these two functions.
For more information, see: