Skip to content

Statefulness, Locks

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

Stateful Sessions

In private and on-premise scenarios, abap2UI5 can also be used in stateful mode. Check out Z2UI5_CL_DEMO_APP_135 and Z2UI5_CL_DEMO_APP_137 for examples.

Locks

In certain scenarios, locking of business objects may be needed. Stateful sessions (described above) are one way to achieve this.

Infinite Transactions

Another option is to create an infinite session in the backend that holds locks while the UI5 app still communicates statelessly. Check out the documentation here and see the issues here and here for more information.