Ansicht
Dokumentation
ABENDB_TRANSACTION - DB TRANSACTION
CL_GUI_FRONTEND_SERVICES - Frontend Services BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Database LUW
A database LUW (also referred to as a database transaction) is a non-separable sequence of database operations that is completed with a database commit. The database LUW is either executed completely by the database system or not at all. After a database LUW has been completed successfully, the database returns to a consistent state and a new database LUW is opened. If an error is detected within a database LUW, all database changes made since the start of the database LUW can be undone using a database rollback. The database is subsequently restored to the same status as before the start of the database LUW. Isolation levels determine whether other users can perform reads on data modified in a database LUW before a database commit is performed.
The ABAP statements used to execute database commits or database rollbacks explicitly are as follows:
Notes
- At the end of a database LUW, all reader streams and locators created in it are closed implicitly. A writer stream that is still open is only closed as part of a database rollback and causes a runtime error during a a database commit.
- Any database commits or database rollbacks that occur within the update cancel the update with a runtime error. See Forbidden Statements in Updates.
General Data in Customer Master PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 2602 Date: 20240420 Time: 104303 sap01-206 ( 42 ms )