Skip to content

SAP CPI: what it is, its architecture and the PI/PO move

SAP CPI is the Cloud Integration capability of SAP Integration Suite, SAP's cloud middleware on SAP BTP. Here is how its architecture works, how it compares with PI/PO before mainstream maintenance ends in 2027, and how to plan the move.

A monitor showing an integration flow with systems connected through a central cloud hub
Contents
  1. Why CPI matters, in my experience
  2. What SAP CPI is, and what it isn't
  3. SAP CPI architecture explained: how it works in practice
  4. The message flow in practice
  5. Components of SAP CPI architecture
  6. Dates that shape an integration plan
  7. How CPI compares to SAP PI/PO
  8. PI/PO migration: what it actually involves
  9. Common integration patterns
  10. Frequently asked questions
  11. Next step

SAP CPI (Cloud Platform Integration) is SAP's cloud middleware for connecting SAP and non-SAP systems. Today it is called Cloud Integration, the core capability of SAP Integration Suite on SAP Business Technology Platform (SAP BTP).

It moves messages between applications, transforms their format and routes them to the right target. If you still run SAP PI/PO, the clock matters: mainstream maintenance for SAP NetWeaver 7.5, which includes PI/PO, ends at the end of 2027.

This guide covers what CPI does, how its architecture works, how it compares with PI/PO and how to plan the move. It is written for integration leads and CIOs, not only developers.

I have seen teams spend months building brittle custom scripts to connect SAP and non-SAP systems. Something works at first. Then a system update changes a field name, or a new API version rolls out, or traffic doubles.

The script breaks quietly. Nobody knows until a report pulls stale data or an order sits unprocessed for three days.

CPI replaces that with managed, reusable integration flows. Not because it is simpler (it often isn't), but because the architecture is built to be monitored and maintained. Small decisions made early in CPI design compound into technical debt faster than most teams expect.

My advice to any company still on SAP PI/PO is to move to SAP Integration Suite. The most common integration failure I see is not spending enough time on integration.

SAP's own migration guide describes Cloud Integration as the capability for designing and running integration flows across cloud, on-premise and hybrid setups. It covers application-to-application (A2A), business-to-business (B2B) and business-to-government (B2G) scenarios. Most consultants still say "CPI" or "SAP CI" for it, and that is fine.

SAP Integration Suite bundles Cloud Integration with other capabilities. The main ones are API Management, Event Mesh, Integration Advisor, Trading Partner Management, Open Connectors and Migration Assessment.

What CPI does: moves data between systems, transforms message formats, routes to the right target, and handles errors and retries. It connects SAP systems (S/4HANA, SuccessFactors, Ariba) and non-SAP platforms (Salesforce, Workday, ServiceNow) through standard adapters.

What it doesn't do: store data long-term, replace an ERP, or act as an ETL tool for bulk data migration. It is built for real-time or near-real-time messages. Using it as a data warehouse or a migration tool causes architecture problems later.

CPI versus SAP BTP: BTP is the whole platform: application development, data, AI, analytics and integration. CPI is one service on it. A BTP architect designs across services; a CPI specialist owns flows, adapters, mappings and connectivity.

The diagram below shows the integration scenarios CPI is built for. Cloud to cloud, on-premise to cloud, business to business (B2B), business to government (B2G), and connections to users and devices.

SAP CPI architecture diagram showing cloud to cloud, on-premise to cloud, B2B and B2G integration around SAP S/4HANA and non-SAP apps

Understanding CPI architecture is not just for developers. In my experience, the teams that grasp how CPI handles integration at a structural level tend to make better design choices up front.

CPI runs as a multi-tenant cloud service on SAP BTP. SAP runs the platform, so you do not maintain your own integration servers. Where a flow must run inside your own network, Edge Integration Cell is an optional hybrid runtime: you design and monitor in the cloud and run the flow in your own network.

The message flow in practice

At the core is the iFlow (integration flow). Every integration in CPI is modelled as one, and each iFlow moves a message from a source to a target in three stages:

  1. Sender adapter. Receives the message from the source system over SOAP, REST, OData, IDoc, SFTP, JMS, AS2 or another protocol.
  2. Processing steps. Mapping, format conversion (JSON to XML, for example), content-based routing, calls to other systems, encryption and error handling.
  3. Receiver adapter. Sends the processed message to its target.

Flows run synchronously or asynchronously, depending on the use case. It is not always obvious which to choose, so test both against real volumes.

Monitoring plays a big role. You have message processing logs, trace and persisted messages, each for a different purpose. During testing or debugging, I tend to switch between trace and persist depending on how deep I need to go.

Components of SAP CPI architecture

The table maps each component to its job in the architecture.

ComponentWhat it doesRole in the architecture
Integration flow runtimeExecutes iFlowsHandles routing, mapping, transformation and security at run time
Web-based designerGraphical editor to build, configure and deploy iFlowsWhere developers model flows; complex logic still needs Groovy or JavaScript
AdaptersSOAP, REST, OData, IDoc, JDBC, SFTP, JMS, AS2 and SaaS-specific adaptersConnect cloud and on-premise systems
SecurityOAuth 2.0, SAML, TLS, certificate and key managementProtects credentials and messages in transit
Monitoring and operationsMessage logs, error details, retries, alertingLets support teams find and fix failures
Prepackaged contentSAP-delivered integration packages on the SAP Business Accelerator HubSpeeds up standard scenarios with tested content
SAP Cloud ConnectorSecure tunnel from your network to SAP BTPReaches on-premise systems without exposing them to the internet
Edge Integration CellOptional runtime in your own data centre or private cloudFor flows that must stay on-premise

Groovy scripts handle logic the graphical steps cannot. I often suggest keeping this light, because too much scripting leads to maintenance issues later. Packages are versioned, so no change goes into production outside a deployed package.

Three dates drive almost every integration plan right now.

The dates behind an integration planPlan around 2027. A wave-based move before then costs far less than a forced cutover.
  1. 2027PI/PO mainstream maintenance endsEnd of year, for SAP NetWeaver 7.5
  2. 2028Cloud Integration on Neo sunsets31 December. Neo tenants move to Cloud Foundry
  3. 2030PI/PO extended maintenance endsEnd of year. The last stop for any PI/PO system

Source: SAP Note 1648480 and SAP Knowledge Base Article 3355661

  1. PI/PO is running out of road. SAP Note 1648480 sets mainstream maintenance for SAP NetWeaver 7.5, which includes PI/PO, to the end of 2027, with extended maintenance to the end of 2030. The system does not stop on 1 January 2028, but every year after that costs more to keep.
  2. Neo is closing. SAP Knowledge Base Article 3355661 confirms that Cloud Integration on the SAP BTP Neo environment sunsets on 31 December 2028. Earlier CPI tenants on Neo need to move to the multi-cloud (Cloud Foundry) environment, and that move is its own small project.
  3. Hybrid has an answer. Edge Integration Cell runs Integration Suite flows inside your own network. That removes the most common reason teams gave for staying on PI/PO.

On commercials: if you are on RISE with SAP, check what SAP BTP entitlement your contract already includes before you buy Integration Suite capacity separately.

PI (Process Integration) and PO (Process Orchestration) are SAP's on-premise middleware. Here is how they compare with CPI.

FactorSAP PI/POSAP CPI (Integration Suite)
DeploymentOn-premise, your serversCloud on SAP BTP; Edge Integration Cell for an on-premise runtime
Maintenance overheadHigh: patching, upgrades, server managementLower: SAP runs the platform
ExtensibilityDeep customisation; harder to upgradeModular; faster updates; less low-level control
LicensingLicence plus your own infrastructureSubscription on SAP BTP, by edition
Investment directionMaintenance only, no new featuresActive development
End of mainstream maintenanceEnd of 2027 (extended to end of 2030)Not applicable (cloud service)

SAP's migration guide treats Cloud Integration as the main replacement because it covers most of what PI/PO does. Ask SAP how your edition is metered, then model it against your real message volumes before you migrate. Some companies find their integration traffic is higher than they thought.

SAP CPI is powerful when it is designed at the architectural level. When teams treat it as a configuration exercise, every small shortcut creates fragility that shows up six months later.

Migration is not an automatic conversion. Adapter behaviour differs between PI and CPI, and error handling that worked in PI can behave differently in CPI. Some flows need rebuilding; others move with small changes.

SAP provides two official tools:

  1. Migration Assessment. A capability of Integration Suite that connects to your PO system, extracts integration scenarios and estimates the effort to move them. SAP's tutorial covers the setup.
  2. Migration Tooling. A feature of Cloud Integration that semi-automates the migration of integrated configuration objects (ICOs) from PO into iFlows. Only scenarios assessed as "Ready to migrate" or "Adjustment required" can be migrated with it.

SAP Learning is clear that no single migration path fits every customer, and many run PI/PO and Integration Suite in parallel during the move. The tools reduce the mechanical work. They do not make the judgement calls about what to rebuild and what to retire.

Here is the wave plan I use as a starting point. Adjust the waves to your own inventory.

WaveWhat movesWhy this orderOwnerExit criteria
0. InventoryEvery PI interface: frequency, volume, adapter, criticality, ownerYou cannot plan what you have not countedIntegration leadInventory signed off by business owners
1. Low riskSAP-to-SAP flows with standard contentProves the operating model and monitoringIntegration leadTwo weeks stable in production, PI path retired
2. PartnersB2B and EDI flows with key trading partnersNeeds partner testing windows and coordinated cutoverIntegration lead with procurement and salesEach partner confirms in writing
3. High riskHigh-volume, regulated or revenue-critical flowsMoves last, with the most rehearsalIntegration architectVolume test passed; fallback to PI rehearsed
4. RetirePI/PO shut downStops paying for two platformsCIOAll flows migrated or retired; licences ended

Keep a fallback path to PI for each wave until the new flow has run clean in production. The order matters: prove the operating model on low-risk flows before you touch the interfaces that carry revenue.

Integration testing is where time disappears. Plan regression testing with B2B partners and non-SAP targets early, because those break quietly. My SAP testing guide covers how to structure integration and regression cycles.

If the PI/PO move sits inside an S/4HANA programme, align the two plans. My ECC to S/4HANA migration guide covers the paths and deadlines on the ERP side.

The scenarios I see most often:

  1. S/4HANA to SuccessFactors. Organisational data, headcount and compensation changes. SAP's standard integration content covers the common scenarios; custom flows handle the deviations.
  2. Legacy procurement to SAP Ariba. Purchase orders out, confirmations and invoices back in. Usually two-directional.
  3. Finance data to SAP Analytics Cloud. Moving data from ECC or non-SAP systems into SAC.
  4. Salesforce to SAP. Closed deals flowing into SAP for fulfilment, invoicing and stock updates. My piece on why Salesforce-ERP integrations fail covers the design mistakes.

If integration work is already slipping on your programme, SAP Integration Suite delivery delays covers the usual causes. The overview of SAP integration platforms compares the options side by side.

What is SAP CPI and what is it called now?

SAP CPI stands for Cloud Platform Integration. It is now the Cloud Integration capability of SAP Integration Suite on SAP BTP, alongside API Management, Event Mesh and partner integration tools. "CPI" is still the everyday name for building integration flows.

What is SAP CI?

SAP CI is short for SAP Cloud Integration, the current name of what used to be SAP CPI. Both terms refer to the same capability inside SAP Integration Suite.

Is SAP CPI middleware?

Yes. CPI is cloud middleware: it sits between systems, transforms and routes messages, and handles errors and retries. It replaces on-premise middleware such as SAP PI/PO, and it does not store business data long-term.

How is SAP CPI different from SAP PI/PO?

PI/PO is on-premise middleware that you install, patch and run yourself. CPI is a cloud service on SAP BTP that SAP runs for you, with new adapters and content arriving centrally. Edge Integration Cell covers flows that must stay on-premise.

When does SAP PI/PO support end?

Mainstream maintenance for SAP NetWeaver 7.5, which includes PI/PO, ends at the end of 2027. Extended maintenance is available to the end of 2030. SAP offers Migration Assessment and Migration Tooling to help move scenarios to Integration Suite.

Is SAP CPI the same as SAP BTP?

No. SAP BTP is the platform: app development, data, analytics, AI and integration. CPI is the integration service on it.

When scoping work, budget and skills differ: a BTP architect works across services, a CPI specialist owns flows, adapters and mappings.

If you are planning a PI/PO move or designing integration for a new S/4HANA programme, start with the interface inventory. If you want a second view on the plan before you commit to it, get in touch.

Noel D'Costa

Written by

Noel D'Costa

25 years across SAP and Oracle ERP programmes in aviation, government, finance, retail, and manufacturing. Finance background. I help leadership teams scope transformations honestly, recover programmes in trouble, and build systems that survive their first year in production.

Next step

Running an ERP programme right now?

If this article touched on a programme you are live in right now, a 30-minute conversation usually gets further than another week of internal analysis.