How to loop if inbound EDI has multiple ST/SE segments?

Hello,

I am trying to map the EDI 810 schema to a custom flat file format. I am supposed to loop on the ST/SE segments contained in the input files, but how can I do that when the root record of the 810 schema is not "unbounded"? It looks that it only allows one ST/SE?

I would appreciate any suggestion or clarification on how I should do this.

Thanks

[667 byte] By [StevenG.] at [2008-1-7]
# 1
Hi Steven,
That is by design.
The EDI schemas here draw only one Transaction set.
The whole EDI doc is compounded from Interchange which includes many Transaction sets (there are additional Interchange and Group segments).
All processing of the Interchange goes inside the BizTalk EDI Subsystem and we get the debatched Transaction sets after that.
Different point of view: The input file is compounded from several Transaction sets (for example from several EDI 810 documents). We get these documents inside BizTalk "automatically" as several documents.

Regards,

Leonid Ganeline [MVP]
http://geekswithblogs.net/leonidganeline/

LeonidGaneline-MVP at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...