Access the reference documentation
The reference documentation of SAP Cloud SDK can be accessed via the following steps:
- Open: https://sap.github.io/cloud-sdk
- Choose Get started with the SDK for JavaScript.
The Core Libraries
The SDK consists of a few core libraries and a number of API-specific pregenerated libraries.
Pregenerated Libraries
While you can generate your own libraries, the SAP Cloud SDK for JavaScript provides pregenerated client libraries for the SAP S/4HANA Cloud and On-Premise APIs as well as the SAP Workflow service. These libraries are published under the SAP Developer license agreement and are free to use.
Pregenerated Libraries are API specific. The reference to their documentation can be found in the SAP API Business Hub. For example try the following steps:
- Open: https://api.sap.com
- Search: Business Partner A2X
- Click on the first API
- Choose the SAP Cloud SDK tab.
- Choose the JavaScript tab.
- Choose the link of the NPM Repository.
Using the libraries to consume the SAP APIs
Information about the way to use the libraries to interact with the SAP APIs is described in the following pages of the standard documentation: