Skip to Content
author's profile photo Former Member
Former Member

Rejecting duplicate interchange

Hi B2B'ers,

Is there a standard way to ignore or reject duplicate interchanges received from a trading partner? Which also includes sending back a functional acknowledgement with information of the same?

Or is this something we have to implement by ourselves?

Best regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2014 at 02:41 AM

    Hello Jacob,

    This is exactly what we just implemented for SP04 release. Here's how it will work:

    In the EDI separate receiver adapter, you will get new configuration options to decide at what level you want to determine the duplicate: Interchange (ISA or UNB segment level) / Group (GS segment) / Transaction Set or Message (ST or UNH segment). You also get to specify how long do you want the system remember the interchanges (30 days, 1 year....). Also, you get to specify what to reject when there is a duplicate detected (based on duplicate detection level, of course) - complete interchange, individual groups or individual messages.

    Once the duplicate is detected, based on the rejection level, the interchange is completely rejected or partially / fully allowed to be split and forwarded. An appropriate acknowledgement is returned (997 or CONTRL).

    If you are, however, exchanging only single message (and not batch messages) in an interchange, your configuration becomes simpler.

    I hope this fits your requirement.

    Disclaimer: The above description is not a commitment yet and might be subject to change.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2014 at 05:59 PM

    Hi Jacob,

    There is option for duplicate handling in sender adapter. Please refer the below blog

    Configuring AS2 Adapters provided by B2B toolkit 1.0 - Part III

    1. Duplicate Handling: If checked then the parameter ensures that an alert is sent based on the configuration whenever a duplicate message is processed.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Harish,

      AS2 duplicate check will work in this scenario only if there is a 1:1 relationship between AS2 message ID and the EDI Interchange. AS2 duplicate check works based on AS2 message IDs that are exchanged between two partners and has no direct relatioship to EDI interchange.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.