cancel
Showing results for 
Search instead for 
Did you mean: 

multiple senders to one receiver

former_member260907
Participant
0 Kudos

Hi, Experts,

I need to get data from two different systems A and B, then I need to combine them into one message and send it to SAP table.

the message types would be like this for example.

From A using SOAP
<MT1>
   <row> 
     <name> abc</name>
     <number> 123 </number>
    <fruit>apple</fruit>
    <quantity>15</quantity>
</row>
   <row> 
     <name> abc</name>
     <number> 123 </number>
    <fruit>apple</fruit>
    <quantity>50</quantity>
</row>
   <row> 
    <name> edf</name>
     <number> 345 </number>
    <fruit>orange</fruit>
 <quantity>30</quantity>
</row>
</MT1>

From B using JDBC
<MT2>
   <row> 
   <name> abc</name>
    <id>012</id>
    <status> good </status>
    <color>red</color>
</row>
   <row> 
  <name> edf</name>
  <id>013</id>
    <status> bad</status>
    <color>green</color>
</row>
</MT2>

Once I gathered these two data, the output file need to be like this (using ABAP proxy)

<row>

<id>012</id>

<number> 123 </number>

<fruit>apple</fruit>

<status> good</status>

<color>red</color>

<quantity>15</quantity>

</row>
   <row> 
     <id>012</id>
     <number> 123 </number>
    <fruit>apple</fruit>
    <status> good</status>
    <color>red</color>
    <quantity>50</quantity>
</row>
   <row> 
  <id>013</id>
   <number> 345 </number>
    <fruit>orange</fruit>
  <status> bad</status>
    <color>green</color>
 <quantity>30</quantity>
</row>

Can I do it without BMP?

Thanks,

Charles

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

You may use following example-

http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepApproachforN-MMappingthroughBPM

Former Member
0 Kudos

Charles,

You will be required to use BPM for this.

Thanks,

Abhi

former_member260907
Participant
0 Kudos

Hi Abhi,

Thanks for the response. Do you have an example on how to do it using BPM? Thanks,

Charles

Former Member
0 Kudos

In ESR, check the example under SAP BASIS SWC for n:1 scenario - I don't have PI open in front so I am unable to tell you the exact IP scenario.

former_member260907
Participant
0 Kudos

OK. Thanks