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

Commit and Roll Back

Former Member
0 Likes
403

What is the roll of Commit and Roll back,

Before Commit statement data is save in the database table or not ?

And If Commit statement is executed successfully then can we roll back all the changes or not?

Moderator message : Search for available information, discussion locked.

Message was edited by: Vinod Kumar

3 REPLIES 3
Read only

Former Member
0 Likes
370

Hi Sateesh,

Commit work - Terminates a SAP-LUW with storing the changes.

Rollback work - Terminates a SAP-LUW without storing the changes.

This means that before commit work data is not stored in the database table and once it is successfully executed i.e. SY-SUBRC = 0 we cannot roll back the work.

Thanks,

Tooshar Bendale

Read only

0 Likes
370

Thanks Tooshar ..

Read only

Former Member
0 Likes
370

Hi Sateesh,

Check this Link ABAP Keyword Documentation for Commit and Rollback .

Regard's

Smruti