Processing Output Repeatedly 

Use

You use the loop node to read data from an internal table line by line. As far as the successor nodes are concerned, it is still open how you will process this data further.

You pass an internal table containing customer data and an internal table containing customer orders to the form interface. You use a loop to read the customer data and display it. Within the loop, you create a table and use the customer number to display the orders of this customer. This allows you to display the orders of all customers on one form.

Procedure

  1. In the context menu choose Create ® Loop to create the node in the tree structure.
  2. Enter a unique name for the node and a description (for example, loop on customer table).
  3. Read the data from an internal table, as described under Data Tab.
  4. Create successor nodes in which you display the fields of the read table lines.