В xstring и обратно
1 2 3 4 5 6 7 8 9 |
DATA: lv_s TYPE string VALUE 'Hello world', lv_x TYPE xstring. lv_x = cl_abap_codepage=>convert_to( lv_s ). cl_demo_output=>write( lv_x ). lv_s = cl_abap_codepage=>convert_from( lv_x ). cl_demo_output=>display( lv_s ). |