cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping Problem

Former Member
0 Kudos

Hi Guru's

How to do Multi Mapping in PI.

In the source file I have multiple value and I want to display split the value on the target side.

Example.

Source

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:MT_File_Sender xmlns:ns1="as.co.uk">

<FirstName>a</FirstName>

<LastName>b</LastName>

<Number1>22</Number1>

<Number2>1</Number2>

<FirstName>c</FirstName>

<LastName>d</LastName>

<Number1>22</Number1>

<Number2>11</Number2>

</ns1:MT_File_Sender>

</ns0:Message1>

</ns0:Messages>

Target should be.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:MT_File_Receiver xmlns:ns1="as.co.uk">

<FullName>ab</FullName>

<Addition>23</Addition>

<Subtraction>21</Subtraction>

<FullName>ab</FullName>

<Addition>23</Addition>

<Subtraction>21</Subtraction>

</ns1:MT_File_Receiver>

</ns0:Message1>

</ns0:Messages>

But My target side is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:MT_File_Receiver xmlns:ns1="http://itsolpro.co.uk">

<FullName>ab</FullName>

<Addition>23</Addition>

<Subtraction>21</Subtraction>

</ns1:MT_File_Receiver>

</ns0:Message1>

</ns0:Messages>

I am mapping the Message Type -


> SplitbyValue -


> Message Type but still it is not working.

I have change the target to 0----Unbound.

how can I split the message.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Don't add messages, message1 tags your self.

Just follow the regular map in Graphical Mapping. Goto Interface Mapping Signature tab and change the occurrences, It should work straight out of the box if you are on PI 71

Or else follow the blog

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure