cancel
Showing results for 
Search instead for 
Did you mean: 

Merge two Messages into one Message by ID - SAP PI/PO

openrico
Participant
0 Kudos

Hi dear proffessionals,

i have the following requirement:

I have 2 different messages with a lot of rows and want them to merge into one targetmessage by ID Content in the Messages. It's something like a "table inner join". I can't find any solutions in this Forum.

We are using SAP PO with BPM.

Example:

<Message1>

<row>

<id>100</id>

<text>text100</text>

</row>

<row>

<id>200</id>

<text>text200</text>

</row>

<row>

<id>300</id>

<text>text300</text>

</row>

</Message1>

<Message2>

<row>

<id>200</id>

<col>col200</col>

</row>

<row>

<id>100</id>

<col>col100</col>

</row>

</Message2>

<target>

<row>

<id>100</id>

<text>text100</text>

<col>col100</col>

</row>

<row>

<id>200</id>

<text>text200</text>

<col>col200</col>

</row>

</target>

Does anyone has a Solution for this Problem?

Thank you!

Greetings

Enrico

Accepted Solutions (0)

Answers (1)

Answers (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Enrico ,

Have you checked this blog ?

Br,

Manoj

openrico
Participant
0 Kudos

Hi Manoj,

thanks for your answer, i have checked the blog. Unfortunately it's not exactly what i am searching for.

The blog describes how to merge two messages into one message. But i need all Information of both Messages under one node. The BPM oder Message Mapping should compare the ID's and Join the messages.

Maybe there is somebody with the same Problem.

Greeting

Enrico