Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Error occured when using default modifier in CDS

$
0
0

Dear Experts,

 

when I created a simple CDS document with default modifier  in HANA SP6, I always got failure.

The error message say "Unexpected token"default" at line x,column x".

 

My CDS document is below.

namespace Hello_XS.db;
@Schema: 'DEMO'
context modifiers {    entity table1    {        key field1 : String(10);        field2 : String(10) default "dummy";    };
};

when I activated,I got the below error.

error.png

 

would you please kindly let me know how to solve it? thanks in advance.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>