ABAP-SPLIT的用法
1 TYPES:BEGIN OF ty_split , 2 split(50), 3 END OF ty_split . 4 5 DATA:gt_split TYPE TABLE OF ty_split . 6 DATA:gs_line TYPE i . 7 8 REFRESH gt_split . 9 CLEAR gs_line . 10 11 SPLIT <fs_data>-yewu AT '_' INTO TABLE gt_split . 12 gs_line = lines( gt_split ) . 13 14 READ TABLE gt_split INTO DATA(gs_split) INDEX gs_line . 15 IF sy-subrc = 0 . 16 <fs_data>-yewu = gs_split-split . 17 ENDIF .