Symptom
- Import data/connection attempts fail with: "Unexpected error occurred, please contact system admin for help."
- After editing the connection, the job fails with: "Unable to connect to datasource. Check the connection details and user credentials, and then try again."
- Gateway trace shows no entries for the user used by the S/4HANA connection.
- The issue began after configuring SSO for the S/4HANA endpoint.
- In ljs_trace.log, you can see S/4HANA was responding back to SAC metadata request with 302 Moved temporarily.
Environment
- SAP Analytics Cloud
- SAP S/4HANA (on-premise)
Reproducing the Issue
- Log in to the SAP Analytics Cloud tenant.
- Open the affected S/4HANA import connection.
- Fill in the necessary settings and save the connection.
- Observe the errors "Unexpected error occurred, please contact system admin for help."
Cause
SSO was enabled for the S/4HANA OData endpoint while the SAC import data connection remained configured for Basic Authentication.
Resolution
Edit the S/4HANA connection in SAC and add saml2=disabled in the Connection URL.
See Also
Keywords
SAP Analytics Cloud, SAC, S/4HANA, OData, import data connection, data acquisition failure, unexpected error occurred, unable to connect to datasource, SSO, SAML, Basic Authentication, SICF, HTTP 302, redirect, Gateway trace , KBA , LOD-ANA-AQU-ODATA , Acquiring Data into SAC using an ODATA connection , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public