Term · Data and persistence

Database transaction

A group of database changes that are either all saved together or all undone.

Topic
Data and persistence
Related terms
04

Glossary · D30 / 90

Database transaction

Data and persistence

01What it means

A transaction ends with a commit, which saves its changes, or a rollback, which cancels them.

SAP adds its own logical unit of work on top, so a business document spread across many tables is saved as one unit.

02Why it matters

  • Prevents half-saved records
  • Long transactions hold locks and slow others
  • Essential for correct postings
  • Underlies recovery after a failure

03In practice

Example

Posting an invoice writes a header and several line items; if one write fails, none of them are kept.

SAP INTELLIGENCE

Turn insight into action.

If one of these topics reflects a challenge inside your SAP environment, BERACAH AI Labs can help assess the current state and identify the next steps.