Hello,
I have following transformation:
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT"/>
<tt:template>
<Payload tt:ref="ROOT">
<Language>
<tt:value ref="LANGUAGE"/>
</Language>
<Location>
<tt:value ref="LOCATION_COUNTRY"/>
</Location>
</Payload>
</tt:template>
</tt:transform>
I call the transformation with
CALL TRANSFORMATION zconvert_st
SOURCE root = struc1
RESULT XML xml_string.
struc1 is an internal table. but how have to I write the transformation when the internal table has more than 1 line? The transformation run only when I have 1 line, but I want to listed all lines in the xml