As enterprises accelerate their cloud-native journeys, Kyma Runtime emerges as a powerful Kubernetes-based runtime on the SAP Business Technology Platform (BTP). It allows developers to build, deploy, and manage modern, event-driven, and extensible applications seamlessly. When combined with SAP Business Application Studio (BAS)—SAP's cloud-based integrated development environment—Kyma Runtime empowers developers to craft scalable, resilient applications with minimal infrastructure overhead.
This article explores how to develop applications using Kyma Runtime within SAP Business Application Studio, highlighting best practices, key concepts, and practical workflows.
Kyma Runtime is an open-source, Kubernetes-native runtime environment integrated into SAP BTP that simplifies developing, extending, and connecting applications and microservices. It combines:
Kyma Runtime supports multiple programming languages and frameworks, making it a versatile platform for cloud-native development.
SAP Business Application Studio offers a cloud-based IDE tailored for SAP development, including native support for Kubernetes and Kyma runtimes. Together, they provide:
In BAS, generate a new project using the Kyma Application template or start from scratch.
Example:
mkdir kyma-app && cd kyma-app
Create a simple serverless function:
mkdir functions/hello
cd functions/hello
Create handler.js:
module.exports = {
main: async function (event, context) {
return { message: `Hello from Kyma! Event: ${JSON.stringify(event)}` };
}
};
Define function.yaml to describe the function metadata.
Use BAS terminal and tools like kubectl and kyma CLI plugins to deploy and test your functions and microservices on Kyma Runtime.
Package your app using Helm or raw Kubernetes manifests. Deploy via BAS terminal:
kubectl apply -f function.yaml
Or use Helm charts:
helm install kyma-app ./charts/kyma-app
You can build event-driven extensions that react to business events from SAP S/4HANA:
Developing applications with Kyma Runtime in SAP Business Application Studio empowers SAP developers to build cloud-native, scalable, and event-driven applications with ease. By leveraging Kubernetes orchestration, serverless functions, and event mesh integration, Kyma on SAP BTP forms a powerful foundation for the intelligent enterprise’s next-generation applications.
Whether building extensions for core SAP systems or creating independent microservices, Kyma Runtime coupled with BAS accelerates innovation and operational excellence in the SAP landscape.