Skip to Content

I’m happy to announce the beta of the SAP S/4HANA Cloud SDK for JavaScript, starting today! Thanks to an awesome team, we made it in time for SAP TechEd Las Vegas.

The SAP S/4HANA Cloud SDK makes it easy to develop extensions to SAP S/4HANA as applications on SAP Cloud Platform. Until today, we supported developers in Java and related programming languages to integrate SAP S/4HANA into their Cloud-native applications. With the SAP S/4HANA Cloud SDK for JavaScript (beta), we want to give you the same benefits also for your Node.js applications written in TypeScript or JavaScript.
Node.js as a platform for building Web server applications is perfect for quickly building high-performing applications in JavaScript or TypeScript. Both programming languages are very powerful and dynamic languages with a huge ecosystem. You can easily run Node.js applications in the Cloud Foundry environment of SAP Cloud Platform-

Read on below for details on the features of the beta, and to learn how to get acess to the beta. If you are eager to see the SDK for JavaScript in action, jump over to our tutorial which walks you through all steps necessary to develop and deploy your first Node.js extension of SAP S/4HANA Cloud, using the SAP S/4HANA Cloud SDK for JavaScript.

What’s in it for JavaScript developers?

You want to focus on your business logic? You do not want to write boilerplate code again and again? You want that someone takes care of the low-level infrastructure tasks of connecting to your downstream systems such as SAP S/4HANA? You are developing in TypeScript or JavaScript, or you are eager to start doing so? Then the SAP S/4HANA Cloud SDK for JavaScript is for you!

Here’s a short sneak peek. Interacting with SAP S/4HANA to retrieve business partners, or any other business object, is as easy as this:


BusinessPartner.requestBuilder()
.getAll()
.select(BusinessPartner.LAST_NAME)
.filter(BusinessPartner.FIRST_NAME.equals("John"))
.execute()
.then((businessPartners: BusinessPartner[]) => {
    // process result
});

The above has been written in TypeScript, the pure JavaScript-variant is almost the same.

You may know the benefits of the Java virtual data model (VDM) provided by the SAP S/4HANA Cloud SDK. Now, the same benefits are also available in JavaScript. To let you focus on your business logic, the SDK handles lower level tasks such as configuration and authentication. You can see right in your development environment what operations are available, because the SDK offers an easily accessible and discoverable representation of the public API of SAP S/4HANA Cloud. You can interact with any OData service using a fluent JavaScript API. You do not need to know the intricacies of the protocol; the SDK will take care of constructing the OData request and parsing the response. If you are using TypeScript, you also gain type-safety, which makes coding mistakes easier to spot at compile time.

How to join the beta

We hope the above raised your interest in the SAP S/4HANA Cloud SDK for JavaScript. As mentioned, we have launched a beta to gather your feedback. The beta is not meant for productive use. The feature set of the SDK for JavaScript is not yet complete, and the API will change.
Prerequisites: As a beta, access to the SAP S/4HANA Cloud SDK for JavaScript is exclusively reserved for SAP partners and customers. If your company is an SAP partner or customer, you need to sign a Test and Evaluation Agreement (TEA). You need an S-User ID to access the page for signing the TEA.

In detail, follow these steps to get access to the beta:

  1. Use the following link to write us a mail asking for access: s4sdk@sap.com. Please provide a few details on your company and your use case for the SDK for JavaScript.
  2. Visit this link to the online TEA, fill in the fields, read and accept the online Test and Evaluation Agreement (TEA)1. This will trigger a workflow in SAP’s Software Delivery Department.
  3. Once this is complete, we will send you a mail with details on how to access the SAP S/4HANA Cloud SDK for JavaScript (beta). Once you have received that mail, you are ready to start with the tutorial.
  4. The main purpose of this beta is gathering your valuable feedback. Please send us your feedback via mail.

The beta period ends 90 days after signing the TEA.

We hope you are as excited about the SAP S/4HANA Cloud SDK for JavaScript (beta) as we are. Please leave your thoughts and comments in the comment section of this blog post.

If you are at SAP TechEd Las Vegas, feel free to drop by and meet us to exchange about your plans with JavaScript – or anything else related to the SDK.


1 – Please note that the TEA is a standard agreement which has been created and approved by the SAP SE Legal Department, therefore the TEA content is not negotiable. SAP reserves the right to limit access to the beta. Thank you for your understanding.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply