ERPClimb logoERPClimb
Reliable Messaging Patterns
Integration Suite & Cloud Integration (CPI)advanced 4 min read

CPI Reliability Part 3: Data Stores, Aggregation and Ordered Processing

Preview · a free account unlocks the full lesson

Key takeaway

Handle stateful patterns: data stores and variables for state, the aggregator for collecting related messages, ordered processing with JMS and EOIO, and the limits of keeping state in an integration platform.

Visual overview

CPI Reliability Part 3: Data Stores, Aggregation and Ordered Processing — learning sheetFlow: Need for state → Variables for checkpoints → Data stores for messages → Aggregator for grouping → Ordered processing. Key ideas: DATA STORES; VARIABLES; AGGREGATOR; ORDERED PROCESSING. Watch out: Using the integration tenant as a long-term database creates hidden dependencies and storage limits.ERPClimb.com / CPI / LESSON 9/15 / LEARNING SHEETCPI Reliability Part 3: Data Stores, Aggregation andOrdered Processing1 · HOW IT FLOWS1Need forstate2Variablesforcheckpoints3Data storesformessages4Aggregatorforgrouping5Orderedprocessing2 · KEY IDEAS EXPLAINEDData StoresThe Data Store operations (write, get, select,delete) store payloads under an entry ID withretention settings. They support patterns like…VariablesWrite Variables stores small values such as thelast successful polling timestamp for delta loads.Global variables are visible to all iFlows in the…AggregatorThe aggregator collects messages with the samecorrelation value — for example, all lines of onedelivery — and completes when a condition is met…Ordered ProcessingSome interfaces must keep sequence, like stockmovements or status updates. Use ordered JMSprocessing or EOIO with the XI adapter, avoid…3 · REMEMBER · WATCH OUTRememberData stores persist messages or data between iFlow runs with IDs andexpiry.Variables (global or local) store small values like last runtimestamps.The aggregator combines related messages by correlation expressionuntil a completion condition is met.!Watch outUsing the integration tenant as along-term database creates hiddendependencies and storage limits.4 · IN A REAL PROJECTA delta-load iFlow re-read all changed business partners every run because it had no checkpoint. Storing thelast successful run timestamp in a variable, updated only after successful completion, reduced each run from50,000 records to a few hundred.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

This final part of the reliability series covers keeping state and preserving order across iFlow runs. Data Store operations — write, get, select, delete — persist a message or payload under an entry ID with its own retention settings. They support patterns like store-and-forward, collecting records for a later batch send, or holding a failed message for manual repair instead of losing it.

Write Variables store small values, such as the timestamp of the last successful run, which is exactly what a delta-load interface needs to know where it left off. Global variables are visible to every iFlow in the tenant; local variables are visible only within the iFlow that set them. Variables are meant for checkpoints and small operational values, not for business data.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.