Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mapping Problems

Hi All,

I have the fallowing situation in my map:

The source is an XML document containing order information. This document contains multiple orders. Each order has 1 header and multiple items information, as following (example):












The result of the mapping/transformation will contain a row for each item. Each row will contain the header information from the source, and the item information, as following (example):








I did the mapping but only one thing is not working:

All my header information in the target is coming from the first order. So no matter how many orders I put in the source, the target result is generated right for all item information, but the header is always the same.

This is the mapping witch I am doing for the header information:

Item ->

copyPerValue* -> Split by value -> Number

Number ->

copyPerValue: Java function

for (int i=0; i<a.length; i++) {



Tks a lot,

Daniela Machado

Former Member
Former Member replied

Hi Daniela,

you should use function useOneAsMany. See also the attached <a href="/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool">weblog</a>



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question