cancel
Showing results for 
Search instead for 
Did you mean: 

Same AS2 message to multiple partners

manish_bhalla2
Contributor
0 Kudos

Hello,

We have a scenario where the same IDOC needs to be sent to one of many different partners (but only one partner at a time).

Rather than hardcoding n routings in the receiver determination and having to create n comm channels, is it possible to dynamically configure the end URL (HTTP address) in a single comm channel?

Thanks and Regards

Manish

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

>>is it possible to dynamically configure the end URL (HTTP address) in a single comm channel?

I think No.

Reason: Communication channels are Party specific. For all your partners, you have to use different party because of different AS2IDs. So there doesn't seems to be a way out. Dynamic AS2IDs is something you can try.

Regards,

Prateek Raj Srivastava

Answers (2)

Answers (2)

manish_bhalla2
Contributor
0 Kudos

Just to wrap this up...

We ended up creating a separate party for each partner - with the corresponding AS2 ID. We could not achieve dynamic routing because in addition to the unique URLs and AS2 IDs per partner, we also needed to refer to the partner's certificate for encryption of the message.

So based on the ANA code in the IDOC, the message is routed to a specific party. Each party has a specific receiver comm channel with the connection details. Each comm channel is attached to a Receiver Agreement (per message type) that contains the certificate information.

However, we are dynamically identifying the message type (ORDHDR or DLCHDR) thus we can reuse the same comm channel for different message types, and just call different BIC mappings as needed.

Hope this helps anyone facing the same design dilemmas.

Rgds

Manish

former_member184681
Active Contributor
0 Kudos

Hi,

This can be achieved by using Dynamic Configuration functionality. You can set the target URL during message mapping. Check [this document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a76cfa-4966-2d10-aba7-da496d9b5bcf?QuickLink=index&overridelayout=true] for an example of use. In your case, only focus on the receiver communication channel, as it is all you need.

Hope this helps,

Grzegorz