Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

duplicate records - process

anupam_srivastava2
Participant
0 Likes
359

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

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
338

Check F1 help of collect statement

Read only

Former Member
0 Likes
338

Moderator message - Please search before asking - post locked Rob