‎2007 Feb 08 1:18 PM
Hello everybody,
Can you tell me, if anybody know a function ABAP that divided the size of XML file since a program.
Thanks in advance.
‎2008 Jul 04 1:22 PM
I didn't understand what you need, but I have a code that can help you..
l_ixml = cl_ixml=>create( ).
l_document = l_ixml->create_document( ).
l_streamfactory = l_ixml->create_stream_factory( ).
l_ostream = l_streamfactory->create_ostream_itable( table =
l_xml_table ).
l_renderer = l_ixml->create_renderer( ostream = l_ostream
document = l_document ).
l_rc = l_renderer->render( ).
l_xml_size = l_ostream->get_num_written_raw( ).