Open all | Close all

Stateful and stateless BSP applications


Setting the status of a BSP is done within the properties tab and can be set to either 'Unchanged',
'Stateless from now on' or 'Stateful from now on'.


Unchanged
Retains status set in previous page.

Stateless
Within a stateless application any data retrieved within one page will be lost as soon as a new page is called,
unless it is passed as a parameter.

Stateful
Within a stateful application data is retained in memory even when a new page is called. This makes it much
easier to pass data between BSP pages but means more resources will be used inorder to store the data.


Stateful BSP
You can also set the whole BSP application to be stateful by going to the properties tab of the actual BSP
application rather than the individual pages. In-order for data stored within an application class (also declared
within the properties tab of BSP) to be available to each page this status seems to need to be set to sateful,
otherwise data is lost when leaving a page.



SAP ABAP development help
More SAP ABAP development help and information


ABAP code and information
More SAP ABAP development tips and tricks

 
 

Number of SAP Development Users currently online hit counters