cancel
Showing results for 
Search instead for 
Did you mean: 

Public Cloud - CDS - SAC - Authorization Issue

aalexis
Participant
0 Kudos
173

Hi All,

I want to extract data both in Live and Data Acquisition mode for my SAC Report. It is a public Cloud edition and the extraction I need have specific needs so I chose eclipse to build the CDS (CDS Name is ZTEST). Data preview is good. So

STEPS I FOLLOWED:

1. Create a CDS View ZTEST ( it calls I_GLAccountLineItem) it has certain authorization objects (Not sure whther these authorization automatically extends to the calling CDS ZTEST) 

2.  I created a Service Definition to my newly created CDS View (ZTEST_SERVICE).

3. I created two different Service Bindings. One with InA - UI and OData V2 - Web API (2 Bindings)

4. OData V2 - Web API created a Service URL (/sap/opu/odata/ZTEST) and an Entity Set and Association as ZTEST.

- OData Service URL with full path extracts data in the browser (I think this as a minimum guarentee to bring data to SAC) 

- When I try to create a Data Acquisition model it showed the query, let me Build Odata Service Query and when I try to create the query , I got an error 

The user does not have permission to access the requested resource.
Correlation ID: 30444370-1995-4409-9954-495703651595
(May be this is very specific to the user not having access to the underlying CDS Access? Not sure)
5. InA - UI created a familiar External Service name with 2CZTEST

   Live Data Model attepmpt - External Service name 2CZTEST shows up and upon selection it flashes the key figure value (model is still building) and throws an error:   

Server Error: Error [Server]: You do not have start authorization for R3TR INA1 ZTEST_DDL2_INA_BINDING, return code 4.
Correlation ID: 40361062-2532-4327-9467-617666356051
 
Appreciate all the help I can get.
 
Thank you,
Arthur.
 

 

View Entire Topic
AndreasMuno
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for your request, @aalexis.

Perhaps this community documentation on SAC might help you? Administration | SAP Analytics Cloud | SAP Community, in particular the chapters on user management and authorization across systems.   

There are also several tutorials available to get started with SAP Analytics Cloud like this one

If this helped, please mark the response accordingly. Thank you.  

aalexis
Participant
0 Kudos
Thank you AndreasMuno. I found and fixed the issues with my development. Want to share the same to the community and will do soon.