Show TOC

Context Field HandlingLocate this document in the navigation structure

Use

HTML templates in Web transactions may contain expressions that refer to values on an SAP system screen. These values are part of the ITS context, which contains the values on the current SAP system screen, as well as system information like the current Web browser type.

When you send data to the ITS via the Web Transaction API, it data becomes part of the ITS context. To access context values, you specify the context field name in the relevant macro.

The ITS context is maintained for a single dialog step only. After each dialog step, the context is purged and all values are reset. For the next dialog step, you must make the data available again using the ITS macros.

For further information about how context fields are processed, see:

Processing Context Fields

The Web Transaction API macros for handling context fields are listed below. For further information, click on the appropriate link.

Macro

Description

field-set

Assigns values to ITS variables.

field-transport

Sends all data accumulated by field-set calls to the ITS.

field-get

Gets the values of ITS variables.

set-persistent

Makes a context field persistent / transient.