判断是否为纯数字
CALL FUNCTION 'NUMERIC_CHECK' EXPORTING string_in = gs_scr-zbarcode IMPORTING * STRING_OUT = htype = lv_type. IF lv_type <> 'NUMC'.
判断是否包含中文
cl_abap_file_utilities=>check_string_7bit_ascii( EXPORTING string = gs_scr-zbarcode IMPORTING bad_chars = lv_bad ) ."判断不为空 包含中文
标签:判断,gs,string,汇总,lv,abap,EXPORTING,字符串 From: https://www.cnblogs.com/Anyohh233/p/17218169.html