我有一个简单的 CDS 视图。当我执行它时,我有错误invalid format (return table) row number 1 property name
。
我想我需要将日期转换为字符串或字符类型,但是有这个语法错误:
CHAR 类型上的 CAST DOGUM_TARIHI:缺少目标类型的长度信息
这是我的代码:
define view ZUMBS_CDS008
as select from zumhr_ddl001 as hr {
personel_numarasi,
personel_adi,
cast(dogum_tarihi as abap.char) as te33 //<== error at this line
} group by personel_numarasi,personel_adi,dogum_tarihi