Configure Cloud Connector

Set up SAP Cloud Connector for CPI Integration

To enable communication between CPI and the SAP backend system, you must set up the SAP cloud connector.

Before You Begin

  • Install and configure the SAP Cloud Connector.
  • Integrate the Cloud Connector with SAP BTP by logging into the BTP Cockpit.
  • Install or upgrade APM Connect SAP add-ons on ECC6 or S/4HANA.
  • Configure SAP RFC destination for APM Connect web services.

Procedure

  1. In the SAP Cloud Connector Administration dashboard, under the SAP APM Connect RFC node, select Cloud To On-Premise.
  2. Select ➕ (Add) button to create a new system mapping.
  3. Set the following values in the Add System Mapping page:
    Note: The Add System Mapping process includes multiple screens. After setting each value, select Next to proceed to the next screen until you reach the configuration summary page.
    • Back-end Type: ABAP System
    • Protocol: RFC
    • Load Balancing:
      • If your SAP system uses load balancing, select With Load Balancing and provide the Message Server Host, Logon Group, and System ID (SID).
      • If your SAP system does not use load balancing, select Without Load Balancing and provide the Application Server Host and Instance Number.
    • Backend system: Enter the Application Server Host and Instance Number of your backend ABAP system.
    • Virtual host: Use the same values as the backend system for the Virtual Application Server and Virtual Instance Number.
    • System ID: Enter the System ID (SID) of your SAP system.
    • Description: Optionally, enter a description.
  4. Select Next.
  5. Review the configuration summary and select Finish to complete the mapping.

Add Resources

About This Task

After completing the system mapping, you must define which functions or services are accessible through the Cloud Connector. This step ensures that the integration flows in CPI can access the required SAP functions for data extraction and transaction processing.

Procedure

  1. In the SAP Cloud Connector Administration dashboard, under the SAP APM Connect RFC node, select Cloud To On-Premise.
  2. On the Cloud To On-Premise page, scroll down to the Access Control section.
  3. Select the ➕ (Add) icon to open the Add Resource dialog.
  4. In the Function Name field, enter /MIAPM/.
  5. Select the Prefix option to allow access to all functions that begin with /MIAPM/.
  6. Select Save to add the resource.
  7. Verify Cloud Connector status. Before testing the integration, ensure that the Cloud Connector is connected:
    1. In the SAP Cloud Connector Administration dashboard, check the Subaccount section.
    2. The connection status should show as green and Connected under the Subaccount section.
    Note: This step is essential before testing any integration flows to ensure successful communication between CPI and the SAP backend system.

Configure Southbound Communication (Optional)

This configuration is required only if your setup uses APM Connect web services to send data from SAP to APM Connect (southbound communication). In this case, the SAP system must be able to access the CPI endpoint through the Cloud Connector.

Procedure

  1. In the SAP Cloud Connector Administration dashboard, under the SAP APM Connect RFC node, select Cloud To On-Premise.
  2. Select ➕ (Add) button to create a new system mapping.
  3. Set the following values in the Add System Mapping page:
    Note: The Add System Mapping process includes multiple screens. After setting each value, select Next to proceed to the next screen until you reach the configuration summary page.
    • Backend Type: Non-SAP System
    • Protocol: HTTP
    • Backend system: Enter the internal host and port of the CPI endpoint.
    • Virtual host: Enter the same values as the backend system.
    • Principal Propagation: Uncheck Allow Principal Propagation
    • System ID: Enter a unique identifier for the system
    • Request header host: Select Use Virtual Host
    • Description: Optionally, enter a description for the mapping
  4. Select Next.
  5. Review the configuration summary and select Finish to complete the mapping.

Add Resources

About This Task

After completing the system mapping, you must define which services are accessible through the Cloud Connector. This step ensures that the SAP system can reach the required CPI endpoints for southbound communication.

Procedure

  1. In the SAP Cloud Connector Administration dashboard, under the SAP APM Connect RFC node, select Cloud To On-Premise.
  2. On the Cloud To On-Premise page, scroll down to the Access Control section.
  3. Select the ➕ (Add) icon to open the Add Resource dialog.
  4. For each resource, enter the following details:
    Resource 1:
    • URL Path: /health-check
    • Active: Select the checkbox
    • WenSocket: Clear the checkbox
    • Access Policy: Path and Sub-Paths
    • Description: Optionally, enter a description for this resource.
    Resource 2:
    • URL Path: /services/EamFileReceiver
    • Active: Select the checkbox
    • WenSocket: Clear the checkbox
    • Access Policy: Path and Sub-Paths
    • Description: Optionally, enter a description for this resource.
  5. Select Save after entering each resource.
  6. Verify Cloud Connector status. Before testing the integration, ensure that the Cloud Connector is connected:
    1. In the SAP Cloud Connector Administration dashboard, check the Subaccount section.
    2. The connection status should show as green and Connected under the Subaccount section.
    Note: This step is essential before testing any integration flows to ensure successful communication between CPI and the SAP backend system.

Monitor Integration Flows

Monitoring helps ensure that your integration flows are running as expected and allows you to troubleshoot issues such as failed messages or connectivity problems.

Procedure

  1. In the SAP Integration Suite, select the Monitor tab.
  2. Select Manage Integration Content to view a list of deployed integration flows.
  3. Use the tools in the Monitor tab to perform key monitoring tasks. Refer to the table below for a summary of the actions that you can perform:
    ActionHow to access?Description
    View integration statusMonitor > Manage Integration ContentCheck if integration flows are active and error-free
    Inspect message payloadsMonitor > Monitor Message ProcessingView request and response payloads for each flow
    Test connectivity & rolesMonitor > Message SecurityRun connectivity tests and manage user roles for secure message handling

Create a Dedicated SAP User for CPI Communication

A dedicated SAP user is required for secure and isolated communication between CPI and your SAP system. This user is used exclusively for APM Connect–related integrations.