Mike Koerner

Hi,

I am having problems processing inbound EDI 997 Acks that are sent from a test party. My scenario is this: generate EDI 810 from R2, create an EDI 997 ack from the 810 transaction, and then try to have BTS process the EDI 997. Here is a test 997:

ISA*00* *00* *ZZ*PARTYB *ZZ*PARTYA *070823*1236*U*00400*000000080*1*P*^
GS*FA*PARTYB*PARTYA*20070823*1236*80*X*004010

ST*997*0001
AK1*IN*000000985
AK9*A*1*1*1
SE*4*0001
GE*1*80
IEA*1*000000080


The Application Event log error I am receiving is:

The interchange with id '000000080', with sender id 'PARTYB ', receiver id 'PARTYA ' had structural error. Last structurally valid functional group ID was '80'

The second App Event Log error is:

Fatal error encountered in EDI Disassembler, error information is Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

What am I doing wrong Is there a R2 EDI sample with inbound 997s

Thanks,

Mike




Re: BizTalk EDI and AS2 Inbound 997 Ack Processing

Mohsin Kalam ¨C MSFT

This is a known issue in Beta2 release that has been fixed with the final release. The workaround is to have a non-blank segment suffix.

The following should get rid of this problem. Let me know if it does

ISA*00* *00* *ZZ*PARTYB *ZZ*PARTYA *070823*1236*U*00400*000000080*1*P*^~
GS*FA*PARTYB*PARTYA*20070823*1236*80*X*004010~

ST*997*0001~
AK1*IN*000000985~
AK9*A*1*1*1~
SE*4*0001~
GE*1*80~
IEA*1*000000080~

Thanks

Mohsin





Re: BizTalk EDI and AS2 Inbound 997 Ack Processing

Mike Koerner

Hi,

Hey that helped. I forgot about the lf.

Now it's suspended in the messagebox because of no subscriptions. Isn't the 997 correlation automatic

Thanks,

Mike





Re: BizTalk EDI and AS2 Inbound 997 Ack Processing

Mohsin Kalam ¨C MSFT

I dont quite understand your statement. If you mean to say that 997 are sent automatically without any susbcription, then thats not true.

You would still need to subscribe to the 997 using a filter similar to the following.

BTS.MessageType == http://schemas.microsoft.com/EDI/X12#X12_997_Root And

BTS.ReceivePortName == <ReceivePortYouUsed>

Thanks

Mohsin





Re: BizTalk EDI and AS2 Inbound 997 Ack Processing

Mike Koerner

Hi,

I want to get the EDI 997 Ack correlated to the original EDI transaction.

A EDI 810 is sent to the trading partner with a request for an EDI 997 response. If I go to the "EDI Interchange and Correlated Ack Status" query in the Admin Group hub I can see the EDI 810 with an Interchange Status of "Ack Expected".

How can the Interchange Status get updated to "Accepted" when the EDI 997 is received Do I have to create my own orchestration to do this


Thanks,

Mike