APIs for Data Replication
Next to file uploads and integrations with other SAP systems, SAP Sustainability Control Tower offers APIs as another way to replicate data from your source systems into SAP Sustainability Control Tower, or to replicate data from SAP Sustainability Control Tower to your systems. All APIs are available from the SAP Business Accelerator Hub here: SAP Business Accelerator Hub
.
To use these APIs, you must first subscribe to the API service as described in the setup guide: Subscribing to the Application and Services - subsection 'API Service'.
|
API |
Data Flow |
API Protocol |
Description |
|---|---|---|---|
|
Inbound |
OData |
Imports your master data into the solution (reporting structures, dimensions, including custom dimensions). |
|
|
Inbound |
OData |
Imports actuals for all DPIs into the solution. |
|
|
Inbound |
OData |
Imports basic custom metric data into the solution. |
|
|
Inbound |
OData |
Imports qualitative ESG data into the solution to track sustainability disclosures. |
|
|
Outbound |
OData |
Retrieves measure values from the solution to track quantitative data. |
|
|
Outbound |
OData |
Retrieves metric values from the solution to track sustainability performance. |
Setting up the Destination
-
Go to the SAP BTP cockpit and navigate to your subaccount that is subscribed to SAP Sustainability Control Tower.
-
Navigate to Connectivity + Destinations .
-
Add a new destination with the following values:
Destination Configuration Field
Value
Name
SCT_ODATA
Type
HTTP
Description
A meaningful description of your choice.
URL
Obtain the URL from the apiHost under the section endpoints in the API service key. Remove /api at the end of the URL.
Proxy Type
Internet
Authentication
OAuth2ClientCredentials
Client ID
The OAuth Client ID from your API service instance.
Client Secret
The OAuth Client Secret from your API service instance.
Token Service URL Type
Dedicated
Token Service URL
The pre-configured token URL in your API service instance. You can obtain it from the URL field of the section uaa in the service key. Example:
https://<mytenant>.authentication.eu20.hana.ondemand.com/oauth/token
-
In Additional Properties, select Use default JDK truststore.
-
You can now check the connection.
For more information, see Using the Destinations Editor in the Cockpit.