Application Development and Automation 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: 
Read only

How to keep buffer in cloud app?

EricYu0912
Product and Topic Expert
Product and Topic Expert
0 Likes
713

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
Read only

fprokopiuk
Active Participant
0 Likes
667

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
Read only

fprokopiuk
Active Participant
0 Likes
668

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