Skip to Content
Oct 19, 2022 at 01:50 PM

S/4HANA Cloud: oAuth2 API call

226 Views Last edit Oct 26, 2022 at 01:56 PM 2 rev


Some of the APIs published on, require oAuth2 authentication. I am trying to understand how that can be enabled for S/4HANA Cloud. Most of the documentation that SAP has published, relates to extending a standard API on BTP and how that extension can call API using oAuth2 (

Suppose, the standard API is to be called without using a BTP extension, how does oAuth2 work? How to setup communication arrangement, user & secret to enable oAuth2 API directly to S/4HANA Cloud, from any external system?

Since IAS is responsible for authenticating the users, is IAS setup required to enable oAuth2 API calls (

In ECC or OnPremise S/4HANA systems, there is a transaction code SOAUTH2 to setup Client ID for oAuth2 calls. What is the equivalent process for S/4HANA Cloud (not involving BTP extensions development)?