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 work inside a Commit work, possible?

Former Member
0 Likes
530

Hi,

Is it possible to write a commit work inside one another commit work?

Regards,

Shahanaz.

Moderator message: please search for available information/documentation.

Message was edited by: Thomas Zloch

3 REPLIES 3
Read only

Private_Member_49934
Product and Topic Expert
Product and Topic Expert
0 Likes
476

No..

Commit work is a one step command. You commit or you don't commit and once you commit you can't rollback.

Read only

Former Member
0 Likes
476

Yes, you can, but you may not like the result.  Upon commit, whatever SAP has sitting in the update queues are going to get pushed to the database.  That includes any partial table updates that are not yet completed, etc.    Why would you need a commit inside a routine that does a commit? 

Read only

Clemenss
Active Contributor
0 Likes
476

F1