BizTalk EDI The interchange had a structural error in-before the first functional group

Error Message on dropping an EDI file:

The interchange had a structural error in-before the first functional group

The issue was that I had taken a large 846 inventory file that had 1000s and 1000s of rows and I just took the first 10 or 20 rows using a text editor.

So what I had done is inadvertently taken off the last 3 rows:

<pre>
SE*15*92232~
GE*1*20787570~
IEA*1*181838349~
</pre>

Once I added these rows back, I got this error:

… is being suspended with following errors:
Error: 1 (Miscellaneous error)
4: Number of included segments do not match

I just had to carefully adjust the value of SE01 from the huge number it was, down to the smaller number of segments that I actually had.

Uncategorized  

Leave a Reply