Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Message opened on behalf of colleague:

I just have a quick inquiry regarding COMMIT WORK AND WAIT, I

understand that this method performs the following:

"This form specifies synchronous processing. The COMMIT statement waits

for the end of processing. Control returns to your program after all

high priority (V1) function modules have run successfully."

"The AND WAIT form is convenient for switching old programs to

synchronous processing without having to re-write the code.

Functionally, using AND WAIT for update-task updates is just the same

as dialog-task updates with PERFORM ON COMMIT."

It says that before doing the actual commit it will wait for the end of

processing for all related updates against the transaction. However

does it also wait for any "user exits" to finish or does it go ahead

and performs the commit and updates then the user exit happens?



the user exits are already processed, before you do the commit. Even all the inserts/updates you add (to ztables) in the user exit will be commited by the COMMIT WORK AND WAIT.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question