cancel
Showing results for 
Search instead for 
Did you mean: 

Splitting a Mapping

Former Member
0 Kudos

Hi,

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

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

<ns:C2TCustomer_MSG xmlns:ns="http://omni.com/c2tcustomer">

<cuname>Bob Smith</cuname>

<billingcontactname>Smith</billingcontactname>

<billingcontactfirstname>Jim</billingcontactfirstname>

<billingcontactemailaddress>jim.smith@email.com</billingcontactemailaddress>

</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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jeff,

You can create two segment of E1KNVKM under E1KNA1M.

Right click on E1KNVKM and press Duplicate Subtree.Your

idoc structure will contain 2 segment of E1KNVKM.Accordingly you can map your values.

Hope it Helps.

Rekha.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi jeff,

i think using duplicate sub tree will suffice.

Regards,

Divya