SPLIT 拆分字符串

DATA : BEGIN OF ITAB OCCURS 0,
    TEMP TYPE STRING,

END OF ITAB.

 

TEMPA = 'ABC,BDC,ASD,FDS,DDD'.

SPLIT TEMPA AT ',' INTO TABLE ITAB.

LOOP AT ITAB.
    WRITE : / ITAB-TEMP.
ENDLOOP.

 

将字符串拆分至类表中。

你可能感兴趣的:(String,table)