SAP ABAP Forum
Commit-Work statement "performs" many functions relevant to synchronized execution of tasks. Rollback-Work statement "cancels" all requests relevant to synchronized execution of tasks.
COMMIT WORK. Executes a database commit and thus closes a logical processing unit or Logical Unit of Work ( LUW ) (see also Transaction processing ).
This means that
ROLLBACK WORK. Closes a logical processing unit by reversing all database changes made since the last COMMIT . You use this statement if you cannot be certain that all the database changes have been executed correctly. The update routines are not performed.
ROLLBACK WORK belongs to the Open SQL command set. Note If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.
Please Avoid Duplicate Threads.
Sign up for STechies
Ask Question From Our Experts
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.