cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CDS View with arithmetic CASE-Expression

0 Likes
13,034

Hey Experts,

i'm developing a CDS-View in ABAP for HANA and i need a CASE-Statement with an arithmetic expression in it.

Error on above image is unexpected word "(".

I have also tried a few other ways like casting or subtracting in a between clause but nothing works.

Looking forward to your answers.

Simon

View Entire Topic
thomasgauweiler
Employee
Employee
0 Likes

The calculated case ( CASE WHEN <boolean expression> ... ) is only available with SP8 or later.

See also http://help.sap.com/abapdocu_740/en/abennews-740_sp08-abap_cds.htm#!ABAP_MODIFICATION_5@5@

Regards, Thomas