abap string 类型 转rawstring (Xstring)
作者:互联网
1. SCMS_STRING_TO_XSTRING
<style></style>CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = lv_string
* MIMETYPE = ' '
* ENCODING =
IMPORTING
buffer = lv_xstring
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
2.cl_abap_codepage=>convert_to()
<style></style>lv_xstring = cl_abap_codepage=>convert_to( lv_string ).
3.SE24 : CL_BCS_CONVERT.
标签:rawstring,string,cl,codepage,lv,abap,Xstring,STRING 来源: https://www.cnblogs.com/WACBZWY/p/11880811.html