REPORT ZSAPN_SELECT_DISTINCT .
TYPES: BEGIN OF TY_MARA,
  MTART TYPE MARA-MTART,
  END OF TY_MARA.
DATA : IT_MARA TYPE TABLE OF TY_MARA.
DATA : WA_MARA TYPE TY_MARA.

SELECT DISTINCT MTART FROM MARA INTO TABLE IT_MARA.

LOOP AT IT_MARA INTO WA_MARA.
  WRITE:/ WA_MARA-MTART.
ENDLOOP.



Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com