Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to keep buffer in cloud app?

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos
266

Hi all,

In SAP GUI, user's behavior creates some buffer data and the buffer will be saved into db when user clicks save button.

I am wondering how this works the same in cloud Fiori app, as far as I know, RESTful API is stateless and there is not something like session.

Regards.
Eric

1 ACCEPTED SOLUTION

fprokopiuk
Active Participant
0 Kudos
220

In classical ABAP programming so called LUWs are used (Logical Units of Work). In short they are keeping changes and either push it to DB after COMMIT is called or are cleared with ROLLBACK. Documentation from SAP on the topic: SAP LUW

As for cloud computing you can refer to the blog to check differences: The SAP LUW in ABAP Cloud

1 REPLY 1

fprokopiuk
Active Participant
0 Kudos
221

In classical ABAP programming so called LUWs are used (Logical Units of Work). In short they are keeping changes and either push it to DB after COMMIT is called or are cleared with ROLLBACK. Documentation from SAP on the topic: SAP LUW

As for cloud computing you can refer to the blog to check differences: The SAP LUW in ABAP Cloud