DATA: t_data TYPE STANDARD TABLE OF i. DO 10 TIMES. APPEND sy-index TO t_data. ENDDO. *Old way DATA: lv_data TYPE i. DO 12 TIMES. READ TABLE t_data INTO lv_data WITH KEY table_line = sy-index. IF sy-subrc EQ 0. WRITE: / lv_data. ELSE. WRITE: / 'Kayıt Bulunamadı', sy-index. ENDIF. ENDDO. * Yeni Yöntem !!! DO 12 TIMES. TRY . WRITE: / t_data[ table_line = sy-index ]. CATCH cx_sy_itab_line_not_found. WRITE: / 'Kayıt Bulunamadı', sy-index. ENDTRY. ENDDO.
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com
Social Plugin