cancel
Showing results for 
Search instead for 
Did you mean: 

Multipmapping

Former Member
0 Kudos

Hy XI team,

I have a big problem mit a Multimapping. I have to split an XML file (EDIFACT) to many Output Fil. I defined my message mapping and i try to test It.

The mapping work fine just if I Put the following Tags at the beginning of the xml file :

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

<ns0:Message1>

and the following at the end

</ns0:Message1>

</ns0:Messages>

My problem is i received the messages from an external edifact converter and i cannot modify the file.

Could anyone suggest a solution for this problem.

Thank^s a lot

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ,

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

<ns0:Message1>

</ns0:Message1>

</ns0:Messages>

remove thses lines from the payload and give input and try

thanks

Madhav

VijayKonam
Active Contributor
0 Kudos

Dontworry about it. XI will take care of it in runtime. You have to add those only in testing..!! Happy Going..!!

VJ

Former Member
0 Kudos

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

and the following at the end

</ns0:Message1>
</ns0:Messages>

This is only required when you are testing the mapping under test tab in Integration repository.

When you run the actual scenario,XI will automatically take care of it,you don't need to add the above in actual payload.

Thanx

Aamir

Former Member
0 Kudos

Hi,

I think ur scenario will work fine with the Input file from EDIFACT.

Ur input file should not contain M:

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

<ns0:Message1>

These Nodes get added Dynamically at run time.

Just try to run End to End scenario....

If at all u get Mapping Error then u can post it

Thanks,

Mahi

Former Member
0 Kudos

Hi,

the adding of tags should only be necessary in testing mode. Just try to execute your scenario with an input file.

Regards

Patrick