cancel
Showing results for 
Search instead for 
Did you mean: 

generate idoc structure UDF

javier_alcubilla
Contributor
0 Kudos

Hello All,

Need help with idoc mapping ...

I have to create an UDF or similar to make the next mapping

Source structure:

-->SourceNode (0..1)

--->field1

--->field2

--->field3

--->field4

Target structure (0..n):

-->TagetNode (IF EXISTS FIELD1)

--->target1 = constant value

--->target2 = field1

-->TagetNode (IF EXISTS FIELD2)

--->target1 = constant value

--->target2 = field2

-->TagetNode (IF EXISTS FIELD3)

--->target1 = constant value

--->target2 = field3

-->TagetNode (IF EXISTS FIELD4)

--->target1 = constant value

--->target2 = field4

Thanks in advance

Javi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

why do u need UDF for this?? u can also achieve this using standard function..

duplicate target node(right click on "TargetMode" and duplicate it thrice) and then do ur mapping like this:

field1-existsIfWithoutElse (field1-then)---TagetNode

Constantvalue -


target1

field1---target2

field2-existsIfWithoutElse (field2-then)---TagetNode

Constantvalue -


target1

field2---target2

in the same way repeat it for the rest of the duplicated target node...

Answers (1)

Answers (1)

javier_alcubilla
Contributor
0 Kudos

alredy had corrected

i hate mondays ;D

thanks a lot