none
Fatal error encountered in EDI Disassembler, error information is Delimiters are not unique, field and segment seperator are the same RRS feed

  • Question

  • When I dealed with an EDI message using BizTalk server 2006 R2, I got an error message in title in even log. partner gave us the message like below
    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~090
    6~U~00400~000000186~0~P~`{                                                      
    GS~SC~XXX~XXX~20100121~0906~181~X~004010{ 
    He said regarding the standard format of EDI data. If the ISA is more than 80 characters it will be split across 2 records but EDI translators deal with this data.
    there are also some space in the message. 
    how to configure it if the message will not be changed. I mean whether I can configure it in BizTalk, then make the server could deal with this. 
    thanks a lot!

    Wednesday, February 3, 2010 3:03 AM

Answers

  • Hi,
        I cant see any problem in ISA in GS header that you posted here. I ran one instance using these headers and it ran fine. Following is the instance that I made for running a X12_00401_850 message:

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~0906~U~00400~000000186~0~P~`{
    GS~SC~XXX~XXX~20100121~0906~181~X~004010{
    ST~850~ST02{
    BEG~00~AB~BEG03~~01230123{
    CUR~001~CUR{
    REF~01~~~01`C04002{
    PER~1A{
    TAX~TAX01{
    FOB~11{
    CTP~~~~~01{
    PAM~~~01{
    CSH~8A{
    TC2~2~TC202{
    SAC~A{
    CUR~001~CUR{
    ITD~01{
    DIS~AMT~CA~457~DAT~458{
    INC~01~01~459~460{
    DTM~001{
    LDT~AA~461~AA{
    LIN~~A1~LIN03{
    SI~10~SI~SI03{
    PID~F{
    MEA~~~~01{
    PWK~01~~~~~~~1{
    PKG~F{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    MAN~AA~MAN02{
    PCT~01~462{
    CTB~AA{
    TXI~AA{
    AMT~01~463{
    REF~01~~~01`C04002{
    DTM~001{
    PCT~01~464{
    FA1~10{
    FA2~01~FA202{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    FOB~11{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PKG~F{
    LM~10{
    LQ~0{
    SPI~00{
    REF~01~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    REF~01~~~01`C04002{
    G61~1A~G6102{
    MSG~MSG01{
    CB1~01{
    REF~01~~~01`C04002{
    DTM~001{
    LDT~AA~465~AA{
    MSG~MSG01{
    ADV~10~AD{
    DTM~001{
    MTX~AAA{
    PO1~PO101{
    LIN~~A1~LIN03{
    SI~10~SI~SI03{
    CUR~001~CUR{
    CN1~01{
    PO3~AQ~~~~~466~01{
    CTP~~~~~01{
    CUR~001~CUR{
    PAM~~~01{
    MEA~~~~01{
    PID~F{
    MEA~~~~01{
    PWK~01~~~~~~~1{
    PO4~467{
    REF~01~~~01`C04002{
    PER~1A{
    SAC~A{
    CUR~001~CUR{
    CTP~~~~~01{
    IT8~8A{
    CSH~8A{
    ITD~01{
    DIS~AMT~CA~468~DAT~469{
    INC~01~01~470~471{
    TAX~TAX01{
    FOB~11{
    SDQ~01~~SDQ03~472{
    IT3~473{
    DTM~001{
    TC2~2~TC202{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PCT~01~474{
    MAN~AA~MAN02{
    MSG~MSG01{
    SPI~00{
    TXI~AA{
    CTB~AA{
    QTY~01~~01{
    SI~10~SI~SI03{
    SCH~475~01~~~001~01230123{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    REF~01~~~01`C04002{
    PKG~F{
    MEA~~~~01{
    LS~LS01{
    LDT~AA~476~AA{
    QTY~01~~01{
    MSG~MSG01{
    REF~01~~~01`C04002{
    LM~10{
    LQ~0{
    LE~LE01{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MEA~~~~01{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    QTY~01~~01{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    DTM~001{
    FOB~11{
    SCH~477~01~~~001~01230123{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PKG~F{
    LDT~AA~478~AA{
    MAN~AA~MAN02{
    QTY~01~~01{
    MSG~MSG01{
    REF~01~~~01`C04002{
    SLN~SLN01~~A~~01{
    MSG~MSG01{
    SI~10~SI~SI03{
    PID~F{
    PO3~AQ~~~~~479~01{
    TC2~2~TC202{
    ADV~10~AD{
    DTM~001{
    CTP~~~~~01{
    PAM~~~01{
    PO4~480{
    TAX~TAX01{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    SAC~A{
    CUR~001~CUR{
    CTP~~~~~01{
    QTY~01~~01{
    SI~10~SI~SI03{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    AMT~01~481{
    REF~01~~~01`C04002{
    PCT~01~482{
    LM~10{
    LQ~0{
    CTT~483{
    AMT~01~484{
    SE~196~ST02{
    GE~1~892{
    IEA~1~111111891{


    Try this instance and put your instance at the place of ST-SE.
    If still the problem comes then please provide your input instance and corresponding schema.


    Thanks
    Gyan

    If this answers your question, please mark it as "Answered".
    Wednesday, February 3, 2010 9:03 AM
  • The problem is exactly as you state.  Your ISA has a carriage return line feed in positions 81 and 82.  The X12 standard requires the ISA to be fixed length with 106 characters.  Transactions that come with the line broken at 80 characters are common from main frame computers.  If your trading partner will not remove the line breaks then you must do so.  You may also need to remove the spaces from the end of each line if the lines are 80 char fixed length.

    The easiest way to to write a small pipeline component that removes the CRLF from each line over 80 characters before the transactions is passed to the EDI Receive pipeline.  Conversely, for outbound transactions you may have to write a pipeline component to break each line at 80 characters and to space field shorter lines out to 80 characters.

    Gyan's ISA as tested below does not have the CRLF in the middle of the line.  I copied both ISA segments into a text editor and the difference is obvious, as seen here.  In hex mode, you can clearly see the 0D 0A characters in your ISA.

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~0906~U~00400~000000186~0~P~`{

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~090
    6~U~00400~000000186~0~P~`{  

    Hope this helps,


    Jim -- Pro Mapping in BizTalk 2009, Apress Books, March 23, 2009
    Thursday, February 4, 2010 1:20 AM

All replies

  • Hi,
        I cant see any problem in ISA in GS header that you posted here. I ran one instance using these headers and it ran fine. Following is the instance that I made for running a X12_00401_850 message:

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~0906~U~00400~000000186~0~P~`{
    GS~SC~XXX~XXX~20100121~0906~181~X~004010{
    ST~850~ST02{
    BEG~00~AB~BEG03~~01230123{
    CUR~001~CUR{
    REF~01~~~01`C04002{
    PER~1A{
    TAX~TAX01{
    FOB~11{
    CTP~~~~~01{
    PAM~~~01{
    CSH~8A{
    TC2~2~TC202{
    SAC~A{
    CUR~001~CUR{
    ITD~01{
    DIS~AMT~CA~457~DAT~458{
    INC~01~01~459~460{
    DTM~001{
    LDT~AA~461~AA{
    LIN~~A1~LIN03{
    SI~10~SI~SI03{
    PID~F{
    MEA~~~~01{
    PWK~01~~~~~~~1{
    PKG~F{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    MAN~AA~MAN02{
    PCT~01~462{
    CTB~AA{
    TXI~AA{
    AMT~01~463{
    REF~01~~~01`C04002{
    DTM~001{
    PCT~01~464{
    FA1~10{
    FA2~01~FA202{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    FOB~11{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PKG~F{
    LM~10{
    LQ~0{
    SPI~00{
    REF~01~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    REF~01~~~01`C04002{
    G61~1A~G6102{
    MSG~MSG01{
    CB1~01{
    REF~01~~~01`C04002{
    DTM~001{
    LDT~AA~465~AA{
    MSG~MSG01{
    ADV~10~AD{
    DTM~001{
    MTX~AAA{
    PO1~PO101{
    LIN~~A1~LIN03{
    SI~10~SI~SI03{
    CUR~001~CUR{
    CN1~01{
    PO3~AQ~~~~~466~01{
    CTP~~~~~01{
    CUR~001~CUR{
    PAM~~~01{
    MEA~~~~01{
    PID~F{
    MEA~~~~01{
    PWK~01~~~~~~~1{
    PO4~467{
    REF~01~~~01`C04002{
    PER~1A{
    SAC~A{
    CUR~001~CUR{
    CTP~~~~~01{
    IT8~8A{
    CSH~8A{
    ITD~01{
    DIS~AMT~CA~468~DAT~469{
    INC~01~01~470~471{
    TAX~TAX01{
    FOB~11{
    SDQ~01~~SDQ03~472{
    IT3~473{
    DTM~001{
    TC2~2~TC202{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PCT~01~474{
    MAN~AA~MAN02{
    MSG~MSG01{
    SPI~00{
    TXI~AA{
    CTB~AA{
    QTY~01~~01{
    SI~10~SI~SI03{
    SCH~475~01~~~001~01230123{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    REF~01~~~01`C04002{
    PKG~F{
    MEA~~~~01{
    LS~LS01{
    LDT~AA~476~AA{
    QTY~01~~01{
    MSG~MSG01{
    REF~01~~~01`C04002{
    LM~10{
    LQ~0{
    LE~LE01{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MEA~~~~01{
    MSG~MSG01{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    QTY~01~~01{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    DTM~001{
    FOB~11{
    SCH~477~01~~~001~01230123{
    TD1~TD101{
    TD5~1{
    TD3~20{
    TD4~045{
    PKG~F{
    LDT~AA~478~AA{
    MAN~AA~MAN02{
    QTY~01~~01{
    MSG~MSG01{
    REF~01~~~01`C04002{
    SLN~SLN01~~A~~01{
    MSG~MSG01{
    SI~10~SI~SI03{
    PID~F{
    PO3~AQ~~~~~479~01{
    TC2~2~TC202{
    ADV~10~AD{
    DTM~001{
    CTP~~~~~01{
    PAM~~~01{
    PO4~480{
    TAX~TAX01{
    N9~01~~~~~~01`C04002{
    DTM~001{
    MSG~MSG01{
    SAC~A{
    CUR~001~CUR{
    CTP~~~~~01{
    QTY~01~~01{
    SI~10~SI~SI03{
    N1~001{
    N2~N201{
    N3~N301{
    N4~N401{
    NX2~01~NX202{
    REF~01~~~01`C04002{
    PER~1A{
    SI~10~SI~SI03{
    AMT~01~481{
    REF~01~~~01`C04002{
    PCT~01~482{
    LM~10{
    LQ~0{
    CTT~483{
    AMT~01~484{
    SE~196~ST02{
    GE~1~892{
    IEA~1~111111891{


    Try this instance and put your instance at the place of ST-SE.
    If still the problem comes then please provide your input instance and corresponding schema.


    Thanks
    Gyan

    If this answers your question, please mark it as "Answered".
    Wednesday, February 3, 2010 9:03 AM
  • The problem is exactly as you state.  Your ISA has a carriage return line feed in positions 81 and 82.  The X12 standard requires the ISA to be fixed length with 106 characters.  Transactions that come with the line broken at 80 characters are common from main frame computers.  If your trading partner will not remove the line breaks then you must do so.  You may also need to remove the spaces from the end of each line if the lines are 80 char fixed length.

    The easiest way to to write a small pipeline component that removes the CRLF from each line over 80 characters before the transactions is passed to the EDI Receive pipeline.  Conversely, for outbound transactions you may have to write a pipeline component to break each line at 80 characters and to space field shorter lines out to 80 characters.

    Gyan's ISA as tested below does not have the CRLF in the middle of the line.  I copied both ISA segments into a text editor and the difference is obvious, as seen here.  In hex mode, you can clearly see the 0D 0A characters in your ISA.

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~0906~U~00400~000000186~0~P~`{

    ISA~00~          ~00~          ~08~00XXXXXXXXX    ~ZZ~WSAXXXXXXXXXXX ~100121~090
    6~U~00400~000000186~0~P~`{  

    Hope this helps,


    Jim -- Pro Mapping in BizTalk 2009, Apress Books, March 23, 2009
    Thursday, February 4, 2010 1:20 AM