Symptom
It is requested to create a new Odata Service Connection in SAP Analytics Cloud connecting to SAP Datasphere.
Environment
- SAP Analytics Cloud (SAC)
- SAP Datasphere
Reproducing the Issue
NA
Cause
NA
Resolution
- Log on to SAC tenant and navigate to Connections > Create a new Odata Service Connection.
- Authentication Type set to Oauth 2.0 Authorization Code, then note down the Redirect URL for this connection.
- Keep the dialog open and open a new browser tab to logon to SAP Datasphere system, navigate to System > Administration > App Integration
- Note down Authorization URL and Token URL under Oauth Clients in this page.
- Click to add an Oauth Client
- Give it a name and Purpose set to Interactive Usage, for Redirect URL input the information copied in step 2
- Click Add and Copy the Secret (The secret Key for this Oauth client can only be copied during creation.)
- Note down the Client ID for this new-created Oauth Client in SAP Datasphere.
- Navigate back to SAC and open the previous page for creating Odata Service Connection.
- Give it a connection name.
- Data Service URL should be in following format:
https://<TenantURL>.cloud.sap/api/v1/dwc/consumption/relational/<SpaceID>/<View> - Oauth Client ID please use the ID copied in step8.
- Secret is the Secret key copied in step7.
- Input Token URL and Authorization URL copied in step4.
- Click Create.
See Also
- SAC Guide on how to create Odata Service Connection:
Import Data Connection to OData Services | SAP Help Portal - SAP Datasphere Guide:
Create OAuth2.0 Clients to Authenticate Against SAP Datasphere | SAP Help Portal
Keywords
Best practice, guide, document, DWC, imported, import, acquired , KBA , LOD-ANA-AQU-ODATA , Acquiring Data into SAC using an ODATA connection , Problem
Product
SAP Analytics Cloud 1.0