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

1 sender: 4 receivers

I have a scenario..with 4 receivers.

SAP is the sender

BI(XML),SAP AII(XML),one legacy system for which i ned 2 interfaces(2 receiver JMS adapters) ..

how to go ahead with thi...can some one explain the steps

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2008 at 09:24 PM

    hi,

    I had a similar scenario in my project but was 1 sender: 2 receiver. But you can apply the same theory.

    Basically you have to use the Enhanced receiver determination

    In your case Use 4 business service

    You will need 4 Interface Determination and 4 sender agreement

    You will have only 1 receiver determination and here you need to select extended and select the Interface for which ReceiverDetermination is implemented (5th).

    Mapping for the enhanced receiver determination as below

    Choose your source and target as ReceiverDetermination from http://sap.com/xi/XI/System namespace

    in the target to the Service Node return your business service. You may test hard coded values (but use value mapping).

    Hope it works

    Regards

    Unni

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi PSRK,

      You need 4 channels as there are 4 receiver.

      For enhanced recever determination:

      In the IR

      You need

      1 message mapping

      1 Interface mapping

      for your messsage mapping

      choose source MT and the target is one from the business content. In the SAP_BASIS -> http://sap.com/xi/XI/System -> Interface Objects -> Message Type, select ReceiverDetermination

      Map the root structure(source) to receiver node (target)

      In the target node you will see a "Service" node

      use a UDF for return the list of business service (all 4)

      Sample code as below

      findService(ResultList result,Container container){

      result.addValue("BS_EMERG");

      result.addValue("BS_REG");

      }

      Do the interface mapping for the above MM

      choose this IM in teh enhanced receiver determination

      Let me know if you have further queries.

      Regards

      Unni

  • Posted on Jul 22, 2008 at 05:05 PM

    In your IR, you would have

    4 message mappings and 4 interface mappings as needed by the receiving systems(If the structure id different for the 4 receivers)

    In your ID,

    You must create 4 receiver communication channel.

    1)Idoc receiver ccs(For all i know, BI also receives data via some idocs)

    2)File adapter for your SAP AII system

    3) 2 JMS adapters.

    in you receiver determination

    add the parties and services for all your 4 systems.

    Create the interface deteminations for each Service/party combination.

    Create the receiver agreements for each interface detemination, using the 4 adapters that were already created.

    Regards,

    Ravi Kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2008 at 06:23 PM

    any more ideas...my sender structure is different with receiver structure....but all the receiver structures are same.....

    Edited by: PSRK on Jul 22, 2008 5:03 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am not sure if other person make it complicated or I did not get you correctly:

      You have one sender system, one sender interface (source structure), you have one receiver interface (Target structure), you want tranform message from source structure to target structure, then send to different system.

      Is this your requirements ?

      If your answer is Yes, then ID is very simple:

      • One receiver determination with mutiple receivers

      • Interface determination is mutiple since your receivers are different, but they can use same interface mapping.

      • Communication channel is mutiple, to ensure your messages are sent to different systems.

      Regards.

      Liang

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 11:08 AM

    I think you can acheive this by simply creating 4 receiver agreements. that is only channels would be different according to your adpter type.

    steps:

    1)create one interface mapping.

    2)create one sender agreement

    3)create one receiver determination. (Only one business service for all the receivers)

    4)create 1 interface determination.

    5)create 4 receiver agreements.

    <removed by moderator>

    Edited by: Mike Pokraka on Jul 24, 2008 1:13 PM

    Add a comment
    10|10000 characters needed characters exceeded

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.