‎2008 Dec 07 11:02 AM
Hi.
Suppose, my program inserts records into several tables and at the end of insertion
commit work.
is executed.
After this new process is started that is invisible for us and where records insertion is really executed.
How in the new SAP LUW determine when that process will be finished (by system global variables or something else)?
‎2008 Dec 07 12:03 PM
If you don't use the AND WAIT option, the new process will not be able to acknowledge the end of the update task. There are some tricks like try to SELECT a record that is written in database during the update task, or, better, locking an object that will be released at the end of the update task (The normal way). Some programmers even went to selecting from the tables (VBLOG) used in SM13 to check the completion of an update task...
Regards
‎2008 Dec 07 12:03 PM
If you don't use the AND WAIT option, the new process will not be able to acknowledge the end of the update task. There are some tricks like try to SELECT a record that is written in database during the update task, or, better, locking an object that will be released at the end of the update task (The normal way). Some programmers even went to selecting from the tables (VBLOG) used in SM13 to check the completion of an update task...
Regards
‎2008 Dec 07 1:01 PM