" String 转 Xstring
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = lv_str
IMPORTING
buffer = lv_xstr.
" Base64 加密
CALL FUNCTION 'SCMS_BASE64_ENCODE_STR'
EXPORTING
input = lv_xstr
IMPORTING
output = lv_str.
ABAP 字符串加密为Base64
最新推荐文章于 2024-01-31 14:49:08 发布