‎2022 Aug 09 7:39 PM
Hi team,
I have one task please help me how to solve this, (Report program)
Depending on ztable, one Internal table have four columns company code, customer id, sequence and mail.

second internal table have company code, customer id and mail (adding these values inside first internal table)

Final output is display like this,

Sequence condition.
if company code and customer id records are duplicate, sequence should be display 1, 2, 3... (depending on duplicate records, sequence will increase)
else non duplicates found, sequence should display 1.
Thanks.
‎2022 Aug 09 7:56 PM
Hi emanuel.klenner can you please help me how to solve this task.
‎2022 Aug 10 3:00 AM
What have you tried so far to solve this?
Sorry, it isn't some great riddle, it's a pretty common ABAP development task. So I'm confused what exactly is the challenge / not clear? There isn't any question in this question...
‎2022 Aug 10 4:18 AM
Hi jelena.perfiljeva thanks for reply. I'm a ABAP beginner.
what I'm trying is,
This is a report report program.
ztable contain above mention records (screenshot 1).
based on Ztable I created one internal table (it_tab) which is contain company code, customer id, mail and sequence.
Now I need to add new values by using another internal (it_tab1) which is contain 3 fields company code, customer id and mail. sequence number will increase depending on having duplicate values.
for example: it_tab1 have 3 duplicate values. now I'm adding duplicate vaules into it_tab, sequence needs to be display like 1st row sequence = 1, 2nd row sequence = 2, 3rd row sequence = 3.

My question, How to add duplicate values with this sequence?
I hope you understand my question...
Thanks.
‎2022 Aug 10 6:33 AM
So, what have you tried so far? What is your issue? What do you know in ABAP?