KB Article #177164
Missing or invalid Transaction Set control number
Problem
-- trying to envelop an EDIFACT message (the envelop settings are configured in B2Bi UI)
-- using a DML map
-- getting such error "Missing or invalid Transaction Set control number"
-- the error does not occur when the enveloper is not used
Resolution
* when the EDI message is going through the map broker, the separator is reset to the default separator, so we need to set it to the expected separator inside the map
* add a Step before the mapping rule and set the segment separator as follow :
Example : if the separator is ~
setAttribute("EdiOutputSeparators", "SegmentSeparator", 126);
126 is the ascii code for the character "~"
* note that this error "Missing or invalid Transaction Set control number" may occur for different (when the EDIFACT message is somehow not correct)