SAP ST TABLE ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ST - Internal Tables
The example demonstrates the serializing of an internal table.

ABAP_SOURCE_CODE
DEMO CL_DEMO_ST_TABLE

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 line by line. HTML tags are inserted into the XML data as literal elements.
The result of the transformation is first shown as an XML file and then as formatted HTML data below.