Reference documentation: HANA Core Data Services.
Questions tagged [hana-cds]
2 questions
1
vote
1 answer
Syntax error with FIRST_VALUE function in HANA CDS
I am working in SAP HANA Native CDS, where i want to convert a sql query into CDS format.
The current SQL Query looks like this
FIRST_VALUE(STAT) OVER(PARTITION BY OBJNR ORDER BY UDATE desc, UTIME desc) as STAT,
FIRST_VALUE(UDATE) OVER(PARTITION BY…

Gabriel
- 39
- 10
0
votes
1 answer
STRING_AGG is not a recognized built-in function name when using SAP HANA CDS file
I am trying to use a STRING_AGG function in my SAP HANA CDS file, but the system does not seem to recognize this function. Standard aggregation functions like sum or count seems to work but this one - doesn't:
view MY_VIEW as
select from A_TABLE…

zygimantus
- 3,649
- 4
- 39
- 54