‎2006 Dec 19 10:02 AM
‎2006 Dec 19 10:04 AM
Executes a database commit and thus closes a Logical Unit of Work ( LUW) (see also Transaction Processing). This means that
all database updates are made irrevocable and cannot be reversed with ROLLBACK WORK and
all database locks are released.
COMMIT WORK also
calls the subroutines specified by PERFORM ... ON COMMIT,
executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before,
processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK,
closes all open database cursors (see OPEN CURSOR) and
resets the time slice counter to 0.
Never Use Commit work in a select... endselect .. program dumps..
‎2006 Dec 19 10:03 AM
Hello,
COMMIT WORK is the key word to make the database change.
ROLLBACK is the opposite to commit work,
If useful reward.
Vasanth
‎2006 Dec 19 10:04 AM
this statement will apply any outstanding database updates and wait until they have actually been put on the database before proceeding to the next statement.
An ordinary commit work will initiate the process to update the databases in a separate task and will press on in your abap.
COMMIT WORK: ( Asynchronous)
Your program does not wait for any acknowledgement. it just start executing the next statment after COMMIT WORK.
‎2006 Dec 19 10:04 AM
Check this link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb3b64358411d1829f0000e
829fbfe/content.htm
‎2006 Dec 19 10:04 AM
HI,
When you perform Commit , all the LUW s work will be reflected to the database.
Reward points if this Helps.
Manish
‎2006 Dec 19 10:04 AM
Executes a database commit and thus closes a Logical Unit of Work ( LUW) (see also Transaction Processing). This means that
all database updates are made irrevocable and cannot be reversed with ROLLBACK WORK and
all database locks are released.
COMMIT WORK also
calls the subroutines specified by PERFORM ... ON COMMIT,
executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before,
processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK,
closes all open database cursors (see OPEN CURSOR) and
resets the time slice counter to 0.
Never Use Commit work in a select... endselect .. program dumps..
‎2006 Dec 19 10:05 AM
commit work is used to commit changes to the database ,when u are changing datbase say delete ,update ,insert ,u can always do commit work so that changes wil be comiited and even after rollback u can not revert them back later..
reward pls