1. SAP Commerce Cloud is integrated with the Kyma runtime on SAP BTP using the Application Connector.
2. A fraud detection service is created as a serverless function within Kyma that is triggered by order events from Commerce Cloud.
3. The function validates customer email addresses and order data against third-party services and SAP systems to check for fraud risks and notifies a customer support agent if any are found.
This allows extensions like fraud detection to be developed independently of the Commerce Cloud core, avoiding restarts when redeployed, and provides a fully cloud-native approach using containers, microservices, and serverless
3. 3
Questioner
Question! Any hands on experience with SAP Commerce
Answer!Multi selectable
Selection!
• No opportunity
• Planed for this year
• Working on Project
• Experienced
4. 4
Questioner
Question! Any hands on experience Microservice Architecture or Container technologies
Answer!Multi selectable
Selection!
• No opportunity
• Planed for this year
• Working on Project
• Experienced
6. 6
Kyma runtime
Infrastructure
§ Microsoft Azure
Central Management Plane
§ Secured App Connectivity
§ Central Apps APIs & Events
Registry
§ Standardized Service Mgmt &
Consumption
Administration UI
§ SAP BTP cockpit
Runtime
§ Kyma runtime
Secured & Managed
Connectivity
SAP Commerce Cloud
SAP S/4HANA Cloud
SAP Sales Cloud
(SAP Cloud for Customer)
Event & API Mocks:
SAP Commerce Cloud
SAP Cloud for Customer
SAP Marketing Cloud
SAP Service Cloud
(SAP Cloud for Customer &
SAP Field Service Management)
S/4
SAP Marketing Cloud
8. 8
Cloud Native Computing Foundation
SAP Cloud Platform SKR
Kubernetes
Kyma
Istio
Docker
Knative
Kyma Technologies
9. 9
Kyma; The full stack
Application
Connectivity
Service
Consumption
Eventing
Kubernetes
Application
Proxy
(optional)
Service Mesh
Micro-
Services
API Exposure
Functions
Observability
M
e
t
r
i
c
s
L
o
g
g
i
n
g
λ
λ μ
μ
Service Catalog
API secured via OAuth/JWT
Mesh
Expansion
Business
Services
Brokered Services:
Eco System:
IAS
XSUAA
Helm Hub
Operator Hub
μ
λ
AuthN/AuthZ
Federation
/
Integration
Console /
Dashboard
Browser CLI
Kubeconfig
SAP Commerce Cloud
SAP S/4HANA Cloud
SAP Sales Cloud
(SAP Cloud for Customer)
SAP Service Cloud
(SAP Cloud for Customer &
SAP Field Service Management)
S/4
SAP Marketing Cloud
SAP SuccessFactors
10. 10
1. Runtime
2. Tech stack
3. Key components
4. Components
SAP Commerce and BTP /Kyma
11. 11
Application Connector: In-house built Kyma component that allows you to connect with external
solutions
Built-in Service Mesh: Service-to-service communication and proxying
Built-in Serverless engine: Build lightweight serverless functions
Eventing: React to applications’ business events
API Gateway: Expose securely APIs of built apps
Service Catalog: Easy instantiation and consumption of services made available to the runtime
Secure SAP application connectivity
Fully built on open source
What’s inside a Kyma runtime
12. 12
API-based
§ Publish APIs to call extensions
§ Used for synchonous cases and UI-extensions
Event-based
§ Trigger extensions by business event
§ Used for asynchronous processes
Build applications and extensions the way you need them
Microservices
§ Deploy containerized extensions
§ Use any programming language
Serverless function
§ Make use of built-in serverless engine
§ Build pure function-based extensions
Trigger
Type
13. 13
1. Kyma Runtime
2. Kyma Tech stack
3. Kyma key components
4. Demo
SAP Commerce and BTP /Kyma
14. 14
Approach without XF
• Code needs to be deployed within the SAP Commerce
Cloud core
• This requires a restart of SAP Commerce Cloud every time
a new deployment takes place (which typically takes a
long waiting time)
Approach with XF
• Use the Events fired during the standard Order Management
Process to create the extension “Fraud Detection service”
within Extension Factory
• No code needs to be injected to the SAP Commerce Cloud
Core, no restart is required
How
• A Fraud Detection Service is embedded within the Order
Management Process of SAP Commerce Cloud
• SAP Commerce Cloud is checked for previous orders from this
customer
• The customer’s email address and other metadata is validated
against various 3rd party services*
• SAP Marketing Cloud (and other systems) are checked for any
records of the customer*
• Notify a Customer Service Agent on Slack
• * Not in scope for Demo
Benefits
• Reduce risk due to fraudulent orders
• Fraud detection algorithms must change frequently to adapt to
customer behaviours. Do this quickly with increased agility,
since frequent changes & upgrades can be handled outside of
the SAP Commerce Cloud core
Order Validation | Details
Goal: Reduce risk by performing fraud checks on orders, comparing to existing customer data, and flagging
any threats to Customer Service.
15. 15
Graphical
User Interface
Command
Line Interface
Cockpit UI
API
Gateway
Service Catalog
Business
Logic
(Lambda
Function)
λ
SAP Commerce Cloud
Event Bus
Email
Validation
Service
Fraud Check Event
Order Business Process
SAP Cloud Platform Extension Factory
1.
2.
4. Validate
Em
ail Address
5. Check for Customer in
other system(s)
Return result to Business
Process
6.
3. Retrieve Data
7. Notify a Customer
Service Agent on Slack
Slack
Slack APIs
SAP
Marketing
Cloud
Order Validation | Design
16. 16
Let's challenge next steps
q Install Commerce and Kyma
• Connect Commerce and Kyma with one click connectivity
q Triger Kyma Functions / MicroServices APIs from Commerce
• Simple Serverless function like HelloWorld
• Connect with Commerce User Registration Event
• Trigger Kyma function for new user registration