Skip to Content
0
Former Member
Mar 12, 2007 at 06:50 AM

Removing duplicate entries from internal table 1 to another int. table 2.

36 Views

Hi,

Suppose there is an internal table IT1. In that we have the following combinations MATNR,LOCNO, COUNTRY fields. Based on these 3 fields we need to remove the duplicate entries into another internal table IT2. So effectively the IT2 will contain all combinations which have the duplicate entries.

for example : matnr loc no country locid

1001 1243 UK 33ah

1002 2322 US 34hg

1002 2322 US 44jh

1003 3433 ES 343f

So internal table IT2 should contain the following two values:

matnr loc no country locid

1002 2322 US 34hg

1002 2322 US 44jh

So could any one please send the logic for the same. ?