‎2007 Oct 03 12:10 PM
‎2007 Oct 03 12:12 PM
sometimes you want to execute some actions after the commit work has been executed. When you do these actions, you can perform them (mostly function modules) IN UPDATE TASK, so they will be execute in update modus.
regards,
Hans
‎2007 Oct 03 12:12 PM
sometimes you want to execute some actions after the commit work has been executed. When you do these actions, you can perform them (mostly function modules) IN UPDATE TASK, so they will be execute in update modus.
regards,
Hans
‎2007 Oct 03 12:15 PM
Hi,
The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION... IN UPDATE TASK. This section describes various ways of updating the database.A program can send an update request using COMMIT WORKTo the update work process, where it is processed asynchronously. The program does not wait for the work process to finish the update ( Asynchronous Update).For asynchronous processing in two steps ( Updating Asynchronously in Steps.)To the update work process, where it is processed synchronously. The program waits for the work process to finish the update ( Synchronous Update).To its own work process locally. In this case, of course, the program has to wait until the update is finished ( Local Update.)Asynchronous Update A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database.
Regards
Sudheer
‎2007 Oct 04 7:29 AM
thanks for sending the details .
i have studied the details. But i did not understand properly can u send me a small example or any scenario.
if u send it that will be helpful for me.
thank you.
‎2007 Oct 03 12:22 PM
Hi,
Update Task is related to LUW(Logical unit of work). Suppose we are updating dissrent tables using update statment but what we want is to update the datbase only if the last update is successfull in that case SAP associate all the task in LUW using Update task so that all the tables get updated in one go.
Thanks
Tanweer
‎2007 Oct 03 12:23 PM
Hi,
check the below links...
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4e0a79e11d1950f0000e82de14a/content.htm
Reward points if helpfu.
Regards,
Nagaraj
‎2007 Oct 03 12:25 PM
hi
good
To apply the changes made to the runtime objects of persistent classes to the actual persistent objects in the database, execute the COMMIT WORK statement. (Alternatively, use COMMIT WORK AND WAIT or SET UPDATE TASK LOCAL). Unless you are executing an object-oriented transaction from within the Transaction Service, you must include the COMMIT WORK statement explicitly in the program. Otherwise, it is encapsulated in the Transaction Service. (If you explicitly include the COMMIT WORK statement as described here, the t op-level transaction runs in compatibility mode).
http://help.sap.com/saphelp_nw04/helpdata/en/d2/7849b8bec911d4b2e80050dadfb92b/content.htm
reward point if helpful.
thanks
mrutyun^
‎2007 Oct 04 7:23 AM
thanks for sending the details .
i have studied the details. But i did not understand properly can u send me a small example or any scenario.
if u send it that will be helpful for me.
thank you.