‎2006 Jul 18 10:49 AM
i have itab that have 6 record * 8 times so i get 48 rows
i make delete comma and it delete only 12 why??
i need it to delete 7 times
‎2006 Jul 18 10:51 AM
‎2006 Jul 18 11:03 AM
i get al lot of values not just matnr and they are all the same 8 time
‎2006 Jul 18 11:06 AM
then use
DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS
‎2006 Jul 18 10:51 AM
Hi ,
u have to sort before deleting .
sort itab by matnr.
delete adhjacent duplicates from itab comparing matnr.
sort itab by matnr.
.
regards
Prabhu
‎2006 Jul 18 10:52 AM
did you sort the records before you use the delete adjacent duplicates from itab comparing field1 field2..statement?
‎2006 Jul 18 10:53 AM
Hi,
do you use the right key column in:
DELETE ADJACENT DUPLICATES FROM itab
COMPARING keycolumn.
grtz
Koen
‎2006 Jul 18 10:53 AM
can u show ur code.
first sort the itab for the duplicate fields
sort itabby matnr lgort.
delete adjacent duplicates from itab comparing matnr lgort.
‎2006 Jul 18 10:55 AM
Hello Rani,
USe like this.
<b>Delete adjacent duplicates from itab comparing field.</b>
If useful reward pooints.
Vasanth
‎2006 Jul 18 11:09 AM
Hi.
I think the problem is because of your sorting criteria or not sorting at all.
Regards,
close the issue if solved
‎2006 Jul 18 11:17 AM
Hi Rani,
1)Sort you Internal Table(with key fields)
SORT itab BY <b>f1 f2</b>.2)Delete the records then comparing that fields.
DELETE ADJACENT DUPLICATES FROM itab COMPARING <b>f1 f2</b>.
You will have only single unique records then.
Regards,
Arun Sambargi.
‎2006 Jul 18 11:28 AM
Hi Rani,
You can delete duplicate entries from internal table :
1st sort your table as:
sort itab key field.
delete adjacent entries.
append itab.
so it may be possible that your condition is satisfied all 12 entries.
Ankur Garg.
‎2006 Jul 18 11:35 AM
Hi Rani,
You can delete duplicate entries from internal table :
1st sort your table as:
sort itab key field.
delete adjacent duplicates entries.
append itab.
so it may be possible that your condition is satisfied all 12 entries.
Ankur Garg.