SAP Integration

SAP PI, PO, and CPI Overview: Architecture, Adapters, Mapping, and Monitoring

A practical overview of SAP PI, SAP PO, and SAP Cloud Integration, covering message flows, adapters, mappings, operational monitoring, and platform selection.

SAP PI, PO, and Cloud Integration landscapeShow the shared integration concepts across on-premise PI or PO and Cloud Integration.SAP PI, PO, and Cloud Integration landscapeShow the shared integration concepts across on-premise PI or PO and Cloud Integration.sendprocessdeliverobserverecover or retrySendersystemCreates thesource…IntegrationruntimePI, PO, orCloud…Mapping androutingTransformsthe payload…ReceiversystemAccepts thetransformed…MonitoringTracksstatus,…CertPas original visual explanation
Architecture diagram showing a sender system sending a message through an SAP PI, PO, or Cloud Integration runtime, followed by mapping and routing to a receiver, with monitoring across the runtime.
On this page
  1. PI, PO, and CPI at a glance
  2. How an integration message moves
  3. Adapters and protocols
  4. Mapping and transformation
  5. Routing and orchestration
  6. Monitoring and error handling
  7. Choosing an integration approach
  8. Operational checklist

SAP integration middleware connects business applications, transforms messages, and provides operational controls around interfaces. The main concepts in this overview are SAP Process Integration (PI), SAP Process Orchestration (PO), and SAP Cloud Integration, commonly called CPI in project discussions.

A useful way to understand the products is to separate runtime architecture from the integration design. PI and PO are commonly operated in an on-premise landscape, while Cloud Integration uses an integration tenant and models interfaces as iFlows. In both cases, the integration solution must define the sender, receiver, protocol, message structure, transformation, routing, security, and monitoring approach.

PI, PO, and CPI at a glance

SAP PI provides central integration capabilities for connecting SAP and non-SAP systems. SAP PO combines PI capabilities with additional process-oriented functions, including business process management and business rules capabilities. Cloud Integration focuses on designing and running integration flows through a web-based integration environment.

The product names describe platform generations and capability groupings, but the operational questions remain similar: which system sends the message, which system receives it, how is the payload transformed, and how is a failed exchange investigated? A clear interface inventory should answer those questions before a team builds individual flows.

PlatformTypical roleCommon design unitOperational emphasis
SAP PICentral enterprise integrationConfiguration objects and integration scenariosRuntime communication, routing, and message monitoring
SAP POIntegration plus orchestration capabilitiesIntegration content and process-oriented objectsIntegration, process coordination, and rule execution
Cloud IntegrationCloud-based integration runtimeiFlowFlow design, credentials, deployment, and message monitoring
Integration message troubleshooting flowHelp operators locate failures by processing stage and choose the next investigation step.Integration message troubleshooting flowHelp operators locate failures by processing stage and choose the next investigation step.inspect firstif transport succeedsif transformation succeedsif the route is validresolve outcomeconnection fixmapping fixrouting fixMessageidentifiedConfirminterface,…Connectionand…Checkendpoint…Payload andmappingCheckparsing,…Routing andorchestrationCheckconditions,…ReceiverprocessingCheckapplication…Correct andrecoverApply the fix,retry when…CertPas original visual explanation
Troubleshooting flow for an integration message: identify the message, check connection and authentication, inspect payload and mapping, verify routing, examine receiver processing, then correct and safely recover.

How an integration message moves

A message normally follows a sequence of sender connection, inbound processing, transformation, routing, receiver connection, and monitoring. The sequence can be simple, such as an IDoc sent to one receiver, or more involved, with content-based routing, enrichment, mapping, and multiple receivers.

The sender and receiver systems remain responsible for their own business data and application behavior. The middleware provides the controlled path between them, including protocol handling and transformation. This separation helps isolate an interface defect: a connection failure, a payload validation issue, a mapping problem, and a receiver application error require different investigations.

A practical interface specification records the following before implementation:

  • Sender and receiver systems, business owner, and support owner
  • Trigger type, expected frequency, and processing priority
  • Source and target message structures
  • Adapter or protocol requirements
  • Mapping rules, default values, and code conversions
  • Retry, duplicate handling, and error notification behavior
  • Security artifacts and monitoring requirements

For a focused explanation of the Cloud Integration design unit, see SAP CPI iFlow Basics. The iFlow should make the message path visible enough that an operator can identify the failing stage without reading every implementation detail.

Adapters and protocols

Adapters connect the middleware runtime to application systems and external endpoints. The correct adapter depends on the protocol exposed by the sender or receiver, the required authentication method, message format, and operational constraints.

Common integration patterns include HTTP-based APIs, SOAP services, IDoc communication, file exchange, SFTP, OData, and RFC-based connectivity. PI and PO landscapes often use adapter configuration objects suited to their runtime architecture. Cloud Integration uses adapter steps inside an iFlow and separates endpoint configuration from reusable security material where appropriate.

Choose an adapter by starting with the endpoint contract rather than the product name. Confirm the transport protocol, TLS requirements, authentication, payload format, character encoding, timeout behavior, and expected response. Then document whether the flow is synchronous or asynchronous and how the sender receives a technical or business-level result.

The comparison in SAP CPI Adapter Types Comparison is useful when several endpoint options appear possible. A protocol that works technically can still be a poor operational choice if it lacks suitable retry behavior, observability, or ownership.

Mapping and transformation

Mapping converts a source message into the structure required by the receiver. It can include field movement, format conversion, value mapping, conditional logic, aggregation, splitting, and default values.

Keep mapping rules traceable to a business or interface requirement. A field-level mapping document should identify the source field, target field, conversion rule, mandatory status, and behavior when the source value is missing. This makes testing and incident analysis faster than relying on an undocumented graphical mapping.

Use the simplest transformation that satisfies the contract. Complex logic should have explicit test cases for missing values, repeated segments, namespace handling, date and number formats, code conversions, and oversized payloads. For Cloud Integration projects, SAP CPI Message Mapping Basics provides a practical starting point for organizing these rules.

Mapping success does not prove business success. A receiver may accept a syntactically valid message and still reject it because of an invalid master-data value, authorization issue, duplicate business key, or application status.

Routing and orchestration

Routing determines which receiver or processing branch handles a message. Content-based routing uses message values, headers, properties, or configured conditions. Static routing sends a known message type to a fixed endpoint, while dynamic routing derives the destination from controlled configuration or message content.

Orchestration adds sequencing and coordination across multiple activities. In PO environments, process-oriented capabilities can coordinate business steps. In Cloud Integration, an iFlow can combine calls, transformations, local processing, exception handling, and receiver interactions.

Keep routing conditions explicit and testable. Record the default branch, behavior for an unknown value, and the owner responsible for maintaining routing tables or value mappings. This prevents a new business code from silently reaching the wrong receiver or an unhandled branch.

Monitoring and error handling

Monitoring begins with a defined operational signal: message accepted, message delivered, message failed, or business processing completed. Technical monitoring alone does not establish that the receiving application completed its business action.

Use the platform monitoring tools to inspect message status, timestamps, correlation information, payload or attachment details permitted by policy, processing steps, and error text. For Cloud Integration, the SAP CPI Monitoring and Error Handling Basics guide covers the operational sequence from message failure to analysis and controlled retry.

A reliable incident procedure is:

  1. Identify the affected interface, message, sender, receiver, and time window.
  2. Check whether the failure occurred during connection, authentication, parsing, mapping, routing, or receiver processing.
  3. Capture the correlation identifier and exact error text.
  4. Determine whether the message is safe to retry or requires data correction first.
  5. Correct the endpoint, credential, mapping, configuration, or business data issue.
  6. Retry through the supported operational mechanism and confirm the receiver result.
  7. Record the cause, action, and any preventive change.

Design exception handling so that failures are visible and actionable. Alerts should identify the interface, severity, timestamp, and next operational step without exposing sensitive payload data.

Choosing an integration approach

Use PI or PO when the existing on-premise landscape, installed adapters, operational model, and integration content are central to the requirement. Use Cloud Integration when the target architecture calls for the Cloud Integration runtime, web-based iFlow development, cloud endpoint connectivity, or a managed integration model within the organization’s integration strategy.

The decision should consider more than development convenience. Review connectivity to each endpoint, required adapters, identity and certificate management, payload volume, latency, retry behavior, monitoring ownership, transport lifecycle, and the skills available to support the runtime.

For landscapes changing from PI or PO toward Cloud Integration, begin with an interface inventory and dependency map. Group interfaces by business criticality, protocol, transformation complexity, custom code, security material, and operational risk. SAP PI/PO to CPI Migration Basics is relevant when planning that assessment.

A phased approach usually starts with low-risk interfaces that have clear contracts and limited orchestration. Critical interfaces should receive a separate cutover plan, reconciliation procedure, rollback decision, and parallel monitoring period.

Operational checklist

Before deploying an interface, verify the following:

  • The sender, receiver, business owner, and support owner are documented.
  • The adapter protocol and endpoint behavior are confirmed.
  • Authentication, certificates, and authorization are tested.
  • Source and target schemas are versioned and reviewed.
  • Mapping rules include missing, invalid, and boundary values.
  • Routing has a defined default behavior.
  • Duplicate detection and retry behavior are documented.
  • Monitoring identifies failures with actionable context.
  • Sensitive payload fields are handled according to security policy.
  • Transport and rollback procedures are tested.
  • Reconciliation confirms the business result after processing.

This checklist applies to new interfaces and to changes that alter endpoint configuration, message structure, routing, mapping, or security material.

Back to all articles