Using Collection Objects 

The SAP Assistant defines several collection object types. Collection objects gather all objects of a given type into a list. For example, all Function objects for a given control are gathered together in the Functions collection object representing that control.

A collection object provides list–oriented functions for accessing list objects, adding and removing from the list, looping through the list, and so on.

Loop through a Rows collection object:

For Each Customer in Customers.Rows

print Customer ( " NAME " )

Next Customer