cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Mapping in PI 7.4

Former Member
0 Kudos

Hi All,

  I am working on PI 7.40. In our requirement we have 1 operational mapping with two mapping. First mapping is 1..1 but second mapping is 0..unbounded(source is 1..1 , target is 0..unbound). If I change the occurrence of operational mapping 0..unbounded, first mapping fails.

Please suggest .

Thanks and Regards,

Uma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raghu,

Thank you for your suggestion.

We can 't change the occurrence of first mapping as this mapping is shared mapping among other interfaces. Please suggest me how can I proceed.

Thank & Regards,

Uma

former_member184720
Active Contributor
0 Kudos

>>> If I change the occurrence of operational mapping 0..unbounded, first mapping fails.

AFAIK - This might be happening as PI adds below additional tags at run-time when we choose multi mapping.

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

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

   <ns0:Message1>

   </ns0:Message1

So if you want to reuse first mapping, then write a simple java mapping to remove these additional tags and then pass it to your first mapping.

Now your operation mapping contains three mappings in the below order.

Java

Reusable graphical

actual mapping with split

Answers (1)

Answers (1)

RaghuVamseedhar
Active Contributor
0 Kudos

Balasubramanya,

Please make first mapping 1:n and second mapping n:n (fist map 1..1 to 0..unbound, second map 0..unbound to 0..unbound).

Even though first map is 1:n, you create one occurrence of Message1.