BizTalk Error btm1044 Transaction Set Control Number Mismatch

Error

error btm1044: Input validation error: Non Segment level : [3] Transaction Set Control Number Mismatch

Situation

I was doing a test map on a BizTalk map in Visual Studio.
The data was in XML format, not EDI, so I’m surprised it tried to enforce this error. I would expect that to only occur a Receive Pipeline with real EDI data.

Data

<pre>
<ns0:X12_00401_204 xmlns:ns0="http://abc.com/X12/204">
  <ST>
    <ST01>204</ST01>
    <ST02>0007</ST02>
  </ST>

        <!-- middle part omitted -->   

  <SE>
    <SE01>22</SE01>
    <SE02>0001</SE02>
  </SE>
</ns0:X12_00401_204>
</pre>

Fix

In the example above, I had to set the SE02 value to the same as the ST02 value. Note also that SE01 should be the number of EDI segments, including the ST and SE segments.

NOTE: You would presumably get the same error if you drop an EDI file into a Receive Location with an EDI pipeline.

Uncategorized  

Leave a Reply