SAP Knowledge Base Article - Public

2739706 - Error message "The user does not have permission to access the requested resource." appears when creating Import Data Connection to OData Services from SAP S/4HANA in SAP Analytics Cloud (SAC)

Symptom

Error message "The user does not have permission to access the requested resource." appears when creating Import Data Connection to OData Services from SAP S/4HANA in SAP Analytics Cloud (SAC)

Environment

  • SAP Analytics Cloud 2019.02

Reproducing the Issue

  1. Log on to SAC tenant.
  2. Try to create one Import Data Connection using OData Services to ON-Premise S/4HANA system.
    => Please ensure that all prerequisites have been completed.
  3. Choose Connect to an On-Premise OData service option.
  4. Enter Data Service URL as "https://<S/4HANA SERVER:PORT>".
  5. Provide the authentication details based on the Authentication Type you selected.
  6. Click OK button.
    => Error message "The user does not have permission to access the requested resource." appears.
    => You can also find the following error message from Network trace in Chrome Developer Tools.
    "Forbidden Access denied to resource /$metadata on system <S/4HANA SERVER:PORT>. In case this was a valid request, ensure to expose the resource correctly in your cloud connector."

Cause

  • With Import Data Connection to OData Services, it is required to create individual connections to all of the individual services exposed for CDS view in SAP S/4HANA.

Resolution

  • You can create Import Data Connection to SAP S/4HANA which needs to enter URL as "https://<S/4HANA SERVER:PORT>" only.
  • This allows you to connect to services in the discovery service without having to create connections to all of the individual services

See Also

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, import, S/4HANA, S4HANA, S4, OData, services, URL , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , Problem

Product

SAP Analytics Cloud 1.0