Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
With other words:

How to write serverless Functions
SAP Cloud Platform Serverless Runtime
Overview of tutorials


In the serverless world, Function-as-a-Service allows to write small pieces of code that do something
Just like any other function,
But serverless.
That means:
The function is sleeping in a fluffy cloudy container and only when it is needed, it wakes up and does something
And the good news:
A sleeping function doesn’t cause cost
And there are other advantages
And there are other blogs describing those advantages better (see below)

This series of tutorials helps you to get familiar with the Functions part of SAP Cloud Platform Serverless Runtime

You can go through it step by step – or you can do it the serverless way:
Follow a tutorial, then go back to sleep…


0.1 Preparation
1 First Function: Extension Center
2 First Function: Local Development
3 Real Local Development
4 Debugging
5 Secrets and Config Maps
6 How to use values.yaml
7 How to use Cloud Platform Services e.g. consuming Destination Service
8 Use Platform Services much better via Credentials Store e.g. Enterprise Messaging
9 How to call endpoint protected with OAuth and scope, from function
10 How to call endpoint protected with OAuth and scope, in different Subaccount
11 HTTP API How to access and how to use it
12 Security: How to protect functions with OAuth
13 Security: How to protect functions with OAuth and scope. How to call it

Some patience needed...:
14 Scenario with protected function, protected target and token exchange

Official documentation:
Topic Page in the community
Serverless Runtime Official docu
Make sure to check out the Limitations
Cloud Foundry CLI: docu page
Serverless Runtime CLI: download page

Announcement blog
Intro blog by pradeep.panda
Intro blog by murali.shanmugham
Writing Functions using SAP Business Application Studio (BAS)
Great blog series by sharadha.k covering a nice serverless scenario

Clarification blog about Serverless Runtime naming

Garage Session