Database Commit

Database commits are triggered either implicitly or explicitly in an ABAP system.

Implicit Database Commits

The implicit database commits in an ABAP system are caused by the fact that the SAP system is logged on to the database system via its work processes. A work process can only ever execute a single database LUW but cannot interfere with the database LUWs belonging to other work processes. Since an ABAP program can be executed by different work processes during its runtime, the database LUW for the current work process must be completed each time an action takes place that leads to a change of work process. As a result, a database commit is performed implicitly in the following situation:

Explicit Database Commits

Database commits can be triggered explicitly in ABAP programs in the following ways: