on 02-26-2009 10:06 PM
Hi,
below is my source and target mesg
source
header 0--ub
A 0--1
B 0--1
C 0--1
D 0---1
target
header1
A 0--1
B 0--1
Header2
C 0--1
D 0--1
Header3
E--const
F--Const
my source header is mapped to header1 and header2.
so in target, i see header1, A,B have values as mapped and empty C,D . which i wnt remove.
same behavior in hedaer2, A,B empty but C,D has value.
in header3 i see empty A,B,C,D(as no maped nodes) nad const.
i don wan unmapped fields,
i m trying to use standard functions but nothing i clicking,occurences of items are not fixed.
hav gone thru the use of functn like copyvalue,removecontext etc
pls help me resolving this
thanks,
Hi,
Have you tried this:
1. right-clicking on the nodes C, D and clicking the disable field option for Header 1
2. right-clicking on the nodes A, B and clicking the disable field option for Header 2
3. right-clicking on the nodes A, B, C, D and clickng the disable field option for Header 3?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you post your sample message here for us to exam ?
Thanks
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think now I understand your problem:
You will need two UDF for your mapping:
UDF1 for node A and B:
for (int i=0; i<a.length; i++)
{
result.addValue(a<i>);
}
for (i=0; i<a.length; i++)
{
result.addValue(ResultList.SUPPRESS);
}
Node A --> RemoveContext --> UDF1 ---> SplitByValue (each value) --> Node A
Node B --> RemoveContext --> UDF1 ---> SplitByValue (each value) --> Node B
UDF1 for node C and 😧
for (int i=0; i<a.length; i++)
{
result.addValue(ResultList.SUPPRESS);
}
for (i=0; i<a.length; i++)
{
result.addValue(a<i>);
}
Node C --> RemoveContext --> UDF2 ---> SplitByValue (each value) --> Node C
Node D --> RemoveContext --> UDF2 ---> SplitByValue (each value) --> Node D
Let me how it works.
Liang
Edited by: Liang Ji on Feb 27, 2009 5:05 AM
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.