none
Batching X12 401 997 in BizTalk 2013 RRS feed

  • Question

  • I have a client that has multiple Group Segments in the X12 401 830 file. I'm preserving the interchange to keep the X12InterchangeXML as one message.  My question is when I want to send a 997 ACK back with all of the GS, it is splitting them into separate messages.  I have Do not batch 997/999 unchecked as well. How can I batch all of the 997s in one file like the following below?

    ISA*00*          *00*          *09*955504009IWWG  *01*886667494      *120411*0717*U*00401*000100781*0*P*:
    GS*FA*955504009IWWG*886667494*20120411*0717*3985*X*004010
    ST*997*39850001
    AK1*PS*1
    AK2*830*076967709
    AK5*A
    AK9*A*1*1*1
    SE*6*39850001
    GE*1*3985
    GS*FA*955504009IWWG*886667494*20120411*0717*3986*X*004010
    ST*997*39860001
    AK1*PS*2
    AK2*830*076967708
    AK5*A
    AK9*A*1*1*1
    SE*6*39860001
    GE*1*3986
    IEA*2*000100781

    Thursday, May 9, 2013 4:09 PM

Answers

  • Hi

    you can batch EDI 997 in the same way you do for other document .

    Refer Article

    In case you need any help , please let me know.

    Regards

    Mohit Gupta

    • Marked as answer by sboman73 Monday, May 13, 2013 4:18 PM
    Friday, May 10, 2013 1:43 PM

All replies

  • If I remember correctly, BizTalk will create a 997 for each Interchange in the incoming stream, meaning multiple ISA/IEA's no matter what, which is the correct behavior.  The Do Not Batch 997 affects weather it will create individual 997 for each...GS? (or ST, this is what I don't remember).

    So, does the incoming stream have multiple ISA's?  If so, you are seeing the correct behavior.

    If they're sending multiple GS's with the same transaction type, that is technically against the x12 rules.

    Either way, you can re-batch the 997's like any other document.

    Thursday, May 9, 2013 10:04 PM
  • Thanks for the quick reply.  The incoming file doesn't have multiple ISAs.  They are sending multiple GSs like the following below.  The EdiReceive pipeline is disassembling it  (I have preserve interchange to keep the ISA, FunctionalGroup segments together).  So, if I need to re-batch those multiple 997s that are getting sent to a file location. How do I do it?

    ISA*00*          *00*          *01*886667494      *09*955504009IWWG*130215*0839*U*00401*087030215*0*P*:
    GS*PS*886667494*955504009IWWG*20130215*0839*1*X*004010
     ST*830*087030215
     BFR*05**533*AD*A*20130215*20130324*20130215
     N1*SF*INTERNATIONAL*92*0745763972
     N1*SU*INTERNATIONAL*92*0021009430
     N1*ST*LLC*92*BD02
     N1*MI*LLC*92*1733
     LIN**BP*P6633002*PO*5500107732
     UIT*PC
     PER*EX*Granger, Eric
     FST*200*C*D*20130218*20130218
     FST*150*C*D*20130225*20130225
     FST*200*C*D*20130304*20130304
     FST*200*C*D*20130311*20130311
     FST*100*D*W*20130318*20130324
     SHP*01*200*011*20130213
     SHP*02*1400*050*20130213
     REF*SI*00129734
     CTT*1
     SE*19*087030215
    GE*1*1
    GS*PS*886667494*955504009IWWG*20130215*0839*2*X*004010
     ST*830*087030216
     BFR*05**533*AD*A*20130215*20130324*20130215
     N1*SF*ELECTRICAL COMPONENTS INTERNATIONAL*92*0745763972
     N1*SU*ELECTRICAL COMPONENTS INTERNATIONAL*92*0021009430
     N1*ST*Behr Dayton Thermal Products LLC*92*BD02
     N1*MI*Behr Dayton Thermal Products LLC*92*1733
     LIN**BP*R8716002*PO*5500107735
     UIT*PC
     PER*EX*Belanger, Eric
     FST*150*C*D*20130304*20130304
     FST*50*C*D*20130311*20130311
     FST*100*D*W*20130318*20130324
     SHP*01*50*011*20130208
     SHP*02*450*050*20130208
     REF*SI*00129598
     CTT*1
     SE*17*087030216
     GE*1*2
     IEA*10*087030215

    Friday, May 10, 2013 1:21 PM
  • Hi

    you can batch EDI 997 in the same way you do for other document .

    Refer Article

    In case you need any help , please let me know.

    Regards

    Mohit Gupta

    • Marked as answer by sboman73 Monday, May 13, 2013 4:18 PM
    Friday, May 10, 2013 1:43 PM
  • Ok, either way, batching 997's from any incoming Interchanges is allowed.

    You would use the EDI Batching feature in BizTalk, available on the Partner Agreement.

    Start here: http://msdn.microsoft.com/en-us/magazine/hh882451.aspx

    2013 is essentially unchanged.

    Friday, May 10, 2013 4:35 PM
  • Thanks! That worked using the BatchMarker Component.   I had to set the Filter expression to the following 997 message type.

    BTS.MessageType

    ==http://schemas.microsoft.com/Edi/X12#X12_997_Root

    Monday, May 13, 2013 4:17 PM
  • Hi

    Please let me know how to batch a EDI file in biztalk server 2013. I tried a lot using batch marker component in receive pipeline but still the property Tobebatched is not set to true.

    Please help me with the procedures to be followed for batching. I need this urgent.

    Thanks in advance.

    Thursday, August 21, 2014 3:29 PM