Skip to content

Statefulness, Locks

By default, abap2UI5 runs stateless like any other UI5 freestyle app, with only REST calls to the ABAP backend.

Stateful Sessions

For private and on-premise systems, you can also run abap2UI5 in stateful mode. See Z2UI5_CL_DEMO_APP_135 and Z2UI5_CL_DEMO_APP_137 for examples.

Locks

You may need to lock business objects. Stateful sessions (shown above) are one way.

Infinite Transactions

Another option: create an infinite session in the backend that holds locks while the UI5 app still communicates statelessly. See the SAP documentation on infinite sessions and discussions in issue #2003 and issue #1971 for details.