CPI Proxy Part 1: ABAP Proxies with the XI Adapter
Full lesson currently free to read · AI practice limits apply separately
Connect S/4HANA ABAP proxies to Cloud Integration: configuring the ABAP integration engine to send XI messages to Cloud Integration, the XI sender and receiver adapters, quality of service and acknowledgements.
Visual overview
Explanation
📌 KEY POINTS
✅ ABAP proxies are generated from service interfaces and exchange messages in the XI 3.0 protocol.
✅ Cloud Integration's XI adapter can act as sender and receiver for proxy messages.
✅ The ABAP integration engine is configured to route messages to Cloud Integration via an HTTP destination.
✅ Quality of service (exactly once, exactly once in order) must be preserved end to end.
⚠️ Changing proxy implementations when only the middleware changes is unnecessary work.
━━━━━━━━━━━━━━━━━━━━
▶ WHERE WE ARE
This series covers web-service-style integration. Part 1 covers ABAP proxies.
━━━━━━━━━━━━━━━━━━━━
▶ 1. WHAT PROXIES ARE
ABAP proxies are ABAP classes generated from service interface definitions. Applications call outbound proxies to send messages and implement inbound proxies to receive them. Messages are exchanged with the XI 3.0 protocol, historically through PI/PO.
━━━━━━━━━━━━━━━━━━━━
▶ 2. OUTBOUND TO CLOUD INTEGRATION
In the S/4HANA system, the local integration engine is configured (for example in SXMB_ADM) to send messages to an HTTP destination pointing to the XI sender adapter endpoint of an iFlow. The proxy code doesn't change.
━━━━━━━━━━━━━━━━━━━━
▶ 3. INBOUND FROM CLOUD INTEGRATION
For messages to S/4HANA, the iFlow uses the XI receiver adapter to call the S/4HANA integration engine endpoint through Cloud Connector, delivering the message to the inbound proxy. Authorizations and service activation in S/4HANA must allow it.
━━━━━━━━━━━━━━━━━━━━
▶ 4. QUALITY OF SERVICE
Proxies support exactly once (EO) and exactly once in order (EOIO). The XI adapter supports these with persistence such as JMS or data stores in the iFlow, so messages are not lost or duplicated, and order is kept where required.
━━━━━━━━━━━━━━━━━━━━
▶ 5. MONITORING
On the S/4HANA side, SXMB_MONI or the corresponding monitors show proxy message status; in Cloud Integration, the message processing log. Correlate by message ID, which is preserved through the XI protocol.
━━━━━━━━━━━━━━━━━━━━
▶ STEP BY STEP
- Configure an XI sender adapter iFlow and deploy it.
- Point the S/4HANA integration engine to its endpoint.
- Send a proxy message and trace it on both sides.
- Configure an XI receiver adapter to an inbound proxy.
✅ CHECKPOINT: proxy messages flow both ways via Cloud Integration with the required quality of service.
How the SAP process fits together
SAP PROCESS EXPLORER · Integration: sender to receiver
ERPClimb.comProxy, SOAP and OData Integration — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Choose
Pick ABAP proxy, SOAP service or released OData API
What this specific lesson teaches
Connect S/4HANA ABAP proxies to Cloud Integration: configuring the ABAP integration engine to send XI messages to Cloud Integration, the XI sender and receiver adapters, quality of service and acknowledgements.
Key lesson principle: ABAP proxies are generated from service interfaces and exchange messages in the XI 3.0 protocol.
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario. The chapter-specific facts come from the published lesson text.
Real project scenario
An EOIO proxy interface for stock movements started arriving out of order after migration because the iFlow used parallel processing without persistence. Configuring the XI adapter with ordered processing and JMS persistence restored the sequence.
Common mistakes
- Rewriting proxies for middleware changes.
- Losing EOIO order in the iFlow.
- Not correlating message IDs.
- Missing service activation for inbound proxies.
Best practices
- XI adapter for proxy scenarios.
- Persistence for EO/EOIO.
- Correlate with message IDs.
- Monitor both systems.
Interview angle
Interviewers ask how ABAP proxies work with Cloud Integration, the role of the XI adapter and how EO and EOIO are preserved.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
1. Which protocol do ABAP proxies use for messaging?
2. What does EOIO mean?
3. How does S/4HANA send outbound proxy messages to Cloud Integration?
Interview questions
1. How do you integrate S/4HANA ABAP proxies with Cloud Integration?
Answer it in your own words first, then compare.
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.