Show TOC

Setting Stateful or StatelessLocate this document in the navigation structure

Procedure

You can classify a BSP application in two types - stateful or stateless:

  1. During development in the development environment (transaction SE80):

    You can define a BSP application as stateful by selecting the BSP application characteristic Stateful. If the checkbox is deactivated, the BSP application is working in stateless mode.

  2. At runtime using the programming interface IF_BSP_RUNTIME (compare

    Object Runtime):

    At any given time, a BSP application can be switched from stateless to stateful (and vice versa). This would make sense, for example, if you wanted to retain the roll area for a few consecutive pages but not for the whole application. You can set this by setting or deleting the attribute KEEP_CONTEXT of the IF_BSP_RUNTIME interface at runtime. The runtime definition overrides any definitions made in the development environment.

    See also: Stateful or Stateless Programming?