Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Consumption ABAP CDS in RSRT / AfO with 7.40 SP19

D039507
Product and Topic Expert
Product and Topic Expert
0 Kudos
508

Hi all,

i have a problem with a CDS Consumption view. I have buit a simple cube view and a consumption view on top. In Hana Studio the data preview is working fine, in RSRT I get the error "Service cannot be used".

This is the definition of the cube view:

@AbapCatalog.compiler.CompareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #CUBE
@EndUserText.label:

And that's the consumption view, also simple with two key figures:

@AbapCatalog.compiler.CompareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.query: true
@VDM.viewType: #CONSUMPTION
@EndUserText.label:

That's the error that I get in RSRT:

Diagnosis

En error has been triggered. This message specifies where in the coding the error occurred. This helps you to localize the error quickly.

System Response

Procedure

Procedure for System Administration

RS_EXCEPTION 301

So my question is, is it possible with 7.40 SP19 to use the views in RSRT or Analysis for Office? What can I do therefore?

Thanks in advance

Thorsten

1 REPLY 1

TammyPowlas
Active Contributor
0 Kudos
154

This should work; please follow the steps in SAP Note https://launchpad.support.sap.com/#/notes/0002177974 to determine why your are receiving a query generation error