‎2006 Aug 29 11:55 AM
Want how the Commit work statement behaves.
Like if 2 programs are updating the same table and they have read the same record and are trying to update the same . One is using commit work immediately and the other is using commit work afterwards. Which of these changes will get reflected.
These are 2 different programs.
‎2006 Aug 29 12:16 PM
Hello ,
Obviously the fist commit will update the table.
But here they might be updating the values in the table as it is a same record. Insertion is not possible as it will leads to dump.
1. Commit work :
Commit work performs a database commits and closes the Logical unit of work in a asynchronous way.
2. Commit work cannot be used in call function update task.
3. a commit work can use for calling performs also.
Thanks,
Krishnakumar
‎2006 Aug 29 12:16 PM
Hello ,
Obviously the fist commit will update the table.
But here they might be updating the values in the table as it is a same record. Insertion is not possible as it will leads to dump.
1. Commit work :
Commit work performs a database commits and closes the Logical unit of work in a asynchronous way.
2. Commit work cannot be used in call function update task.
3. a commit work can use for calling performs also.
Thanks,
Krishnakumar
‎2006 Aug 29 12:29 PM
they will be sequently, but they don´t allowed to insert the same record, if you want to solution this problem, you can use the "que" and "deque" functions.
regards
‎2006 Aug 30 8:23 AM
check the sap help on LUW
http://help.sap.com//saphelp_crm40sr1/helpdata/EN/fc/eb3b64358411d1829f0000e829fbfe/frameset.htm
Kind regards, Rob Dielemans