on 03-16-2015 11:56 AM
Hi Team,
I am trying to call CDS View from XSDS but i am getting following error
var EntityObject = XSDS.$importEntity("CapaProdV1", "CapaDCS.ViewName", {}, { $schemaName : "SchemaName" });
var oEntityObj = EntityObject.$query().$execute();
Error:
XSDS: no key defined: CapaProdV1::CapaDCS.ViewName"
Thanks
Varathan
Hello,
Try adding a parameter called $key in the $importEntity function.
$key (boolean or string): set or unset key property for field. If set to the name of a HANA sequence then that sequence is used to generate new key values for new entity instances. Optional.
See:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.