cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Question

Former Member
0 Kudos

Dear experts,

I have the following scenario:

Source structure:

<E1WBB01>

<MATNR 111 />

<E1WBB03>

<E1WBB11>

<AKTIO 123 />

</E1WBB11>

</E1WBB03>

<E1WBB03>

<E1WBB11>

<AKTIO 345 />

<E1WBB11>

</E1WBB03>

</E1WBB01>

<E1WBB01>

<MATNR 222 />

<E1WBB03>

<E1WBB11>

<AKTIO 123 />

</E1WBB11>

</E1WBB03>

</E1WBB01>

The target should be:

<Promo>

<PromoNumber 123/>

<Article 111 />

<Article 222/>

</Promo>

<Promo>

<PromoNumber 345/>

<Article 111 />

</Promo>

</Promo>

The driver in the source is the MATNR and the AKTIO element is deep inside. The driver in the target is PromoNumber (mapped to AKTIO) and the Article (mapped to MATNR) is inside. Could you suggest a solution?

Thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi ,

use the node function "RemoveContext" to change the contect to parent node.

regards,

navneet

Former Member
0 Kudos

Hi,

change the context to parent structure.It will resolve your issue.

Regards,

Prakasu