Hello all,
I have an odata (xsodata) service in which I want to call a CREATE operation using a procedure: create_new.
service { "ccm.data::model.dynamicCase.DynamicCaseView" as "MyView" with ( "caseId", "TITLE") key ("caseId") create using "ccm.data::create_new" ; }The CREATE operation works fine if I call the operation without the procedure 'create_new'. However if I want to create an entry with the procedure I get an error in SAPUI5:
{ "error": { "code": "", "message": { "lang": "en-US", "value": "Service exception: insufficient privilege."},
"innererror":{"exception":"exception 1: no.71000258 (ptime\/query\/checker\/query_check.cc:2588)\n
Not authorized\nNO exception throw location recorded. Stack generation suppressed.\n"}}}So it looks like I have to give (myself?) an authorization to call the procedure? Is that a right assumption?
Any one encountered this problem?
Any help will be appreciated.
Regards,
Bert