on 03-29-2011 10:35 AM
Hi,
I got WD table of results around 1000 elements. I am required to search through duplicate elements in it and get them on the screen before displaying webdynpro View.
How I do I get only duplicate elements from WD table of result?
Thanks
Praveen
hi
first create one temp node exactly copy of your table node. Copy all data to temp node.
using two for loop check in if condition for primary key e.g.
for (i=0 i< tablnode; i++)
for(j=0 j<tempnode j++)
if( tablenode.prikey <i>== tempnode.prikey[j]
dont coy in finalnode
else
copy record to finalnode
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.