Symptom
- Creation Live Connection to SAP BW with SAML SSO fails with error :
You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML Single Sign On configuration.
- SAML trace shows the error : HTTP/1.1 404 Not found (https://<Your_ABAP_System>:<Port>/favicon.ico )
- Ina package is enabled and test is successful. Open the following URL in your browser: https://<Your_ABAP_System>/sap/bw/ina/GetServerInfo?sap-client=<Your_Client_ID>. Make sure you are redirected to your IdP login page, and after login you get a JSON response. Replace <Your_ABAP_System> with your ABAP system host, and <Your_Client_ID> with your SAP BW client ID.
- In some cases, the auth popup is shown, but must be closed manually
Environment
- SAP Analytics Cloud 2018
Reproducing the Issue
- Create Live Connection to BW system with User and Password , and it succeeds
- Create Live Connection to BW system with SAML SSO following the Product Guide. Once click OK button, and it fails with the error:
You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML single sign-on configuration.
Cause
There is a misspelling (typo) in the code of IF_HTTP_EXTENSION~HANDLE_REQUEST method in the SAP NetWeaver server.
Resolution
Be sure to add the following code in IF_HTTP_EXTENSION~HANDLE_REQUEST at SAP NetWeaver Server.
method IF_HTTP_EXTENSION~HANDLE_REQUEST. DATA: html_content TYPE string. html_content = '<html><script type="text/javascript">window.close();</script></html>'. server->response->set_header_field( name = 'Cache-Control' value = 'no-cache,no-store'). server->response->set_cdata( data = html_content ). endmethod.
Please refer to the Live Data Connection to SAP BW Using a Direct Connection and SSO online help for more details.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, BW, direct , Single Sign-On , KBA , saml sso not working for live data conne , connect , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem