2010 Jun 01 4:39 PM
Hi ALL
I have an itab with records such as
PERNR URN amount
1. 100 a 50
2. 100 a 50
3. 100 b 100
Now I want to find the duplicate records, and process them, that is add up the amount field and delete the record.
so the new itab will be
100 a 100
100 b 100
There is a DELETE ADJACENT DUPLICATES FROM itab. , but this one just deletes the records, is there any other function or logic, which inform about the duplicate reocrds so that we can process on that.
regards
CC
Hi ALL
I have an itab with records such as
PERNR URN amount
1. 100 a 50
2. 100 a 50
3. 100 b 100
Now I want to find the duplicate records, and process them, that is add up the amount field and delete the record.
so the new itab will be
100 a 100
100 b 100
There is a DELETE ADJACENT DUPLICATES FROM itab. , but this one just deletes the records, is there any other function or logic, which inform about the duplicate reocrds so that we can process on that.
regards
CC
2010 Jun 01 5:06 PM
2010 Jun 01 5:19 PM
Moderator message - Please search before asking - post locked Rob
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |