on 12-01-2005 1:24 PM
Hi,
i have a segment that will hold n number of occurences. Ex: E1BPE1MARAEXTRT. Field name called field1.
i need to pass the occurence value to target field and the same value should not repeat in target .
Ex:
field1 value 1000------target- Outputfield-1000
field1 value 1000-----target - i should not send.
field1 value 1001-----target - i should send to target field.
i have an idea how to find the second occurences. i don't know how to check the value which i receive from idoc and the prior idoc value.
Please Suggest..
My logic works.you can try and allot me points.:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create advanced user defined function with 1 parameter and cache entire queue option ticked in the mapping editor and map as follows.
field1-advanced user function-target output field.
result.addvalue(a[0)).
This should solve ur problem and make the occurence of ur output field to 1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.