// Create a structure variable
CreateStructure V[customerinfo] customer_id name city
        
// Create a table
CreateTable V[customers] include=V[customerinfo]
        
// Set data in the structure variable
Set V[customerinfo.customer_id] "C1001"
Set V[customerinfo.name] "John Doe"
Set V[customerinfo.city] "Munich"
        
// Add a row to the table
AppendRow V[customerinfo] table=V[customers]
        
// Display the table on the screen
Table (5,5) (15,80) name="customers" title="Customer Data"
       
// Define the table columns
Column "Customer ID" name="customer_id" size=20
Column "Name" name="name" size=30
Column "City" name="city" size=20 

The GuiXT keyword AppendRow adds the content of a structured variable as a new row to a table variable. This allows you to dynamically add data, ensuring table columns match the structure's components for accurate population.

In this example, we use AppendRow to add customer data (ID, name, and city) from a structured variable into a table, which is then displayed on the SAP screen.