Documente Academic
Documente Profesional
Documente Cultură
Connectivity from SAP ABAP Systems to SAP CPI via ABAP Proxy can be done via XI adapter (XI runtime:
SXMB_ADM) or SOAP adapter (WS Runtime: SOAMANAGER).
In case of XI adapter, we usually have to create a sender id for the outbound proxy in SXMB_ADM and create
an iFlow-specific RFC Destination which is not so nice as we might end up creating a lot of destinations.
There is a way to use a generic RFC destination as well. To achieve this, we need to create a generic
iFlow that accepts all XI calls from the SAP backend systems and distributes them dynamically via
ProcessDirect adapter. The url between the sending and receiving iFlow would be dynamically populated
based on sender service and interface name.
Those variables can be used in Integration Flows (e.g. in artifacts as Content Modifier, Router, Channels, …)
Parameter Description
SAP Cloud Platform Integration does not store message payloads by default (queueing). In case an error
occurs (mapping, routing, connectivity), we have to design the desired behavior ourselves.
For synchronous connectivity it is simple: The errors are immediately sent back to the calling/sending system.
No persistency or message queueing is required as error messages have to be handled outside the
integration flows (outside CPI).
For asynchronous connectivity we have several options, depending on the sender adapter used:
SOAP (1.x)
o You can change the processing settings to “Robust”. This will execute all steps of the iFlow in
a synchronous mode until the message processing is successful. Then the sender will receive
a HTTP 2xx code (OK). If an error occurs at any point, the sender will be informed through a
HTTP 500 code (server error) and the sender must queue and organize the retry
mechanisms.
o The alternative is processing setting “WS standard”: When the message arrives completely
inside the iFlow, the sender will be notified with a success message and the CPI processing
starts. If any error occurs and nothing is done to enable queueing/persistency, the message
will be lost and no retry will be possible. (of-course the sender system may be able to
manually resend a message which was apparently already successfully processed).
XI (ABAP Proxy) and AS2
o Both adapters are working event-based through an incoming message, however (when
selecting EO mode) the message is persisted temporarily in a storage: Data Store (JDBC
based) or Queue (JMS based). This is the most convenient way of integration as it provides
us with maximum flexibility:
The sender system was able to transfer the message successfully and the
middleware is now in charge
Messages in the Data Store or Queue are being reprocessed periodically
o To resolve the situation manually (if the error is not temporary, e.g. due to a network issue,
but permanent): Delete message from Data Store or Queue
For Queues there is even a more convenient way, as JMS provides Dead-Letter
Queues (DLQ). Messages which are failing repeatedly to be processed are moved
automatically to a DLQ where manual actions can be triggered (e.g. notifying a
responsible person).
For all other Push based Sender Adapters (sender system triggers message processing) a queueing
must be implemented manually (see below)
o IDoc, HTTP, SOAP (RM)
o ProcessDirect adapter is not listed here, as the communication is only used internally within
CPI, however the same principles apply: no standard queueing available
For all Pull Sender Adapter (CPI triggers message processing with a periodic frequency): a queueing
exists implicitly – the message remains at its source location until the processing is completed
successfully
o SFTP, Mail, SuccessFactors, Ariba
Summary
Each interface is unique and has its own requirements. SAP CPI provides great flexibility here and we ideally
work with integration patterns (helping us to solve requirements in a standardized way). However, for
asynchronous integration with queueing, there is no perfect pattern available yet, unless you can use XI or
AS2 sender adapter. A good alternative is the SOAP 1.x (robust) adapter to push back the errors as well as
the polling adapters where the message remains where it is until the processing is complete. The 2-step
approach of the JMS queues also provide an excellent way, but the number of queues is still limited. Until this
limitation is removed by SAP, we can use the DataStore etc.
Push SOAP 1.x Robust Mode possible: errors are pushed back to sender
Pull SFTP, Mail, SSFS, Ariba Messages remain at source location in case of error
1. Cloud Integration Content in SAP Process Integration
1.1. Introduction
Cloud Integration content from SAP Integration Content Catalogue can be deployed, executed, and
operated in the Advanced Adapter Engine with all the deployment options (PI-AEX, decentral Adapter
Engine, SAP Process Orchestration and SAP PI dual usage type).
Prerequisites:
You must have an SAP HCI tenant.
You must enable the Integration Gateway component in SAP Process Integration.
All the roles mentioned in the Roles section are required.
Procedure:
Integration content is discovered in WEB UI tool of CPI under “Discover” tab.
It is copied in “Design” tab.
Select the appropriate product profile. For more information, see SAP HANA Cloud
Integration Documentation > Designing Cloud Integration Content for SAP PO 7.5 SP2 >
Product Profiles.
In the integration flow, sender and receiver channels are configured as required and saved.
To deploy the cloud integration content in SAP Process Integration below are steps:
b. Deploy the security artifacts of the sender and receiver channels on the Security
Artifacts tab. For more information, see Deploying Security Artifacts.
c. On the Integration Content tab, deploy the content bundle that you downloaded in
one of the above steps.
More details can be found at
https://help.sap.com/viewer/5cf7d2de571a45cc81f91261668b7361/7.5.8/en-
US/14ff0a6d7cd94540bb252f816fbfecde.html