Ansicht
Dokumentation
ABENDATA_CONSISTENCY - DATA CONSISTENCY
BAL Application Log Documentation ABAP Short ReferenceThis documentation is copyright by SAP AG.
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:
- Database LUWs realized by the database system
- SAP LUWs realized using special ABAP programming techniques
Accordingly, there are two lock types that are of significance:
- Database locks set by the system
- 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 )