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

Avoid 'commit-work'; LUW-Logic

Former Member
0 Likes
531

Hello,

we have a problem in our luw! Although we do not use an explicit 'commit work' in one of our dialog-programs, a 'rollback' does not work correctly. I have tried to trace the sql-units while execution the program and find out that there are a whole of commit works in the trace-protocoll.

It looks like:

09:44:21.423 105 SAPLSEUJ PROGDIR EXECSTM 119 1 1 0 R/3 1 UPDATE SET "RSTAT" = 'S' , "UNAM" =

09:44:21.423 944 SAPLSYDB EXECSTA 0 0 R/3 1 COMMIT WORK

09:44:21.426 267 SAPLSYDB EXECSTA 0 0 R/3 1 COMMIT WORK

Is there any chance to avoid such implicit commit-works?

Greetings,

Marcel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
484

Some ABAP keywords have implicit commits. nothing can be done about them. For statements which requires explicit commits we can use the ROLLBACK WORK statement.

3 REPLIES 3
Read only

Former Member
0 Likes
484

nobody any ideas?

Read only

Former Member
0 Likes
485

Some ABAP keywords have implicit commits. nothing can be done about them. For statements which requires explicit commits we can use the ROLLBACK WORK statement.

Read only

0 Likes
484

OK, thanks a lot!