I've created a CDS view, which reads some data from 2 tables.
My problem is, that one of the columns has a conversion policy behind - so if I display the data with SE16n
, it shows the "converted value" but within my cds view only the unconverted value is shown.
Is there an option to show converted values in CDS views?
they can be used to calculate fields that are not available in CDS.
cast( '' as abap.char(255)) AS after_conversion
@ObjectModel.virtualElement: true
to your field@ObjectModel.virtualElementCalculatedBy: 'ABAP:<z_class>'
Z_CLASS
if_sadl_exit_calc_element_read
calculate
you can do the conversion