在自定义开发中,需要自动生成GUID作为标识,常用的方法如下
1、函数GUID_CREATE(已过时,推荐使用面向对象方法2)
2、使用面向对象方法cl_system_uuid,可以生成多种格式的GUID
try .
ls_code_save-guid = cl_system_uuid=>create_uuid_x16_static( ).
catch cx_uuid_error.
" exception handle
endtry.