Skip to content
FAST SAP SOLUTIONS®Discuss a project

START HERE · NO PRIOR TOPIC KNOWLEDGE NEEDED

What it is. Why it matters.

A database transaction groups changes that succeed or fail together. An external HTTP call is a separate action; an outbox can coordinate reliable follow-up after local changes.

Completely new to SAP?

Manufacturers use SAP to connect work such as buying components, recording inventory, planning production, shipping equipment and accounting for costs. SAP S/4HANA is an enterprise resource planning system: it connects these activities through shared business data.

ABAP is SAP’s programming language for business applications. A program reads data, applies rules and produces a result. Start with the objects involved before investigating code.

A transaction code, or t-code, is a shortcut to a task in classic SAP GUI. Fiori apps provide another way to work. Names and screens depend on the product and release; you do not need a live system to learn the concepts in this guide.

Original editorial vector illustration for CAP database rollback and remote calls: Use the right transaction boundary
Original FSS editorial vector illustration. Conceptual artwork, not an SAP interface or customer-system evidence.
Scope and source-review notes

Scope and evidence

Source review by FAST SAP SOLUTIONS® editorial. This badge describes our editorial review; it does not represent SAP certification or independent endorsement.

CAP Node.js local transactions and current queue/outbox concepts; API names, persistence and retry settings vary by installed runtime, and Java differs.

Primary documentation reviewed on 14 November 2026 using readable full text and official indexed excerpts. Relevant full-text event-queue sections and indexed transaction/runtime reference text reviewed. Queue configuration, restart survival, remote contracts and the snippet were not executed; application state names are illustrative.

A MANUFACTURING EXAMPLE

Avoid an inconsistent component reservation handoff

Two systems, two outcomes

Local transaction: Save order. External operation: Notify receiver. Outbox record: Track intended follow-up. Failure case: One operation can fail
What to notice: An external HTTP effect is not automatically undone when a local database transaction rolls back.Original annotated example with illustrative values. This is not an SAP screen or a result from a customer system.
Read the example values
Local transaction
Save order
External operation
Notify receiver
Outbox record
Track intended follow-up
Failure case
One operation can fail
Words you’ll meet in this guide
Program
A set of instructions executed by a computer.
Class
A reusable unit that groups data with operations called methods.
Database
Organized information kept beyond one program execution.
Internal table
A list of rows held temporarily in an ABAP program’s memory.
Key
One or more fields used to identify or find a record.
CDS
Core Data Services: reusable definitions of business data and relationships.
API
A defined interface through which programs exchange data or request actions.
HTTP
The request-and-response protocol used by web applications and APIs.
Preview the practical steps

SEE THE CONNECTION

See it in a simple example.

A small example to make the idea concrete.

Local change → Outbox record → External delivery. Conceptual diagram for CAP database rollback and remote calls: Use the right transaction boundary.
Apply the idea: A manufacturer's custom service saves a local request and also contacts another system to reserve components.An illustrative example, not a live SAP screen. The connections show how to think about the topic; they are not instructions to change a system.
  1. Avoid an inconsistent component reservation handoff

    A manufacturer's custom service saves a local request and also contacts another system to reserve components.

  2. A local rollback cannot undo a remote business effect

    A CAP request can write local data and call another system, but those actions do not automatically form one distributed ACID transaction.

  3. Scope and prerequisites

    The example uses current CAP Node.js queue concepts, including the documented cds.queued wrapper.

  4. Worked case: local order O100 and reservation R700

    A fictional request creates local order O100 for 3 units of material M10, calls a warehouse reservation service and then performs another validation.

Reading map · FSS editorial. The sections below explain each part in detail.

Found this useful?

Share this guide with your network, or leave a like.

LinkedIn WhatsApp

Your like is saved in this browser.

Explore Knowledge Hub

Discuss Your SAP Project

Your enquiry is sent through this website and used only to respond to your request.