none
UNB6 Headache RRS feed

  • Question

  • Hi,

     

    I'm currently in a process evaluating Biztalk EDI solution for our business, and the UNB segment we use will be like UNB+UNOA:2+ASI:ZZ+B6:ZZ+070727:1541+00000000134932+B6:ZZ+IFTSAI', and and I got error message like below:

     

    Error: 1 (Miscellaneous error)
     47: Envelope functionality not supported

    Error: 2 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID:
     Position in Segment: 6
     Data Value:
     12: Invalid value in data element


    In this case, the value of UNB6.1 is B6, and the value of UNB6.2 is ZZ. I played around with the test messages with the following senarios:

     

    Senario 1:

    I removed the values of both UNB6.1 and UNB6.2, and the UNB segment of my test message is like

    UNB+UNOA:2+ASI:ZZ+B6:ZZ+070727:1541+00000000134932++IFTSAI', and the entired interchange message was processed successfully.

     

    Senario2:

    I change the value of UNB6.1 to lower case, and the message is like UNB+UNOA:2+ASI:ZZ+B6:ZZ+070727:1541+00000000134932+b6:ZZ+IFTSAI'

     

    Error: 1 (Miscellaneous error)
     47: Envelope functionality not supported

    Error: 2 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID: UNB6.1
     Position in Segment: 7
     Position in Field: 1
     Data Value: b6
     21: Invalid character found

    Error: 3 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID:
     Position in Segment: 6
     Data Value:
     12: Invalid value in data element

     

    Senario2:

    In addition to change value of UNB6.1 to lower case, and I changed the value of UNB6.2 to lower case as well, and the message looks like UNB+UNOA:2+ASI:ZZ+B6:ZZ+070727:1541+00000000134932+b6:zz+IFTSAI'


    Error: 1 (Miscellaneous error)
     47: Envelope functionality not supported

    Error: 2 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID: UNB6.1
     Position in Segment: 7
     Position in Field: 1
     Data Value: b6
     21: Invalid character found

    Error: 3 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID: UNB6.2
     Position in Segment: 7
     Position in Field: 2
     Data Value: zz
     21: Invalid character found

    Error: 4 (Field level error)
     SegmentID: UNB
     Position in TS: 1
     Data Element ID:
     Position in Segment: 6
     Data Value:
     12: Invalid value in data element


    Can anyone on this list tell what the hell does "Position in Segment: 6" mean? I'm really frustrated about this.

    Friday, April 18, 2008 4:38 PM

Answers

All replies

  • UNB6 fields are used for authentication purposes. If you have UNB6 in the instance and it does not match the values configured in the party to which the document resolves to, you will see the error that you see. To fix this, go to "Party as Interchange Sender/Edifact Interchange Processing Properties" and set the UNB6.1 and UNB6.2 fields to match whatever is in the instance and try again after restarting the host instance.

     

    Thanks

    Mohsin Kalam

    www.mohsink.com - Blog about Microsoft BizTalk R2 EDI

     

    Monday, April 21, 2008 10:54 PM
  • It's working now. Anyone has the same issue should try the solution above. Thanks

     

    Tuesday, April 22, 2008 8:12 PM