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

Re: CDS View

$
0
0

Hi,

 

in order to get rid of the warning "W:The database ..." one needs to add the pragma

##DB_FEATURE_MODE[VIEWS_WITH_PARAMETERS]

to the 'select from view' statement.

Of course, the 'select from view' statement should only be executed when "cl_abap_dbfeatures=>use_features ..." returns true, so the warning is a reminder that you check that you introduced the "cl_abap_dbfeatures=>use_features ..." properly in your program.

And then you can suppress the warning.


Regards, Christian


Viewing all articles
Browse latest Browse all 2110

Trending Articles



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