cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Help required

former_member1275317
Participant
0 Kudos

Hi

I need help on mapping..

this is a multimapping

my source structure is..

mt_Src

<Position>

Type ...attribute

<F1>

<F2>.....

</mt_Src>

and My target structure is

mt_trg

Type

<Position>

<type>

<F1>

<F2>

</mt_trg>

we have 2 conditions

1. Type is an attribute it will have 5 values. based on each value taget message has to be created.

2. Postion is the main record it may have many "type" attribute values .

mt_src

Position

<Type 1>

<F1>

<F2>

Postion

<Type1>

<F1>

<F2>

Postion

<Type2>

<F1>

<F2>

Postion

<Type2>

<F1>

<F2>

Postion

<Type3>

<F1>

<F2>

</mt_src>

and the finail output would be

<messages>

<mt_trg>

<Type 1>

Postion

<Type 1>

<F1>

<F2>...

Postion

<Type 1>

<F1>

<F2>...

</mt_Trg>

<mt_trg>

<Type 2

Postion

<Type 2

<F1>

<F2>...

Postion

<Type >

<F1>

<F2>...

</mt_Trg>

.............

So can anyone help me on this...logic.

Regards,

DEEP

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Based on the expected target structure, it seems that you want to create multiple target messages from one source message.

If its correct, then you can use the PI Multi-Mappings for Message Splits feature.

Have a look at this blog : /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

http://help.sap.com/saphelp_nwpi71/helpdata/EN/55/c5633c3a892251e10000000a114084/frameset.htm

Let us know if you need any further details.

Pooja

VijayKonam
Active Contributor
0 Kudos

A source and target XML would help providing an answer..!!

VJ