on 01-26-2013 4:34 PM
Hi Gurus,
I have the requirement like when the field PARVW(Segment = E1EDKA1)=ZM target should not create target Node(E1EDKA1)
Source is getting multiple value like PARVW = ZM, AU, EM etc.
Result should be like below.
Source Target
E1EDKA1 E1EDKA1
--- ----
---- ---
PARVW = ZM PARVW = AU
E1EDKA1
---
----
PARVW = AU
Please suggest how to do the mapping.
Thanks,
Satish.
Hi,
Can any one suggest to achieve my requirement with out UDF.
Thanks,
Satish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below are the options .
1)Using UDF:
pass two input values E1EDKA1,PARVW(keep the context of both at same level )(use map with default to PARVW if it is optional )
for (int i =0;i < E1EDKA1.length;i++)
{
if(!PARVW[i].equals("ZM"))
E1EDKA1_Out.addValue("");//opening the target node
PARVW_Out.addValue(PARVW[i]);
}
Option2:
PARVW(map with default)(keep the context same as E1EDKA1)--> equals(text fn)-->not
constant(ZM) /
-->createif-->E1EDKA1
PARVW(map with default)(keep the context same as E1EDKA1)--> equals(text fn)
constant(ZM) /
-->not--> -->if without else-->PARVW
PARVW(map with default)
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please try node function createif.
Regards
Beena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.