on 09-17-2009 5:08 PM
Hi
I have a IDOC to file scenario.
How do i ignore the first segment of a multiple accuring segment. For Example if the segment E1EDXX occurs 5 times in the IDOC i have to ignore only the first (segment)occurance and the remaining 4 (segment )occurances shold be mapped to the target
How can i map this
Any udf or nodefunctio combination would really be appreciated
Thanks
-keerthi
Hi Keerthika,
You can use index function. So if index is not equal to 1 then pass to the target. Else ignore it.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Satish.
Problem resolved. Index helped
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can try to build an UDF
//you initialize the array since one.
if (list.length >=5){
for (int i =1; i < list.length ; i++)
{ result.addValue(list<i>); }
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.