Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data 

Data Consistency

When external data is modified by application programs, it must be ensured that the data is consistent after the changes have been made. This is particularly important when data is edited in the database. The time span in which a consistent data state is transferred to another consistent state is known as an LUW (Logical Unit of Work). If an error occurs in an LUW, it is possible to undo all changes made up to this point and roll the data back to its original consistent state (rollback). When a new consistent state has been reached, this new state can be set and a new LUW can be opened (commit).

AS ABAP has two types of LUWs:

  • SAP LUWs realized using special ABAP programming techniques

Accordingly, there are two lock types that are of significance:

  • SAP locks set using special ABAP programming techniques

Other versions: 7.31 | 7.40 | 7.54


Note

The authorizations of a user are important for data consistency when data is accessed that is checked using an ABAP statement.

Continue

Database LUW

SAP LUW

Database Locks

SAP Locks