Show TOC

Background documentation'field-set’ Macro Locate this document in the navigation structure

 

You use the field-set macro to assign values to ITS variables in the active context.

Typically, you set field-set values in the PBO module of a transaction when you are preparing data for display. You can even make multiple field-set calls in separate PBO modules.

field-set

contextfield-name (in, CHAR)

Context field name

contextfield-index (in, NUM)

Context field index

contextfield-value (in, CHAR)

Context field value

Integration

Syntax in the Standalone ITS

With the standalone ITS, this is automatically performed by the flow logic runtime

.

Syntax in the Integrated ITS

In ABAP in the integrated ITS, the syntax could be as follows, for example:

Syntax Syntax

  1. data counter type i.
      counter = 1.
        loop at FLIGHT_LIST into wa.
          field-set 'FLIGHT_LIST-AIRLINEID' counter wa-AIRLINEID.
          field-set 'FLIGHT_LIST-FLIGHTDATE'   counter wa-FLIGHTDATE.
          field-set 'FLIGHT_LIST-CITYFROM'  counter wa-CITYFROM.
          field-set 'FLIGHT_LIST-CITYTO'  counter wa-CITYTO.
          add 1 to counter.
        endloop.
End of the source code.