cancel
Showing results for 
Search instead for 
Did you mean: 

Functions in CDS VIEW

jasper_nan
Explorer
0 Kudos

select mandt,werks,matnr,zltno,vcode,zmsta,ersda,row_number() over(partition by mandt,werks,matnr,zltno order by ersda desc)rid from ytest002

The result is:

Can I make a cds view like this?

what function can i use in cds view?

i can use substring function, but any other functions i can't use in the cds view.

it tell me there is an error,and i can't active it

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

Hello Jasper,

window functions  (like ROW_NUMBER) are not supported in CDS up to now (even not in SPS10).

Check the statement of Tom Jung in chapter "SQL functions" of post regarding this.

Best Regards,

Florian