REPORT ZSAPN_CONTINUE.
DATA: IT_MARA TYPE TABLE OF MARA,
      WA_MARA TYPE MARA.
START-OF-SELECTION.
  SELECT * FROM MARA INTO TABLE IT_MARA UP TO 50 ROWS.

  LOOP AT IT_MARA INTO WA_MARA.
    IF WA_MARA-MTART = 'HALB'. "Donâۉ„¢t print if material type is 'HALB'
      CONTINUE.“Skip the record and go for next record
    ENDIF.
    WRITE:/ WA_MARA-MATNR, WA_MARA-MTART, WA_MARA-MATKL.
  ENDLOOP.
 
 
 
 
Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP MM SD Consultant
Contact : serkurumsal@yandex.com