Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

Handling of Null as output in Scripted views

$
0
0

Hi,

 

We are on HANA SP10.

 

We have a graphical calculation view shown below. There is a calculated column called "NumberOfCRMActivities". When there are no records, this column shows the value Zero.

 

1.jpg

 

 

When I preview the graphical view, I can confirm that the value shows as zero when there are no records

 

2.jpg

 

Now, I am consuming this graphical view within a scripted view as shown below.

 

3.jpg

 

When I test this scripted view, I do not get zero as the value for the calculated column. Instead, I get NULL. Is this a known bug or can someone point me to a way to fix this.

 

4.jpg

 

I have a standard SAPUI5 App calling this scripted view passing an SQL like

 

SELECT DISTINCT SUM("NumberOfCRMActivities") as "NumberOfCRMActivities"from ......

 

Thanks,

Murali.


Viewing all articles
Browse latest Browse all 3276

Trending Articles



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