DATA:
lo_conv TYPE REF TO cl_abap_conv_in_ce,
lt_xml_result TYPE STANDARD TABLE OF char2048,
l_string TYPE string,
l_data TYPE xstring.
lo_conv = cl_abap_conv_in_ce=>create(
EXPORTING encoding = 'UTF-8'
input = l_data
).
WHILE lo_conv->is_at_end EQ abap_false.
CALL METHOD lo_conv->read
EXPORTING
n = 2048
IMPORTING
data = l_string.
APPEND l_string TO lt_xml_result.
ENDWHILE.
lo_conv TYPE REF TO cl_abap_conv_in_ce,
lt_xml_result TYPE STANDARD TABLE OF char2048,
l_string TYPE string,
l_data TYPE xstring.
lo_conv = cl_abap_conv_in_ce=>create(
EXPORTING encoding = 'UTF-8'
input = l_data
).
WHILE lo_conv->is_at_end EQ abap_false.
CALL METHOD lo_conv->read
EXPORTING
n = 2048
IMPORTING
data = l_string.
APPEND l_string TO lt_xml_result.
ENDWHILE.
Комментариев нет:
Отправить комментарий