09-15-2014 10:50 AM
I need to convert the Internal table into an XML format, with encoding ISO-8859-2. I tried using some FMs but the encoding was UTF-8.
I specifically need ISO-8859-2.
09-15-2014 1:28 PM
Hi
Please use the below method. may be it will helpful.
Perform the XSLT stylesheet
g_ixml = cl_ixml=>create( ).
g_stream_factory = g_ixml->CREATE_STREAM_FACTORY( ).
g_encoding = g_ixml->create_encoding( character_set = 'utf-16' "unicode
byte_order = 0 ).
resstream = g_stream_factory->CREATE_OSTREAM_ITABLE( table = gt_xml_itab ).
call method resstream->set_encoding
exporting encoding = g_encoding.
Regards,
Kalyan.
09-15-2014 1:30 PM