SAP Knowledge Base Article - Public

3215228 - Error "Unable to connect to datasource. Click the connection details and user credentials, and then try again" while connecting to S/4HANA import connection by ODATA service

Symptom

  • Error "Unable to connect to datasource. Click the connection details and user credentials, and then try again" while connecting to S/4HANA import connection by ODATA service

Environment

  • SAP Analytics Cloud 1.0

Reproducing the Issue

  1. Logon to SAC tenant.
  2. Connections -> + > Select a data source -> Acquire Data -> SAP S/4HANA.
  3. In New SAP S/4HANA Connection dialog, fill the information. In Authentication type, select Basic Authentication.
  4. Click Create, observe the error.

Cause

SAML SSO authentication is enabled in S/4HANA, while in SAC, acquired database connection can only accept basis authentication without SAML SSO.

Resolution

Add "&saml2=disable" behind the Data Service URL.

URL example: http(s)://<S/4HANA host>:<port>/?sap-client=xxx&saml2=disabled 

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

AUTHENTICATION_ERROR, S/4HANA on prem, S/4HANA OP, import data source , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud all versions