cancel
Showing results for 
Search instead for 
Did you mean: 

mapping ,get only first item

Former Member
0 Kudos

I have a condition for child node like level2 Posnr(from source) field should be equal to level 3's Uecha(source) field

then a child node is created ...

(the source level 2 and level 3 is of 0...unbounded so there can be any no of child nodes)

now in one of my target field "index value"

field condition is

use key values of level3 uecha

and level 9 Posnr.

if this condition is satisfied then pass the first value of level 9's "lgmart" field

(where level 9 is 0.. unbounded in source)...

ex:

Posnr(level 2) uecha(level3) Posnr(level 9)

10 10 10(uecha 9) x (lgmart 9)

20 10 10(uecha 9) y

20 20(uecha 9) a

20 20(uecha 9) b

the output should be

in this case for 4 childnode wil be created

so output wil be

10,10, x(this value should be passed only the first item)

10,10, x (this value should be passed only the first item and not y)

20,20, a

20,20, a(and not b)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Robin !

Could explain more clearly the structure of the source and the target? maybe in XML..

Regards,

Matias.

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Robin,

you can achieve this with node-functions.

I recommend to search the relevant blogs, because it is difficult to explain.

Regards Mario