Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 17, 2018 at 03:47 PM

    Hi Enrico ,

    Have you checked this blog ?

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • 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