DATA: r_conv_out TYPE REF TO cl_abap_conv_out_ce,
xml_input TYPE xstring,
it_xml_table TYPE STANDARD TABLE OF smum_xmltb,
it_return TYPE STANDARD TABLE OF bapiret2.
r_conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
r_conv_out->convert( EXPORTING data = gs_data-reqdata IMPORTING buffer = xml_input ).
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
xml_input = xml_input
TABLES
xml_table = it_xml_table
return = it_return.