Counting Duplicate Row in Itab : ABAP Friends,
I need to count the number of duplicate row in ITAB base on one field. 

I have tried create work area and counting the duplicate data but the problem its counting all duplicate data. my purpose is to count duplicate data by the same date.

DATA: gv_line TYPE i.

gv_line = 0.
LOOP AT i_sect_proe.
  IF wa_sect_proe IS INITIAL.
     wa_sect_proe = i_sect_proe.
     CONTINUE.
  ENDIF.

  IF wa_sect_proe-/smr/wondat EQ i_final_f-/smr/wondat.
     gv_line = gv_line + 1.
  ENDIF.

  i_sect_proe-/smr/line = gv_line.
ENDLOOP.

The code i've tried displaying number off all duplicate data.