Quantcast
Channel: SCN: Message List - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 2110

Re: SAP ABAP(7.4 SP11) CDS consumption to Analysis for office not working

$
0
0

Hi Gaurav,


The issue seems to be that the CDS views has input parameter and the necessary annotations are missiing

 

You can add static default value to the parameter like below

 

define view Zdemo04

with parameters

@Consumption.defaultValue: '...'

vbeln1:vbak.vbeln

 

Or

 

Derive the value dynamically using @consumption.derivation annotation. For more details about the

@Consumption annotation refer to the help Consumption Annotations - About ABAP Programming Model for SAP Fiori - SAP Library

 

Some remarks on your CDS view: Firstly you have to change the VDM view type to #CONSUMPTION because the view is analytical query and secondly Analytical query should read the data from Analytical view for which the @Analytics.dataCategory=#CUBE is set.

 

 

Regards,

Panner



Viewing all articles
Browse latest Browse all 2110


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>