Quantcast
Channel: SCN : Popular Discussions - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 1246

CDS - Date calculation

$
0
0

Hi,

 

I'm trying to do som calculation with date type fields.

 

@AbapCatalog.sqlViewName: 'ZDEMOSDN'

@EndUserText.label: 'test'

define view ZDEMOSDN as select from aufk as a inner join afko as b

    on a.aufnr = b.aufnr

{

    key a.aufnr,

    a.erdat - a.idat2 as date2   

}

 

I'm getting the error messages:

Data type DATS is currently not supported in an arithmetic expression

 

Will this be supported in near future? Is there kind of workaround .

 

Regards,

 

Bart




Viewing all articles
Browse latest Browse all 1246

Trending Articles



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