SAP BTP Extensions Integration

SAP BTP Extensions integration allows you to customize and enhance SAP Commerce Cloud features. You can enhance or add business features outside of the traditional code-build-deploy production cycle.

The SAP BTP Extensions integration allows you to implement your own customizations. The module exports configured functional events to SAP BTP, Kyma runtime and notifies users when they occur.

The module also provides Kyma runtime with a list of available webservices, endpoints, and machine-readable API documentation. The documentation is delivered in a swagger format. Developers can then implement microservices or lambdas to react when specific events occur and responses are sent using SAP Commerce Cloud.

The following modules support the integration:

  • API Registry Module: Defines the way to expose events and APIs to an external target system and brings out a ready-to-use set of events and API configurations.

    For more information about the API Registry module, see API Registry Module documentation.

  • SAP BTP Extensions Integration Module: Contains components that specifically allow your systems to communicate with Kyma runtime.

    For more information about the SAP BTP Extensions Integration module, see SAP BTP Extensions Integration Module Architecture documentation.

Integration Overview

The following image explains the integration between SAP Commerce Cloud and SAP BTP, Kyma runtime.

Process: Integration Between SAP Commerce Cloud and SAP BTP, Kyma runtime
Step Description Comment
1 One-Click Integration The one-click integration allows you to connect the commerce platform to SAP Business Technology Platform extensibility. This step also provides your platform with a certificate for Kyma runtime.

You only perform this step once. After performing this step, you can begin using Kyma runtime.

2 Register Events and Service Endpoints

SAP delivers SAP Commerce Cloud with predefined events that you can select to trigger your functions and microservices. You can also register your own events and create custom triggers for your functions and microservices.

In addition, you have to registers the endpoints of the web services that the platform consumes and exposes to allow you to call these web services in your functions and microservices.

You can set up events and endpoints initially when you perform the integration but you can also add new events and endpoints at any point when operating . After performing this step, you can select when functions and microservices run and call web services in your code.

SAP delivers a set of preconfigured events that you can use. For more information, see Delivered Events.

3 Perform Customizations

You write custom business logic that triggers when a certain event happens. For example, if you have provisioned Kyma runtime in SAP Business Technology Platform, you can bind functions to events.

You bind a function to events by selecting the event when you write it.

4 Export Events

When the events that you configured happen, any functions or microservices that are bound to those events run in Kyma runtime.

5 Call Service Endpoints The web services called by the functions in SAP Commerce Cloud.