After I added a cast( sometable.somecolumn as abap.dec( <x> , <y> ) )
to my Core Data Service (CDS) data definition (DDL) on SAP R/3 ABAP 7.50 with <x>
and <y>
as placeholders for the numbers of pre- and post-decimal positions, I am not able to read the data from the CDS. There is an error message that says:
database returned sql code 3.0.19- error text POS(1) invalid exponent
somecolumn
already has type DEC
.
The activation returned no errors or warnings.