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

B2B-Addon X.400-Sender-Adapter field attachment number?


I am polling two EDI-Message types (DESADV and INVOIC) from a single X.400-Mailbox. I want to use the "Content-Based Sender Determination" to process both EDIFACT messages differently (because their message/data type is also different). So I activate the check box "Content-Based Sender Determination" and configured the CC as outlined in the attached screenshot.

In the CC-Monitoring audit, I always get the following error:

"No contentbased routing rule applied. Creating message with default values fromParty "", toParty "", fromService "BS_WECO_TEST", toService "", action "SI_out_DESADV96A", actionNS ""."


In the field "Contains" I entered the string "DESADV,96A" because this CC should pick up DESADV96A EDIFACT messages. What do I have to enter in the field attachmant number so that the routing rule is regognized by the system? "1" or "#1" or "BilaterallyDefinedBodyPart"?

Please advice! Thank you in advance, Joerg

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 07, 2012 at 03:58 AM

    Hi Jorg,

    1) In the field 'contains', you need to enter the value of a field that is present in the payload or attachments.

    2)If the field is present in the payload, you need to enter the value '0' for the column 'attachment number'. If the field is present in any of the attachment, you need to provide attachment number of the attachment (Attachment number start from 1).


    Nidin. M

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Bhagyesh,

      thank you very much for your very detailed answer. There are still some minor questions remaining for my understanding:

      • You wrote
      If the match is not found then, the default agreement ,being the first in the list that the adapter carries internally for this channel, is matched.

      Where can I see (and maybe influence) what the default sender agreement is?

      Is is the first agreement that used the channel?

      What is this internal list the adapter carries for that channel?

      Does the where-used-list of the channel provide an answer?

      • You wrote

        Therefore it is a good design to use a content based receiver determination (using xpaths) in the "flow" that is configured as the default/generic agreement attached to the channel.

        This generic agreement is chosen when all the conditions dont match and will do the necessary content based routing.

      How should I set up this? I cannot define a condition in xpaths if the sender interface is

      not known.

      • Would you recommend changing my design approach with 1 "generic" channel being used in 2 sender agreements? If both conditions don't match, I actually don't want a message to be created at all.
        Or would you recommend to define a "standard" X.400-channel for DESADV with only a single condition checking for INVOIC and then for it switching to the SI_out_INVOIC96A interface? That will only work, if I know/can guarantee that the SI_out_DESADV96A interface from the "default" agreement is associated with the channel (see first bullet point).


      Thany you in advance,


  • Posted on Jul 06, 2016 at 09:31 AM

    Hi Jörg,

    we're currently fighting at the same stage. Have you ever found a working configuration for that? We're on SAP PO 7.4 with B2B Add-on SP4 and try to configure those X.400 Scenarios.

    Thanks for your answer


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christian Sperlich

      Hello Christian,

      I haven't used X.400 Delivery Reports at all so far. So I cannot help you with this topic.

      And yes, I am also not very happy with the dummy Sender Agreements which are inactive and show up in the monitoring. But that was the only solution I found.

      Good luck,


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.