Skip to Content
0
Dec 28, 2016 at 07:06 AM

Calling calculation view with input parameters using xsodata results into error

483 Views

Hi,

I have a calc view which accepts an input parameter. I exposed the calculation view via odata. When I call the odata service it returns the following error -

{"error":{"code":500,"message":{"lang":"en-US","value":"column store error: search table error:  [34023] Instantiation of calculation model failed;exception 306002: An internal error occurred\n"}}}

The xsodata link is -

https://host:port/findUserHistory.xsodata/IP(I_USER_ID='u1')/Results?$format=json

The xsodata file looks like this -

service {

"CabApp.db::FIND_USER_HISTORY" as "UserHistory"

key ("BOOKING_ID")

parameters via entity "IP";

}

Can you please help in resolving the issue?

I am using Web IDE to create the db module and js module (SPS 12, XS advanced model).