cancel
Showing results for 
Search instead for 
Did you mean: 

1 : N Multimapping The source structure is getting changed

Former Member
0 Kudos

Hi All,

1 : N Multimapping these source structure gettng chnaged by Message under that Message1 and then comes my source structure, so my mapping is gettin failed , Please suggest me some option

Thanking you

Sridhar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

In multimapping (either 1:N or N:1) the structure will change from

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

<ns0:MessageType>

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

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

</ns0:MessageType>

To

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

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

<ns0:Message1>

<ns1:MessageType>

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

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

</ns1:MessageType>

</ns0:Message1>

</ns0:Messages>

So while testing you can remove those tags highlighted in the payload i.e.(<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">, <ns0:Message1>,</ns0:Message1>,</ns0:Messages>) and test it, otherwise it will fail.

If anything else let me know.

Answers (2)

Answers (2)

Former Member
0 Kudos

can you put your required and changed structure ??

former_member190313
Active Participant
0 Kudos

Hi Shridhar

please check the link below

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

regards

Sheetal

Edited by: Sheetal Deshmukh on Mar 5, 2010 5:05 AM

Former Member
0 Kudos

Thanks you all

To explain clearly, i am using a XSD for source structure which i cannot modify,or change

and I have go for 1:N mapping casue i have Multiple Target target structure depending on my Source input it will choose the target strcuture

while testing in the mapping fter adding multiple target strcuture ,

The source structure is getting changed with Message and Message1 added to parent node

so my incoming message is not matching with it structure i have in mapping it is getting failed

please give me suggestion

Thanking you

Edited by: sridhar loganathan on Mar 5, 2010 5:16 AM