Skip to Content

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

Mapping with useOneAsMany function

Dear mapping ad Java experts,

I have my source structure like this:




<QTY />



<Amount />




Node Detail occurs once. Node Detail1 can occur more than once.

My target is




where node target occurs as many times as source node Detail1.

The element result is a product of Qty and Amount.

Please note that node Detail and Detail1 are at the same level. In other words, Detail1 is not a child node of Detail.

I tried using useOneAsMany, but it does not even compile right. I am pretty sure someone has an answer! Please help. Points for helpful answers.

Appreciate your help.

Thanks a lot.

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