인터널테이블인 gt_scarr에서 currcode = 'EUR'인 것만 남겨보자.
DATA 선언문은 생략한다.
LOOP AT gt_scarr INTO gs_scarr.
lv_tabix = sy-tabix.
IF gs_scarr-currcode NE 'EUR'.
DELETE gt_scarr INDEX lv_tabix.
ENDIF.
ENDLOOP.
LOOP AT gt_scarr INTO gs_scarr WHERE currcode NE 'EUR'.
lv_tabix = sy-tabix.
DELETE gt_scarr INDEX lv_tabix.
ENDLOOP.
DELETE gt_scarr WHERE currcode NE 'EUR'.