Hi All,
I have got an exception as aboved when trying to convert XML file into ABAp strcuture.However, i really can't firgure out what is wrong with matching Element . Could anyone help? or give me some idea how to solve it?
my ST is as follows:
<?sap.transform simple?>
http://www.sap.com/transformation-templates">
<tt:root name="ROOT"/>
<tt:template>
<content>
<tt:loop ref=".ROOT" name="line">
<item>
<Name>
<tt:value ref="$line.myName"/>
</Name>
<Component>
<tt:value ref="$line.myComponent"/>
</Component>
</item>
</tt:loop>
</content>
</tt:template>
</tt:transform>
My XML File is like below:
<?xmlversion = "1.0"encoding = "utf-16">
<Content>
<Item>
<Name>a</Name>
<Component>component1</Component>
</Item>
<Item>
<Name>b</Name>
<Component>component2</Component>
</Item>
</Content>