Develop > Tailoring > Links > Link maintenance > Find from and fill to an array structure

Find from and Fill to an array structure

The us.link application makes it possible to perform a find from a field that is part of an array structure and to use fill to move information into that specific element of the array structure. This can only be performed under the following circumstances:

  1. The field name to fill from/post to is part of the array structure.
  2. The field name to fill from/post to is not used in any other structure of the database dictionary record.
  3. The name of the structure must be the same as the name of the array of which it is a part.

To use find/fill on an array structure, you must set up the variable $fill.structure in the expressions of the specific link line. $fill.structure is an array of two elements. The first is the index of the field (that is used as the source field) in the structure and is of type number. The second is the name of the structure and is of type character.

When using the fill function on an array structure, you can only modify the specific line of the structure being accessed. Instead of the actual field name, use the index number of the field within the structure. This includes the source field.

Related concepts

Link maintenance
Types of links
Find functionality
Fill functionality
Virtual joining functionality
Us.link
Variables used in links
Calling us.link
Find from and Fill to a $ variable