Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Apache License 2.0
90
stars
24
forks
source link
Unsupported type when exporting CDS of calculation view with parameters #120
I need to export the CDS definition of a calculation view with parameters.
I tried to use both massConvert and inspectView commands and I got the same problem.
One of the parameters is defined in the calculation view editor as type DATE (see the screenshot below) but when I convert it into CAP I get the **UNSUPPORTED TYPE - DAYDATE token instead of the actual type.
I saw from other closed issues that this behavior is expected when using HANA specific types but in this case I feel like it might be a bug since DAYDATE and DATE are synonyms (link to the documentation).
Another odd thing that makes me think of a bug is that the same calculation view has a field of type DATE that is exported correctly.
I tried using the --hana and --useHanaTypes options but nothing changed.
Hi Thomas,
I need to export the CDS definition of a calculation view with parameters. I tried to use both
massConvert
andinspectView
commands and I got the same problem.One of the parameters is defined in the calculation view editor as type
DATE
(see the screenshot below) but when I convert it into CAP I get the**UNSUPPORTED TYPE - DAYDATE
token instead of the actual type.I saw from other closed issues that this behavior is expected when using HANA specific types but in this case I feel like it might be a bug since
DAYDATE
andDATE
are synonyms (link to the documentation).Another odd thing that makes me think of a bug is that the same calculation view has a field of type
DATE
that is exported correctly.I tried using the
--hana
and--useHanaTypes
options but nothing changed.Thanks for any help you can give me!