SAP Cloud Platform Integration is a technology used to integrate processes and data between SAP cloud applications, 3rd party applications and on-premise solutions. We can monitor this integration with Interface and Connection Monitoring and Exception Management by monitoring the iFlows inside SAP Cloud Platform Integration and create alerts in case of errors or performance problems.
The following technical prerequisites have to be met in order to monitor this scenario:
For SAP Cloud Platform Integration, SAP Solution Manager can collect iFlows in error status as exceptions. SAP Solution Manager can also collect performance information directly from SAP Cloud Platform Integration.
SAP Cloud Platform Integration is used as integration solution for several other SAP cloud solutions. Which iFlows are relevant to monitor depends on the cloud scenario that is integrated via SAP CPI. Please check the portal pages for the respective cloud solution (e.g. SAP C4C, Success Factors etc.)
Metric Name | Description | MAI Category | Since SP |
---|---|---|---|
Number of erroneous iFlows in CPI |
Number of erroneous iFlows detected in SAP CPI. The exceptions are retrieved from CPI via the central Exception Management in Solution Manager. |
Exceptions |
7.1 SP12 |
Number of erroneous iFlows in SAP CPI (Delta) |
Number of erroneous iFlows detected in SAP CPI. The exceptions are retrieved directly from SAP CPI. Exception Management setup is not necessary for this metric. |
Exceptions |
7.1 SP13 |
Number of erroneous iFlows in SAP CPI (Delta - from ExcMgmt) |
Single exceptions detected in SAP Cloud Platform Integration. Exceptions are retrieved via an API from SAP CPI into central Exception Management in Solution Manager. Data Collection is executed in delta mode. |
Exceptions |
7.1 SP12 |
Number of erroneous iFlows in SAP CPI (last 24h) |
Number of erroneous iFlows detected in SAP CPI during the last 24h. The exceptions are directly retrieved from SAP CPI. Exception Management setup is not necessary for this metric. |
Exceptions |
7.1 SP13 |
Number of erroneous iFlows in CPI (last 24h - from ExcMgmt) |
Number of erroneous iFlows detected in SAP CPI during the last 24h. The exceptions are retrieved from CPI via the central Exception Management in Solution Manager. |
Exceptions |
7.1 SP12 |
Average Response Time of iFlows in SAP CPI |
Response Time in sec collected from SAP CPI. Exception Management setup is not necessary for this metric. |
Performance |
7.1 SP13 |
Average Response Time of iFlows in SAP CPI per iFlow |
Average CPI Response Time per iFlow in sec collected from SAP CPI. Exception Management setup is not necessary for this metric. |
Performance |
7.1 SP13 |
Number of iFlow executions in SAP CPI |
Number of iFlow executions retrieved directly from SAP CPI. Exception Management setup is not necessary for this metric. |
Performance |
7.1 SP13 |
Public cloud service offerings are usually Software-as-a-Service (SaaS) solutions. This means that customers only have access to the service but not to the underlying infrastructure. Hence, the usual way to connect on-premise managed systems to SAP Solution Manager does not apply to cloud services.
However, to be able to monitor exceptions and performance in cloud services they need to be connected to SAP Solution Manager. This connection is created using the customer and cloud service specific root URL and an end-point definition.
The first step is to import the SSL certificate into SAP Solution Manager. This is valid for all cloud services.
Import Cloud SSL certificate into STRUST
Export Certificate from Browser:
Import Certificate into SAP Solution Manager:
For a successful SSL handshake, please make sure the following parameter are set in the SAP Solution Manager system:
Additionally you have to perform certain preparations in the cloud service to enable SAP Solution Manager to connect to the cloud service.
Create Connection User
The user will be maintained in the HTTP endpoint and must be must have a role which contains the following privilege: IntegrationOperationServer.read
For more information about default role assignments, please refer to SAP Cloud Platform Integration documentation:
https://help.sap.com/viewer/product/CLOUD_INTEGRATION/Cloud/en-US?task=operate_task → Security → Select the link for your platform → Identity and Access Management → Persona → Tasks and Permissions
Gather Connection Information for OAuth
If you want to use OAuth instead of basic authentication to connect to SAP Platform Integration, you can find the necessary connection information here:
The Cloud Services configuration is now accessible from the SAP Solution Manager Configuration (SOLMAN_SETUP) → Managed Systems Configuration → Tab 'Cloud Services'.
Create Cloud Service:
The second step is to create the end-point for the cloud service.
Create the End-Point:
After the basic configuration you now have to configure Exception Management, as the exceptions collected via Exception Management and stored in the central exception store are the basis for the Integration Monitoring data collection.
For SAP CPI you only have to configure Exception Management, if you want to be able to analyze the single exceptions in SAP Solution Manager. Some metrics available for SAP CPI do not require the Exception Management setup. Check the list of available metrics for details.
Configuration for HANA Cloud Integration
To access the Exception Management setup please go to transaction SOLMAN_SETUP → Application Operations → Exception Management
The last step is the configuration of Interface and Connection Monitoring. The Interface and Connection Monitoring setup can be accessed via SAP Solution Manager Configuration (SOLMAN_SETUP).
Configuration for Monitoring Template: Cloud (SAP Cloud Platform Integration)
To access the Integration Monitoring setup please go to SAP Solution Manager Configuration (SOLMAN_SETUP) → Application Operations → Integration Monitoring → Interface and Connections.
Navigate to the step 'Define Scope'. You can create a new scenario for the SAP CPI monitoring or use an existing one. Make sure the on premise system for the SAP CPI scenario and the Cloud Service created for SAP CPI is part of the Interface and Connection Monitoring scenario.
Create the Interface Channel:
Maintain the Interface:
Select Metrics:
Only the some metrics on the metric list are retrieved from the SAP Exception Management, the rest of the metrics is collected directly from SAP CPI. For these metrics you must maintain filter criteria to collect them.
For the metrics collected from Exceptions Management, filters are optional. For these metrics the data collection is based on the content of the global exceptions store, you can always check the collected exceptions in Exception Management. All filter parameters are part of the collection context of the exceptions. The filters applied in Interface and Connection Monitoring allow you to filter the exceptions collected by the Exception Management further. However if the filters in Exception Management do not collect an exception, it is not available in the central exception store and you will not be able to find it in Interface and Connection Monitoring!
If you choose to use the metrics from CPI directly to monitor the number of exceptions, you will not have the exception details available in SAP Solution Manager Exception Management, but only get the information how many exceptions occurred.
You can maintain attributes as described in the Interface and Connection Monitoring Setup on the tab 'Attributes'.
Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click 'Next' in the main guided procedure to move to the step 'Activation'.
Maintain Thresholds and Schedule:
If not active you can also activate the reporting for the channels by checking the box in the column 'Reporting'. This way you can see a history of the number of exceptions that happened and also place the metric on the OCC Dashboard in Focused Insights.