Ansicht
Dokumentation

ABENDATA_CONSISTENCY - DATA CONSISTENCY

ABENDATA_CONSISTENCY - DATA CONSISTENCY

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Data Consistency

When data in database tables 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 processed in the database. The time span in which a consistent data state is transferred to another consistent state is known as a Logical Unit of Work (LUW). If an error occurs in an LUW, it is possible to undo all changes made up to this point and restore the data to its original consistent state (rollback). When a new consistent state has been reached, this new state can be committed and a new LUW can be opened.

For an AS ABAP two types of LUWs play a role:

  • 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

Note

The authorizations of a user when accessing data are also relevant for data consistency. The statement AUTHORITY-CHECK is used for explicit authorization checks in ABAP programs. ABAP CDS also offers its own access control based on implicit evaluations of access conditions.






General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2175 Date: 20240426 Time: 071926     sap01-206 ( 41 ms )