on 02-14-2005 2:08 AM
i have internal table xtab_lst.
where i have list of records like below.
seqno,compcode, Gsber, ...............
1, 200, 011A
2, 200, 011A
3, 200, 011A
4, 200, 011A
5, 200, 011A
6, 200, 011A
7, 200, 011A
1, 200, 130B
2, 200, 130B
3 200 130B
4 200 130B
5 200 130B
6 200 130B
7 200 130B
From the above list i want to fetch only single
gsber records from group existing. ie) i have two gsber record groups now.
one is 011A and other 130B.
Out of these i want to take only two gsber(011a,130b)in seperate Internal table.
How to do this.(ie.dont want duplication of gsber records)
Ambichan.
Hello Ambichan,
You have got the best answer to your question. In my opinion, the answer deserves a 10-pointer. If you have any further query on this please do post that. Otherwise, please mark the question as answered and close the thread.
Regards,
Anand Mandalika.
P.S. I do not mean to offend you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ytab_lst[] = xtab_lst[].
sort ytab_lst by compcode, gsber.
delete adjacent duplicates from ytab_lst comparing compcode gsber.
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.