Show TOC

Processing Output RepeatedlyLocate this document in the navigation structure

Context

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

Example

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.

See also: Combining Loops and Tables

Procedure


  1. Create a node of type Loop in the navigation tree of the Form Builder.

  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 into a work area.

  4. Create inferior nodes in which you display the fields of the read table lines.