Hello,
You can use IXML libraries in SAP which can help you to fill the XML.
Below is the link.
ABAP Keyword Documentation for ixml
These are the classes which will be helpful for you.
if_ixml,
if_ixml_stream_factory,
if_ixml_parser,
if_ixml_istream,
if_ixml_document,
if_ixml_node,
Regards,
Rahul Gupta
Message was edited by: Matthew Billingham - updated link