Skip to Content
0
Former Member
Feb 14, 2005 at 02:08 AM

internal table fetch distinct records.

19 Views

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.