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

Re: Validity data in BUT021_FS in CDS-views

$
0
0

Wow!

I stopped really searching where the documentation said: "Casting expressions cannot be nested".

This is my result based upon what you showed:

 

 

 

cast( substring( cast(div(valid_to,1000000) as abap.char( 20 ) ), 1, 8) as abap.dats)  as valid_to,

 

And it works!

 

Thanks a lot.

Kris


Viewing all articles
Browse latest Browse all 2110

Trending Articles



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