‎2019 Dec 05 2:30 PM
How can I do these operations in abap cds? It doesn't work for me now

‎2019 Dec 05 2:37 PM
‎2019 Dec 05 2:37 PM
‎2019 Dec 09 9:33 PM
‎2019 Dec 05 2:40 PM
Hi KJ,
1. Dates should be in format YYYYMMDD.
2. You can also use type conversion, just to be sure. like Cast('20191204' as abap.dats).
Above points should help you resolve your issue.
Regards
GK
‎2019 Dec 05 7:21 PM
Hello KJ 911,
You can try the below Code, it should work fine.
case
when ( budat <= '20191204' and ( ( augdt = '00000000' ) or ( augdt > '20191204' ) ) )
then 'CXC-DIC' end as December
Regards!