on 05-23-2011 2:13 PM
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
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
alredy had corrected
i hate mondays ;D
thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.