none
EDI 850 00403 Issue validating MAP RRS feed

  • Question

  • I am getting following error when i validate Instance 850 schema

    I have the following set up on:

    On Popup window of X12_00403_850.. X12 EDI Instance properties

    Data Element Seperator: *  

    ComponentElementSeperator : |

    ISA11 Usage : RepetitionSeperator <

    SegementSeperator(106thchar of ISA) Char ~

    SegmentSeperator(106th char of ISA)   CRLF

    Use Trailing delimeter : YES

    SyntaxIdentifier:UTF8/Unicode

    ++++++++++++++++++++++++++++++++++

    Error:Invoking component...
    E:\EDI\12345.txt: error BEC2004: Non Segment level  : [4] Number of included segments do not match
    E:\EDI\12345.txt: error BEC2004: Non Segment level  : [5] X12_00403_850\ The element 'X12_00403_850' in namespace 'http://schemas.microsoft.com/BizTalk/EDI/X12/2006' has invalid child element 'UnrecognizedSegment'. List of possible elements expected: 'ST http://schemas.microsoft.com/BizTalk/EDI/X12/2006:BEG'.
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - BEG : Position - 1 : [3] Mandatory Segment Missing
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - ISA : Position - 1 : [2] Unexpected segment
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - ISA : Position - 1 : [7] Segment Not In Proper Sequence
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - ISA : Position - 1 : [1] Unrecognized segment ID
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - GS : Position - 2 : [1] Unrecognized segment ID
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - PO1 : Position - 25 : [8] Segment Has Data Element Errors
    E:\EDI\12345.txt: error BEC2004: Segment level  : Field Error : Segment ID - PO1 : Field Position - 4 : Current value - 200.00 : [6] Invalid character in data element
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - PO1 : Position - 26 : [8] Segment Has Data Element Errors
    E:\EDI\12345.txt: error BEC2004: Segment level  : Field Error : Segment ID - PO1 : Field Position - 4 : Current value - 300.00 : [6] Invalid character in data element
    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - PO1 : Position - 27 : [8] Segment Has Data Element Errors
    E:\EDI\12345.txt: error BEC2004: Segment level  : Field Error : Segment ID - PO1 : Field Position - 4 : Current value - 400.00 : [6] Invalid character in data element
    E:\EDI\X12_00403_850.xsd: error BEC2004: Validate Instance failed for schema X12_00403_850.xsd, file: <file:///E:\EDI\12345.txt>.
    Component invocation succeeded.

    +++++++++++++++++++++++++

    Sample File

    ISA*00*          *00*          *ZZ*111111111111   *12*2222222222     *080819*2322*<*00403*000000003*0*T*|~
    GS*PO*111111111111*2222222222*20080819*2322*3*X*004030~
    ST*850*000000001~
    BEG*00*OS*ABCDEF**20080819~
    REF*CR*123456789~
    REF*EU*01~
    REF*IL*02~
    REF*PD*03~
    REF*SU*04~
    REF*TH*05~
    REF*ZZ*06~
    PER*OC**TE*9999999999*EM*JD@XYZ.COM~
    PER*DC**TE*9999999999~
    SAC*C*D240***15*******06~
    ITD***2**15**30~
    DTM*010*20080824~
    DTM*002*20080829~
    TD5**2*UPSN*********ND~
    N9*CO*7777777~
    MTX**THIS IS TEST PO~
    N1*ST*JOHN DOE*92*281~
    N2*BEST BUY 281~
    N3*1000 WEST 78THSTREET~
    N4*RICHFIELD*MN*55428-1234*USA*BS~
    PO1*1*50*EA*200.00**UP*123456789012*VN*MODELNUMBER1*****VP*VENDORPARTNUMBER*BP*BUYERPARTNUMBER~
    PO1*2*50*EA*300.00**UP*123456890567*VN*MODELNUMBER1*****VP*VENDORPARTNUMBER*BP*BUYERPARTNUMBER~
    PO1*3*50*EA*400.00**UP*987654320198*VN*MODELNUMBER1*****VP*VENDORPARTNUMBER*BP*BUYERPARTNUMBER~
    PID*F****ITEM DESCRIPTION~
    REF*BB*AB~
    REF*GF*YZ~
    PER*AJ*NAME*EM*RDOE@ABC.COM*TE*2222222222~
    CTT*3~
    SE*31*000000001~
    GE*1*3~
    IEA*1*000000003~

    ++++++++++++++++++++++++++++++++++++++++++++

    Wednesday, March 28, 2012 5:47 PM

Answers

  • Just observed from the first 2 lines of data

    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - BEG : Position - 1 : [3] Mandatory Segment Missing - are u missing one of the mandatory fields ?

    BEG*00*OS*ABCDEF**20080819~ - i guess u r missing BEG04(Release Number) or u have an extra * in between BEG03 & BEG05

    Please check if you have the repetion seperator < as a data in the below line ,because from your screen shot it shows standard identifier selected rather than repetition seperator.in tht case it should be U instead of <

    ISA*00*          *00*          *ZZ*111111111111   *12*2222222222     *080819*2322*<*00403*000000003*0*T*|~


    http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

    • Marked as answer by Raj25 Tuesday, April 3, 2012 7:18 PM
    Friday, March 30, 2012 3:00 PM

All replies

  • one error is number of included segment doesnt match...

    that error is due to SE ..........the avlue of SE should be number of line from ST to SE

    Wednesday, March 28, 2012 5:51 PM
  • Sri I tested...

    with changing SE values gettign same error....

    Wednesday, March 28, 2012 6:14 PM
  • Just observed from the first 2 lines of data

    E:\EDI\12345.txt: error BEC2004: Segment level  : Segment ID - BEG : Position - 1 : [3] Mandatory Segment Missing - are u missing one of the mandatory fields ?

    BEG*00*OS*ABCDEF**20080819~ - i guess u r missing BEG04(Release Number) or u have an extra * in between BEG03 & BEG05

    Please check if you have the repetion seperator < as a data in the below line ,because from your screen shot it shows standard identifier selected rather than repetition seperator.in tht case it should be U instead of <

    ISA*00*          *00*          *ZZ*111111111111   *12*2222222222     *080819*2322*<*00403*000000003*0*T*|~


    http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

    • Marked as answer by Raj25 Tuesday, April 3, 2012 7:18 PM
    Friday, March 30, 2012 3:00 PM