data : BEGIN OF lt_line OCCURS 0,
id type i,
ad(100) type c,
soyad(100) type c,
END OF lt_line.
lt_line-id = 1.
lt_line-ad = 'Ad 1'.
lt_line-soyad = 'Soyad 1'.
APPEND lt_line.
lt_line-id = 2.
lt_line-ad = 'Ad 2'.
lt_line-soyad = 'Soyad 2'.
APPEND lt_line.
lt_line-id = 2.
lt_line-ad = 'Ad 3'.
lt_line-soyad = 'Soyad 3'.
APPEND lt_line.
lt_line-id = 2.
lt_line-ad = 'Ad 4'.
lt_line-soyad = 'Soyad 4'.
APPEND lt_line.
lt_line-id = 2.
lt_line-ad = 'Ad 5'.
lt_line-soyad = 'Soyad 5'.
APPEND lt_line.
lt_line-id = 3.
lt_line-ad = 'Ad 6'.
lt_line-soyad = 'Soyad 6'.
APPEND lt_line.
lt_line-id = 4.
lt_line-ad = 'Ad 7'.
lt_line-soyad = 'Soyad 7'.
APPEND lt_line.
lt_line-id = 5.
lt_line-ad = 'Ad 8'.
lt_line-soyad = 'Soyad 8'.
APPEND lt_line.
lt_line-id = 6.
lt_line-ad = 'Ad 9'.
lt_line-soyad = 'Soyad 9'.
APPEND lt_line.
lt_line-id = 7.
lt_line-ad = 'Ad 10'.
lt_line-soyad = 'Soyad 10'.
APPEND lt_line.
delete ADJACENT DUPLICATES FROM lt_line COMPARING id.
BREAK-POINT.
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com
Social Plugin