SAP Knowledge Base Article - Public

3323927 - Unable to fetch Metadata in OData Service of Analytics Designer


You have a hosted ABAP Odata Service in BW, which is accessible and responding as expected. 
In Odata Service of  Application Designer ,you try to fetch metadata to access the entityset but it doesn't respond.


SAP Analytics Cloud 1.0

Reproducing the Issue

Create a new Application designer and add service to it

  1. Log into SAC URL  and create a new Application Designer.
  2. Add ODataservice.
  3. Select the BW system.
  4. Pass URL and click on "Refresh" button to access metadata.
  5. F12 Console throws error as "401" error.
  6. The service call doesn't happen and no metadata is refreshed.


For Odata service to work correctly with AD, CORS connection needs to be configured correctly. Otherwise, it would not work.


The configuration is explained in the online help. To check the following parts : 

Use an OData Service in Analytic Applications
Live Data Connections to SAP S/4HANA
Live Data Connection to SAP S/4HANA On-Premise Using a Direct CORS Connection via Unified Connectivity

The following blog is also recommended :


KBA , LOD-ANA-AD , Analytics Designer , Problem


SAP Analytics Cloud all versions