Introduction to SAP CPI and Integration Suite

In this article, we will look into SAP Cloud Integration Suite, Cloud Integration Platform, and their capabilities. First, we will discuss the concept of cloud computing and its advantages. Second, we will have a look at SAP’s cloud integration product strategy. Third, we’ll understand the features of SAP API Business Hub and SAP Integration Suite. Additionally, we will deep dive into the features of the SAP Integration suite, such as API Management, Open Connectors, Cloud Integration, Event Mesh, and Integration Advisor.

Finally, we will discuss the pricing model of SAP Integration Suite, what to consider when migrating to CPI from PI/PO, and more details about the Event Mesh concept.

What is Cloud Computing?

Cloud computing is the concept of delivering computing services and resources over the Internet. We broadly categorize computing services as applications, data, runtime, middleware, OS, virtualization, servers, storage, networking, and runtime. If one or more of these services are delivered via the Internet, we call it cloud computing.

The main advantages of cloud computing are lower cost, scalability, and performance. It has a lower cost since the hardware resources are shared without having to make an initial capital investment. It is also scalable since cloud recourses like storage and bandwidth can be easily scaled up based on organizational growing needs.

These recourses are provided by vendors on different pricing models, such as subscription-based, volume-based, or based on the number of users.


Advantages of Cloud Computing

  • Availability: You can access your solutions and services anytime from anywhere with any device. The same cannot be said for traditional computing.
  • Cost-effectiveness: Cloud computing allows organizations to avoid high costs of network implementation and hardware purchases. Additionally, you only pay for what you use which reduces IT costs.
  • Scalability: You can easily scale up or scale down your services and requirements in a shorter time period than traditional computing. Moreover, the scaling up can be done with minimum IT costs and capital costs for hardware purchases.
  • Simplicity: Another great advantage of cloud computing is the simplicity of use. Your IT team requires less effort when it comes to system updates, upgrades, and general maintenance.

Types of Cloud Computing

Cloud computing is categorized into three different types based on the kinds of computing services provided over the Internet.

  1. Software-as-a-service (SaaS)
  2. Platform-as-a-service (PaaS)
  3. Infrastructure-as-a-service (IaaS)

In traditional computing, organizations have to manage their own computing recourses spanning from applications and data to storage and network.

SaaS, PaaS, IaaS cloud computing methods

Software-as-a-service (SaaS)

Saas concept cloud computing

The main characteristic of SaaS is that the software is hosted centrally and delivered over the Internet. Users access the hosted applications through web browsers, mobile phones, tablets, etc. As you can see from the diagram, cloud application providers manage the application/data and underline infrastructure.

Customers can usually access these hosted applications on a subscription basis.

Some examples of globally-used SaaS products are SalesForce, MailChimp, and DropBox.

SaaS Offerings from SAP

  • SAP Hybris
  • SAP Business One Cloud
  • SAP Analytics Cloud
  • Ariba
  • Success Factor
  • Fieldglass
  • Concur

Platform-as-a-service (PaaS)

Platform-as-a-service refers to cloud environments that allow the development, testing, deployment, and management of applications. Developers can build custom applications without having to manage the underline infrastructure, such as servers and networks.

However, customers should manage the applications built on the platform, including their data.

Some of the widely used PaaS offerings in the world are Google App Engine, Red Hat OpenShift, and GitHub.

clopud computing paas concept

SAP Integration Suite (SAP CPI) is an integration platform-as-a-service (iPaas) offered by SAP. In CPI, developers can build, test, monitor, and manage integration scenarios. Since the CPI platform is integration-specific, the product belongs to a subcategory of PaaS called iPaaS, which stands for integration platform-as-a-service.

Infrastructure-as-a-service (IaaS)

paas concept of cloud computing

When it comes to IaaS, cloud service providers offer computing resources such as network, storage, servers, and virtualization on a pay-as-you-go basis.

SAP Hana Enterprise Cloud (HEC) is SAP’s proprietary IaaS product. Amazon Web Services (AWS), Cisco Metapod, Microsoft Azure, Google Compute Engine (GCE) are some of the other IaaS solutions available worldwide.


SAP Cloud Product Strategy for Integrations

To address this paradigm shift from traditional computing to cloud computing, SAP has come up with a product strategy of its own that enables cloud integration. The product suite of SAP is divided into two tools based on the available services:

  1. API Business Hub
  2. SAP Integration Suite formally known as SAP Cloud Platform Integration Suite
SAP cloud computing product strategy overview diagram. iSaas and iPaas solutions with fully managed multi cloud offering.
Cloud computing product strategy of SAP

API Business Hub

When it comes to integrations, SAP API Business Hub functions as Integration Software-as-a-Service (iPass). API Business hub provides a vast set of pre-built products that can accelerate integration development and implementation. SAP API Business hub has pre-built integration solutions, standard APIs for SAP and non-SAP applications, event-based integrations, open-connectors, and workflows.

Currently, SAP provides over 2000+ pre-packed integration scenarios for different business processors across OTC, P2P, FICO, and other business processors. These out-of-the-box integration scenarios are ready-to-use, require minimum development effort, and cover a range of business process integrations.

Go to https://api.sap.com/ to access the integration SaaS packages and content provided by SAP.

Through SAP API Business Hub, enterprises can discover, explore, and test the products offered by SAP for integration.

SAP business hub home page, products, business process and categories. APIs, events, integrations and date intelligence
SAP business hub feature overview

Here are the main types of iSaaS products offered by SAP API Business Hub;

  • SAP and third-party APIs
  • Standard integration flows
  • Open connectors
  • Events
  • Workflow managment

We will discuss the features of these products in more detail in the proceeding chapters.


SAP Integration Suite

Integration suite is the Integration Platform-as-a-Service (iPaas) product from SAP. SAP Integration Suite products allow organizations to build, deploy, and monitor end-to-end integration scenarios across heterogeneous landscapes.

These are the main capabilities of SAP Integration Hub:

  • Cloud Integration
  • Open Connectors
  • API Management
  • Event Mesh
  • Integration Advisor
home screen of SAP integration suite showing capabilities, cloud integration, API management, trading partner management, open-connectors
SAP integration suite home

SAP Cloud Integration (CI)

Cloud integration feature of CPI
Cloud Integration

CI provides a platform to build, implement and monitor end-to-end integration scenarios. We talked about integrated landscapes being more and more heterogeneous, CPI allows you to build end-to-end integrations on the following domains:

  • Cloud-to-Cloud
  • On Premise-to-Cloud
  • On-Premise-to-On-Premise

Moreover, CPI covers not only A2A and B2B integration scenarios but B2G (business to government) integration scenarios as well.

We can divide the features of Cloud Integration as follows:

  1. Pre-built integration content
  2. Vast range of connectivity options
  3. Message processing
  4. API-based integrations
  5. Message monitoring and operation managment
  6. Data storage
  7. B2B integration

Pre-built Integration Packages (Out-of-the-box integrations)

SAP integration suite comes with more than 2000+ pre-built end-to-end integration scenarios. These pre-built packages can be reused in CPI with minimum configuration effort to activate integration solutions. EU VIES VAT validation is one such pre-built integration scenario SAP has provided out of the box.

Integration developers can import these pre-built artifacts, make necessary customizations, and deploy them.

Usually, you only have to import the integration artifacts and set up connectivity between the sender and the target systems to use these interfaces.

You can explore all the different standard integration artifacts provided by SAP in “integrations > Integration Flows” menu under API Business Hub.

For example, “Finance Tax Integration for Germany (UStVA)” is one such pre-built scenario provided with the standard integration flows. This integration package enables enterprises to transfer German tax-specific notifications to the authority (ELSTER).

Integration development perspective of CPI. Integration artifacts
Integration artifact in CPI

To use this B2G integration scenario, simply import the artifact, set up the connectivity to the SAP system, configure connectivity for ELSTER and complete the configuration SAP S4 HANA system.

I have written a complete guide on how to implement CPI pre-built integration artifacts in the linked article.

Pre-built Business-to-Government Scenarios

Here is an overview of the B2G integration flows provided by SAP at the moment.

B2G integration slows provided by CPI.
B2G integration scenarios provided by Integration Suite

Moreover, developers can create their own integrations from scratch. When it comes to the deployment of integration scenarios, developers can choose different runtime environments. You can choose to deploy the interfaces in the SAP Cloud Integration runtime environment (runs on
an SAP BTP tenant) or SAP Process Orchestration (on-premise) runtime environment. The latter is compatible with the release of SAP Process Orchestration 7.5 SP 0 and higher.

Connectivity Options

SAP Cloud Integration has a vast set of adapters that can connect external applications and systems. The following out-of-the-box adapters are available in CPI:

  • Amazon Webservices
  • AMQP
  • Ariba
  • AS2
  • ELASTER
  • FTP/SFTP
  • HTTP/HTTPS
  • JMS
  • KAFKA
  • Mail
  • OData
  • RFC
  • Process Direct
  • SOAP
  • Success Factor SOAP, REST and OData
  • WorkDay
  • Salesforce
  • ServiceNow

Message Processing

Message processing is one important role of middleware.

Here are some of the main message processing and message transformation capabilities of SAP CPI.

Message Mapping

Transforms the data structures of sender and receiver.

  • Graphical user interface supports XSD and EDMX formats
  • Custom script-based message mapping via Groovy script
  • XSLT mappings
XML Modifier

Allows to remove external DTDs and other XML declarations

XML modifier of CPI
Converter

Converts one message format to another.

The following standard converters are available in CPI:

  • XML to JSON
  • JSON to XML
  • XML to CSV
  • CSV to XML
  • XML to EDI
  • EDI to XML
Converters of CPI
Decorder

Decodes the incoming message to unlock the original message.

These are the standard decoders available,

Decoders of SAP CPI
Encoder

Encodes the original message. Here are the standard encoders provided by SAP with CPI.

Encoders of SAP CPI
Script

Transports messages using JavaScript or Groovy scripts.

Script options of CPI. Groovy script and Java script
Filter

Filters information based on XPATH expressions.

Filters of SAP CPI

API Management

As the name suggests, SAP CPI API management components allow organizations to discover, develop, test, and publish APIs. The main goal of API management is to serve as a self-service platform to access the data and services of companies.

API management capability of CPI
API Management
SAP CPI API types, REST, Odata, and SOAP
Service types of API

APIs can use either Odata, REST, or SOAP protocols.

Key Features of SAP API Management

  • Building APIs – The API portal offers capabilities to build, publish, analyze and test APIs.
  • Publishing APIs – You can bundle interrelated APIs as a product.
  • Consuming APIs
  • Monatizing APIs – Not only organization can build and pushlish their own APIs, they can also generate revenue by monatizing the consumption of their APIs. Organizations can build a rate plan to a product to generate revenue based on sumption of the APIs.
  • Analyzing APIs – The runtime data of an API can be analyzed to better understand the patterns on API consumption. It allows developers to analyze runtime perofmance of an API and key-performance-indicators (KPIs) graphically.
API management capabilities of CPI,  discover, develop, configure, monetize, analyze, test
API management capabilities of SAP CPI

Open Connectors

The open connector concept standardizes and centralizes the connectivity solutions for different third-party applications.

As of now, SAP has provided more than 160+ third-party application connectors out of the box. SAP keeps introducing new connectors, hence, this number keeps growing.

Open connectors
SAP integration suite open connectors home

The pre-built connectors range across such services as eCommerce, Messaging, CRM, helpdesk, and other application types. These connectors link SAP and non-SAP applications.

For example, Shopify, ADP, SalesCloud, Workday, and DocuSign are some of the non-SAP applications for which connectors are provided by CPI. Facebook, Twitter, Instagram are some of the social platforms covered by the open connectors concept.

You will be able to find the full list of non-SAP application connectors provided by CPI here.

Additionally, there are connectors of SAP applications such as SAP Success Factor, SAP Concur, and SAP Ariba.

Full Catalog of Open Connectors Provided by CPI

open connector configuration sap cpi

Developers can easily create an instance of a connector they would like to use and provide authentication to establish connectivity.


Event Mesh

Event Mesh aims to eliminate peer-to-peer message communication between systems and applications with the use of a central message broker and event-driven architecture. Applications and systems can interact with each other through events. Event Mesh enables the exchange of messages reliably with multiple receivers. The major advantage of the Event Mesh architecture is scalability. New message receivers can subscribe to messages and consume them securely and reliably.

Simply put, the concept of Event Mesh looks like this. First, the message sender application publishes messages generated from different business process events in a central message broker under different message queues. For example, an event can be a sales order created, a material master record changed, a delivery updated, etc. Message receivers that have subscribed to these events (messages queues) will notice them, then the receiver can consume these messages at their own convenience. Since the messages are posted and consumed asynchronously, sender or receiver systems do not need to wait for responses from each other to exchange messages.

On a more technical note, Event Mesh can use the following technologies as message transfer protocols:

  • Advanced Messaging Queuing Protocol (AMQP) allows message orientation, queuing, routing, reliability and security.
  • Message Queuing Telemetry Transport (MQTT) is recommend for applications not running on cloud.
  • HTTP 1.1 REST makes use of REST APIs to post and consume messages via queues and topics.

Go to SAP API Hub and then to the event subsection to explore the different events provided by SAP.

event overview in SAP API business hub
Events in SAP API business hub

Let’s explore one such event in detail. Here we have the events of “Purchase Price Condition”. The different business events related to the Purchase Price Conditions are,

  • Validity Period Changed
  • Changed
  • Amount Changed
  • Ratio Changed
  • Created
  • Deleted
business event with different events listed down. Changed, created, deleted, etc. POST event of the event.
Sample cloud business event

You can use the POST method of the event to push the event information to topics and queues for receivers (subscribers) to consume.

Here we have the POST method that will be raised when a new purchase price condition is created in SAP.

Event reference

Environments for CPI

Different environments are available for you to access services of SAP CPI.

They are,

  1. NEO environment
  2. Cloud Foundry environment (CF)

Going forward, we will not be able to use the NEO environment, and the CF environment should be used for future use cases. However, the NEO environment will be available for legacy purposes and the integration artifacts created on the NEO environment are compatible with the CF environment.

There are certain limitations to the CF environment as well, those limitations can be found in SAP note 2752867.

CF is publicly available, it makes use of open-source languages such as Node JS, Jaxx, etc. But you can choose to run any open-source language available, hence the CF environment is language independent.

SAP has implemented CF on SAP BTP for easy access to services.

Buildpacks and Services of CF

A container that runs an application is known as a buildpack. CF offers multiple standard buildpacks. Additionally, you can use GitHub buildpacks for CF.

CF service is a set of programs offered for different runtime environments. As an example, services such as databases, message logging, and other common services are included here.

Developers can deploy new services under the “service marketplace” of the SAP BTP cockpit.

home page of SAP BTP cockpit with services, subscriptions, cloud foundry, connectivity, security
SAP BTP cockpit

Cost of CPI and Integration Suite

As we discussed earlier, the Platform-as-a-Service model of CPI allows enterprises to pay based on the use.

There are three main pricing models for CPI:

  1. Pay-As-You-Go for SAP BTP pricing
  2. Cloud Platform Enterprise Agreement (CPEA)
  3. Subscription-based-pricing

You can calculate the cost of different usage options in CPI price calculator.

If you are still evaluating middleware options and want to have a more detailed look at the options of Integration Suite and CPI, you can create a trial license. The Trial license is free to use for 30 days.


Migrating from SAP PI/PO to CPI

With the introduction of CPI, enterprises with existing SAP PI/PO installations have to re-evaluate the future architecture of their integrated landscape.

Here are some of the key points to consider when it comes to future use cases of PI/PO and CPI.

Should they continue to use PI/PO for new cloud integrations or should they use CPI instead? If they are using both PI/PO and CPI, what are the use cases of both? How to model future cloud-based integration and on-premise integration scenarios? What is the cost of migrating PI/PO integration scenarios to CPI? The cost of CPI license?

Advantages of Migrating to CPI

  • Support ending for SAP PI/PO
  • Cloud integration capabilities of CPI
  • Message-volume-based licensing model
  • Trouble-free maintenance

Challenges when migrating to CPI

  • Lack of SAP CPI experts
  • Limited on-premise integration features on CPI
  • Complexity of migrating exisiting integration flows from PI/PO to CPI
  • Region restrictions when it comes to exchanging data across Internet

Together with the INT4 team, we have written a comprehensive guide on what to consider when migrating to CPI, as well as a detailed description of the advantages and disadvantages. Moreover, you will find the lessons learned from our system migration projects in the same article.


To conclude, we looked at the concept of cloud computing concepts: SaaS, PaaS, and IaaS. Then we looked into SAP product strategy that addresses the integration needs of heterogeneous landscapes. Next, we took a deep dive into SAP API business hub and SAP Integration Suite. Additionally, we went through the functionalities of CPI, such as cloud integration, API management, open-connectors, and Event Mesh.

We also found out the use cases and features of NEO and CF environments.

Finally, we talked about the license model of CPI and migrating to CPI from SAP PI/PO.

If you enjoyed the article, please leave a comment below on the topics we discussed.

TECH GADGETS I USE EVERY DAY

These are some of the tech gadgets I use every day. If you make a purchase through these links I will earn a small comission at absolutely no extra cost to you.

One thought on “Introduction to SAP CPI and Integration Suite

  1. Raghav says:

    Hello Fernando,
    Great content on the website! Easy to read and follow! I have a couple questions specific to SAP PI/PO and CPI migration. Hope you can help or point me in the right direction. We are a predominantly a B2B corporation and have Sterling Integrator (SI) as an EDI platform. We initiated a PO implementation and started moving away from SI. I am leading the team now and have concerns on SAPs roadmap of retiring PO and pushing CPI/BTP. Reading about the B2B integrator, and from your article, CPI is not as matured for EDI/B2B connector. I don’t know how to justify this migration and turn around and push another CPI migration and no insights into if B2B integrator will be matured enough?

Leave a Reply

Your email address will not be published.