SAP Integration Suite
Comprehensive integration platform on SAP BTP. Provides Cloud Integration, API Management, Event Mesh, Trading Partner Management, Open Connectors, and Integration Advisor in a single suite.
Prerequisites
- SAP BTP subaccount with Integration Suite entitlement
- Service Key for Integration Suite (OAuth2 client_credentials)
- Cloud Connector if accessing on-premise systems
- For PI/PO migration: SAP PI 7.5+ system with export access
Capabilities Overview
- Cloud Integration (CPI) — Message routing, transformation, iFlow design. Artifacts: Integration Flow (iFlow). MCP access via
cpi_mcp.
- API Management — API proxy lifecycle, rate limiting, analytics, auth (OAuth2/API Key). Artifacts: API Proxy.
- Event Mesh — Event-driven architecture with topics, queues, and subscriptions. Enables async decoupled communication.
- Trading Partner Management — B2B/EDI partner onboarding, agreements, document routing. Artifacts: Partner Agreements.
- Integration Advisor — ML-assisted B2B message mapping using MIG (Mapping Guidelines) and MAG (Mapping Artifacts).
- Open Connectors — 170+ pre-built connectors for non-SAP SaaS APIs (Salesforce, ServiceNow, etc.).
- Edge Integration Cell — Hybrid deployment option running CPI runtime on customer Kubernetes cluster.
Step 1 — Enable Integration Suite
# Via BTP CLI
btp create services instance integration-suite standard my-integration-suite \
--subaccount <subaccount-id> \
--plan standard
# Create service key
btp create services binding my-integration-suite my-key \
--subaccount <subaccount-id>
Or via BTP Cockpit → Subaccount → Services → Instances → Create.
Step 2 — Configure Cloud Integration (CPI)
Design iFlows following the standard pattern:
Sender (HTTPS/SFTP/IDoc) → Content Modifier → Groovy Script → Request-Reply → Receiver
Deploy and monitor through the canonical reviewed MCP:
# Design-time content: cpi_packages -> cpi_artifacts
# Runtime: cpi_runtime_artifacts
# Failed messages: cpi_logs -> cpi_message_details
# Mutations: cpi_deploy_plan -> human approval -> cpi_deploy_commit
Use sap-cpi-mcp first. Fall back to integration-suite-ui-mcp only when the
background API path is blocked. Community CPI MCPs remain disabled until promoted.
Step 3 — Set Up API Management
Create API proxy to expose backend with governance:
API Consumer → API Proxy (rate limit, auth, analytics) → Backend (S/4HANA OData)
- Integration Suite → API Management → APIs → Create API
- Define backend endpoint (e.g., S/4HANA OData service URL)
- Add policies: authentication (OAuth2/API Key), rate limiting, quota
- Deploy proxy and test via API endpoint
Step 4 — Configure Trading Partner Management
- Integration Suite → Trading Partner Management → Partners → Create
- Define partner profile with EDI identifier (e.g., DUNS, GLN)
- Create agreement: select sender, receiver, and message type (e.g., ORDERS, INVOIC)
- Configure EDI separator and envelope settings
- Deploy agreement and test with sample EDI payload
Step 5 — Migrate from SAP PI/PO
| PI/PO Component |
Integration Suite Replacement |
| Adapter Engine |
CPI Adapters (SFTP, SOAP, IDoc, OData, etc.) |
| ESR mappings |
CPI Message Mapping + Integration Advisor |
| ccBPM processes |
CPI Integration Processes (BPMN 2.0) |
| SXMB_MONI |
CPI Message Processing Logs (Web UI) |
| Integration Repository |
CPI Web UI → Design → Integration Flows |
Migration approach:
- Export PI/PO objects (ESR + ID directory) using
SAP PI Migration Tool
- Map each communication channel to CPI adapter
- Rebuild mappings using CPI Message Mapping or XSLT
- Replace ccBPM with CPI integration processes
- Test end-to-end before cutover
Step 6 — Use Open Connectors for Non-SAP APIs
# Example: Query Salesforce via Open Connector
# Configure in Integration Suite → Open Connectors → Instances
# Get connector instance token and use in iFlow Request-Reply step
Supported connectors: Salesforce, ServiceNow, Workday, SharePoint, Box, Slack, and 170+ more.
PI/PO Migration Timeline
- SAP PI 7.5 support ends 2027 — plan migration before end-of-support
- SAP PO 7.5 support ends 2027 (mainstream) / 2030 (extended)
- Assessment: 2-4 weeks; migration: 3-12 months depending on complexity
Integration Patterns
- A2A (Application-to-Application): S/4HANA ↔ SuccessFactors via CPI iFlow with OData adapters
- B2B (Business-to-Business): EDI X12/EDIFACT via Trading Partner Management + AS2 adapter
- B2G (Business-to-Government): Government API integration with certificate-based auth
- Event-driven: S/4HANA business events → Event Mesh → multiple subscribers
- Hybrid: Cloud CPI → Cloud Connector → on-premise SAP (RFC/IDoc)
Pitfalls
- iFlow design-time size limit ~10MB — Cause: Large scripts/schemas bloat the iFlow. Solution: Move complex logic to external scripts referenced by path; split into multiple iFlows.
- Message size exceeds 100MB — Cause: Batch payloads too large. Solution: Use Splitter to break into smaller messages; process in chunks.
- Groovy uses Nashorn (ECMAScript 5.1) — Cause: Modern JS features (let, arrow functions, promises) not supported. Solution: Use Groovy-native syntax; avoid ES6+ patterns.
- PI/PO migration underestimates effort — Cause: ccBPM logic and ESR mappings don't auto-convert. Solution: Budget 3-12 months; manually rebuild complex mappings; test each interface.
- Open Connector auth confusion — Cause: Each connector instance has its own token, not BTP OAuth. Solution: Get connector-specific token from Open Connectors UI; pass in iFlow Authorization header.
- Event Mesh message loss — Cause: Queue not set to persistent or subscriber offline. Solution: Configure dead-letter queue; set queue accessType to EXCLUSIVE with retry.
- Integration Suite vs classic CPI URL mismatch — Cause: Integration Suite uses
integrationsuite.cfapps.*; classic CPI uses it-cpi.cfapps.*. Solution: Use the URL from your Service Key JSON.
Verification
- Integration Suite enabled: BTP Cockpit → Services → Instances shows Integration Suite in "Started" state
- CPI accessible: Call
cpi_test_connection, then cpi_packages with a bounded limit
- API proxy works: Send request to proxy endpoint, verify rate limiting and auth policies fire
- Trading partner agreement active: Send test EDI message, verify it routes to correct receiver
- Migration completeness: All PI/PO interfaces have CPI equivalent deployed and tested end-to-end
- Open Connector reachable: Test connector instance returns data from target SaaS API
- Event Mesh delivers: Publish test event to topic, verify subscriber queue receives message
1---2name: btp-integration-suite3description: SAP Integration Suite — Cloud Integration (CPI iFlows), API Management, Open Connectors, Trading Partner Management, Integration Advisor, Event Mesh, PI/PO migration. Use when designing CPI iFlows, managing API proxies, configuring trading partners, migrating from SAP PI/PO, or selecting integration capabilities on BTP.4---56# SAP Integration Suite78Comprehensive integration platform on SAP BTP. Provides Cloud Integration, API Management, Event Mesh, Trading Partner Management, Open Connectors, and Integration Advisor in a single suite.910## Prerequisites1112- SAP BTP subaccount with Integration Suite entitlement13- Service Key for Integration Suite (OAuth2 client_credentials)14- Cloud Connector if accessing on-premise systems15- For PI/PO migration: SAP PI 7.5+ system with export access1617## Capabilities Overview1819- **Cloud Integration (CPI)** — Message routing, transformation, iFlow design. Artifacts: Integration Flow (iFlow). MCP access via `cpi_mcp`.20- **API Management** — API proxy lifecycle, rate limiting, analytics, auth (OAuth2/API Key). Artifacts: API Proxy.21- **Event Mesh** — Event-driven architecture with topics, queues, and subscriptions. Enables async decoupled communication.22- **Trading Partner Management** — B2B/EDI partner onboarding, agreements, document routing. Artifacts: Partner Agreements.23- **Integration Advisor** — ML-assisted B2B message mapping using MIG (Mapping Guidelines) and MAG (Mapping Artifacts).24- **Open Connectors** — 170+ pre-built connectors for non-SAP SaaS APIs (Salesforce, ServiceNow, etc.).25- **Edge Integration Cell** — Hybrid deployment option running CPI runtime on customer Kubernetes cluster.2627## Step 1 — Enable Integration Suite2829```bash30# Via BTP CLI31btp create services instance integration-suite standard my-integration-suite \32 --subaccount <subaccount-id> \33 --plan standard3435# Create service key36btp create services binding my-integration-suite my-key \37 --subaccount <subaccount-id>38```3940Or via BTP Cockpit → Subaccount → Services → Instances → Create.4142## Step 2 — Configure Cloud Integration (CPI)4344Design iFlows following the standard pattern:4546```47Sender (HTTPS/SFTP/IDoc) → Content Modifier → Groovy Script → Request-Reply → Receiver48```4950Deploy and monitor through the canonical reviewed MCP:5152```bash53# Design-time content: cpi_packages -> cpi_artifacts54# Runtime: cpi_runtime_artifacts55# Failed messages: cpi_logs -> cpi_message_details56# Mutations: cpi_deploy_plan -> human approval -> cpi_deploy_commit57```5859Use `sap-cpi-mcp` first. Fall back to `integration-suite-ui-mcp` only when the60background API path is blocked. Community CPI MCPs remain disabled until promoted.6162## Step 3 — Set Up API Management6364Create API proxy to expose backend with governance:6566```67API Consumer → API Proxy (rate limit, auth, analytics) → Backend (S/4HANA OData)68```69701. Integration Suite → API Management → APIs → Create API712. Define backend endpoint (e.g., S/4HANA OData service URL)723. Add policies: authentication (OAuth2/API Key), rate limiting, quota734. Deploy proxy and test via API endpoint7475## Step 4 — Configure Trading Partner Management76771. Integration Suite → Trading Partner Management → Partners → Create782. Define partner profile with EDI identifier (e.g., DUNS, GLN)793. Create agreement: select sender, receiver, and message type (e.g., ORDERS, INVOIC)804. Configure EDI separator and envelope settings815. Deploy agreement and test with sample EDI payload8283## Step 5 — Migrate from SAP PI/PO8485| PI/PO Component | Integration Suite Replacement |86|---|---|87| Adapter Engine | CPI Adapters (SFTP, SOAP, IDoc, OData, etc.) |88| ESR mappings | CPI Message Mapping + Integration Advisor |89| ccBPM processes | CPI Integration Processes (BPMN 2.0) |90| SXMB_MONI | CPI Message Processing Logs (Web UI) |91| Integration Repository | CPI Web UI → Design → Integration Flows |9293Migration approach:941. Export PI/PO objects (ESR + ID directory) using `SAP PI Migration Tool`952. Map each communication channel to CPI adapter963. Rebuild mappings using CPI Message Mapping or XSLT974. Replace ccBPM with CPI integration processes985. Test end-to-end before cutover99100## Step 6 — Use Open Connectors for Non-SAP APIs101102```bash103# Example: Query Salesforce via Open Connector104# Configure in Integration Suite → Open Connectors → Instances105# Get connector instance token and use in iFlow Request-Reply step106```107108Supported connectors: Salesforce, ServiceNow, Workday, SharePoint, Box, Slack, and 170+ more.109110## PI/PO Migration Timeline111112- SAP PI 7.5 support ends **2027** — plan migration before end-of-support113- SAP PO 7.5 support ends **2027** (mainstream) / **2030** (extended)114- Assessment: 2-4 weeks; migration: 3-12 months depending on complexity115116## Integration Patterns117118- **A2A (Application-to-Application)**: S/4HANA ↔ SuccessFactors via CPI iFlow with OData adapters119- **B2B (Business-to-Business)**: EDI X12/EDIFACT via Trading Partner Management + AS2 adapter120- **B2G (Business-to-Government)**: Government API integration with certificate-based auth121- **Event-driven**: S/4HANA business events → Event Mesh → multiple subscribers122- **Hybrid**: Cloud CPI → Cloud Connector → on-premise SAP (RFC/IDoc)123124## Pitfalls125126- **iFlow design-time size limit ~10MB** — Cause: Large scripts/schemas bloat the iFlow. Solution: Move complex logic to external scripts referenced by path; split into multiple iFlows.127- **Message size exceeds 100MB** — Cause: Batch payloads too large. Solution: Use Splitter to break into smaller messages; process in chunks.128- **Groovy uses Nashorn (ECMAScript 5.1)** — Cause: Modern JS features (let, arrow functions, promises) not supported. Solution: Use Groovy-native syntax; avoid ES6+ patterns.129- **PI/PO migration underestimates effort** — Cause: ccBPM logic and ESR mappings don't auto-convert. Solution: Budget 3-12 months; manually rebuild complex mappings; test each interface.130- **Open Connector auth confusion** — Cause: Each connector instance has its own token, not BTP OAuth. Solution: Get connector-specific token from Open Connectors UI; pass in iFlow Authorization header.131- **Event Mesh message loss** — Cause: Queue not set to persistent or subscriber offline. Solution: Configure dead-letter queue; set queue accessType to EXCLUSIVE with retry.132- **Integration Suite vs classic CPI URL mismatch** — Cause: Integration Suite uses `integrationsuite.cfapps.*`; classic CPI uses `it-cpi.cfapps.*`. Solution: Use the URL from your Service Key JSON.133134## Verification1351361. **Integration Suite enabled**: BTP Cockpit → Services → Instances shows Integration Suite in "Started" state1372. **CPI accessible**: Call `cpi_test_connection`, then `cpi_packages` with a bounded limit1383. **API proxy works**: Send request to proxy endpoint, verify rate limiting and auth policies fire1394. **Trading partner agreement active**: Send test EDI message, verify it routes to correct receiver1405. **Migration completeness**: All PI/PO interfaces have CPI equivalent deployed and tested end-to-end1416. **Open Connector reachable**: Test connector instance returns data from target SaaS API1427. **Event Mesh delivers**: Publish test event to topic, verify subscriber queue receives message