A very simple example may look like this.
<html> <head> <% data: itab type table of sflight. %> <% field-symbols: <row> like line of itab. %> <% select * from sflight into table itab. %> </head> <body> <table> <% loop at itab assign <row>. %> <tr> <td><%= <row>-carrid %></td> <td><%= <row>-connid %></td> </tr> <% endloop. %> </table> </body> </html>
If you want to call transaction codes via HTML you need to activate the ITS.
Dig Deeper on SAP Web applications
Related Q&A from Axel Angeli
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
SAP expert Axel Angeli explains how to update the "further dates" tab information in am SAP transaction through an SAP IDoc. Continue Reading
An SAP R/3 4.7 user wants looking to post a document entry using different trading partner fields for credit and debit for function FB01. Continue Reading