on 01-05-2014 10:56 AM
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.
would you please kindly let me know how to solve it? thanks in advance.
Sorry, there is a bug in the developer guide on page 183, it says to use " and you need to use '. Hopefully or Former Member will get it fixed.
The code below activates successfully.
John
context test2 {
entity table1
{
key field1 : String(10);
field2 : String(10) default 'dummy';
};
};
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.