Get Example source ABAP code based on a different SAP table
ARTIClE
Simple Transformation, Internal Table The example demonstrates the serializing of an internal table.
ABAP_SOURCE_CODE ABAP_EXEC
ABAP_DESCRIPTION An internal table, carrier_tab, is filled with data from the database table SCARR and is transformed to XML using the simple transformation DEMO_ST_TABLE. The ST program is as follows: TRNS DEMO_ST_TABLE The transformation uses the ST statement tt:loop to serialize the other internal tables row by row. HTML tags are inserted into the XML data as literals. The result of the transformation is first shown as an XML file and then as formatted HTML data further below.