-
ABAP Basics abap insert update try,catch commit 처리try. if lt_insert is not initial. insert db from table lt_insert. if sy-subrc ne 0. rollback work. return. endif. endif. if lt_update is not initial. update db from table lt_update. if sy-subrc ne 0 rollback work. return. endif. endif. commit work. catch cx_root. rollback work. return. endtry.
-
ABAP Basics abap open cursor with hold 구문data: lv_cursor type cursor, lt_tmp type table of sflight, lt_sflight type tavle of sflight. open cursor with hold @lv_cursor for select * from sflight. do. clear lt_tmp. try. fetch next cursor lv_curosr into corresponding fields of table lt_tmp package size 10. catch cx_root. endtry. it sy-subrc ne 0. exit. endif. move-corresponding lt_tmp[] to lt_sflight[]. if lines( lt_tmp[] ) < 10. exit. end..
-
ABAP Basics abap splitdata: lv_data type string, lt_split type string_table. split lv_data at zgfcz_pipe into table lt_split.
-
ABAP Basics abap function 사용 시 others 기준펑션 내부에 exception 존재 시 others 적기 병렬처리, rfc 통신 호출 시 others 적기, 커뮤니케이션 등 두개의 예외도.
-
ABAP Basics abap se16n_interface 펑션se16n 권한 부재시 사용