Skip to Content
0
Former Member
Aug 11, 2005 at 08:57 PM

Splitting a Mapping

17 Views

Hi,

I have very limited XI mapping experience. I'm trying to convert the following XML

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

http://omni.com/c2tcustomer">

<cuname>Bob Smith</cuname>

<billingcontactname>Smith</billingcontactname>

<billingcontactfirstname>Jim</billingcontactfirstname>

jim.smith@email.com

</ns:C2TCustomer_MSG>

Into:

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

<DEBMAS06>

<IDOC BEGIN="1">

<E1KNA1M SEGMENT="1">

<NAME1>Bob Smith</NAME1>

<E1KNVKM SEGMENT="1">

<MSGFN>009</MSGFN>

<PAFKT>18</PAFKT>

<NAMEV>Jim</NAMEV>

<NAME1>Smith</NAME1>

<E1KNVKM SEGMENT="1">

<MSGFN>009</MSGFN>

<PAFKT>29</PAFKT>

<NAMEV>Jim</NAMEV>

<NAME1>Smith</NAME1>

</E1KNVKM>

</E1KNA1M>

</IDOC>

</DEBMAS06>

As you can see I need 2 E1KNVKM segments for the same data, just the PAFKT value is different.

Is there a way to do this in XI Mapping?

Thanks,

Jeff