11-21-2008 2:04 PM
Hi folks,
Can you guys suggest be the best way for deleting redundant entries from a sorted internal table which has more than 100 fields for a single record.
Regards,
vivek
11-21-2008 2:19 PM
Hello Vivek,
You can use the statement.
Delete adjacent duplicate from itab comparing fields <field1> <field2> <field3> <field4>....
Comparing fields adition will only compare the duplicate entries in fields specified before deleting entries from your internal table.
Hope it helps.
Thanks,
Jayant
11-21-2008 2:04 PM
11-21-2008 2:05 PM
11-21-2008 2:17 PM
Hi,
Use this
Delete adjacent duplicates from itab comparing f1 f2...
Regards,
Rohan.
11-21-2008 2:18 PM
Though answered, it didnt work out as the itab structure is a bit comlicated.
11-21-2008 2:19 PM
Hello Vivek,
You can use the statement.
Delete adjacent duplicate from itab comparing fields <field1> <field2> <field3> <field4>....
Comparing fields adition will only compare the duplicate entries in fields specified before deleting entries from your internal table.
Hope it helps.
Thanks,
Jayant