반응형
data: lv_data type string,
lv_file_path type string.
open dataset lv_file_path for input in legacy text mode code page lc_8500 with smart linefeed.
do.
try.
read dataset lv_file path into lv_data.
catch cx_root.
lv_flag = 'E'.
exit.
endtry.
if sy-subrc ne 0 or
lv_data is initial.
exit.
endif.
enddo.
반응형
'SAP > ABAP Basics' 카테고리의 다른 글
abap function 사용 시 others 기준 (0) | 2022.11.09 |
---|---|
abap se16n_interface 펑션 (0) | 2022.11.04 |
abap String 필드 길이로 맞추기 (0) | 2022.11.01 |
abap describe field구문 (0) | 2022.10.31 |
abap 병렬처리시 receive results 주의점 (0) | 2022.08.26 |