on 07-10-2014 6:01 PM
I have created scripted calculation view
I can add parameter in aforesaid calculation view
It fetches me right result
But when I am to call aforesaid calculation view from odata service I am getting following error:
ERROR zcustsearch/services/AutoComplete.xsodata
Parameters are not allowed for entity "calculationView" as it is not a calculation or analytical view.
Any solutions
Don't reference it via the catalog object. Otherwise only the runtime Column View will be seen. Instead you should specific the view as the repository object. This means no schema and use package path::view name. Like this example from the SHINE content:
service namespace "sap.hana.democontent.epmNext" {
"sap.hana.democontent.epmNext.models::CV_SALESORDER_YEAR_COMPARISON"
as "salesYear"
keys generate local "ID"
aggregates always
parameters via entity "InputParams";
}
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.