Skip to Content
0
Former Member
Jun 10, 2010 at 05:33 AM

Help With Mapping n:m Scenario

8 Views

Hello All,

I Have 2 messages one header and and one item. Will look something like below

Header message:

H1;012-003;123456789;

H2;012-003;987654321;

Item message:

I1;012-003;123456789;

I2;012-003;123456789;

I3;012-003;123456789;

I4;012-003;987654321;

I5;012-003;987654321;

Output should look something like below:

H1;012-003;123456789;

I1;012-003;123456789;

I2;012-003;123456789;

I3;012-003;123456789;

H2;012-003;987654321;

I4;012-003;987654321;

I5;012-003;987654321;

Header and item are 2 different messages which are to be mapped to a single message in message mapping.

Am also doing a removecontext for the item node on the target, but for some reason all the 5 items appear in the target message on testing the map. Tried putting some variables and if conditions, with out any help.

Any suggestions would be very much helpful..

--Prashanth