Skip to Content
0
Former Member
Jun 19, 2008 at 05:37 AM

How to replace the root tag in ABAP Mapping

26 Views

how to replace the root tag with the certain string in ABAP Mapping

just like

<?xml version="1.0" encoding="UTF-8"?>

<root>

<name>Lawrence</name>

</root>

into

<?xml version="1.0" encoding="UTF-8"?>

<myRootElement>

<name>Lawrence</name>

</myRootElement>

i don't want to implement it in message mapping

please give me the sample code

thanks in advance