SAP Knowledge Base Article - Preview

3375622 - Calculation view activation failed with "user is not authorized"

Symptom

Activation of a Calculation View failed with below error.


Indexserver trace contains the following error messages.
------------------------------------------
7837]\{350590\}[159/835065624] 2023-09-04 13:53:30.292428 e CalcEngine       ceAuthorizationCheckImpl.cpp(03480) : AuthorizationCheckHandler::registerViewInAuthManager: Exception was thrown during calling createAuthorizationDependencies for _SYS_REPO: exception  1: no.4030003  (Authorization/impl/ObjectIdManager.cpp:345) TID: 7837
    Duplicate object ID
[7837]\{350590\}[159/835065624] 2023-09-04 13:53:30.292428 e CalcEngine       ceAuthorizationCheckImpl.cpp(03480) : AuthorizationCheckHandler::registerViewInAuthManager: Exception was thrown during calling createAuthorizationDependencies for _SYS_REPO: exception  1: no.4030003  (Authorization/impl/ObjectIdManager.cpp:345) TID: 7837
    Duplicate object ID
exception throw location:
exception throw location:
 1: 0x00007f172ce8eefb in Authorization::ObjectIdManager::createObjectId(ptime::Transaction&, unsigned short const&, unsigned short const&, ltt::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<int, 64> > const&, bool)+0x47 at ObjectIdManager.cpp:312 (libhdbrskernel.so)
 1: 0x00007f172ce8eefb in Authorization::ObjectIdManager::createObjectId(ptime::Transaction&, unsigned short const&, unsigned short const&, ltt::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<int, 64> > const&, bool)+0x47 at ObjectIdManager.cpp:312 (libhdbrskernel.so)
...
exception type information:
exception type information:
 - 0: public ltt::invalid_argument@0x7f171f09e2c8 SI
   - 0: public ltt::logic_error@0x7f171f09e608 SI
     - 0: public ltt::exception@0x7f171f09eba8
 - 0: public ltt::invalid_argument@0x7f171f09e2c8 SI
   - 0: public ltt::logic_error@0x7f171f09e608 SI
     - 0: public ltt::exception@0x7f171f09eba8
[7837]\{350590\}[159/835065624] 2023-09-04 13:53:30.349207 e AMD              handle_amd.cpp(00097) : deploy_mdx_attribute for : xxxx/xxxx returned :Model inconsistency. Deploy Calculation View: failed aCreateCalcView.execute(): user is not authorized
printing XML <?xml version="1.0" encoding="utf-8"?><cubeSchema defaultLanguage="EN" defaultSchema="_SYS_BIC" operation="createCalculationScenario" version="3"><calculationScenario name="xxxx/xxxx" externalScenarioName="xxxx::xxxx" schema="_SYS_BIC"><dataSources><tableDataSource na
------------------------------------------

System view: _SYS_REPO.ACTIVE_OBJECT and SYS.OJBECTS don't contain any information about the error calculation view.

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP HANA, platform edition 2.0

Product

SAP HANA, platform edition all versions

Keywords

HANA Studio, calculation view, activation, user is not authorized, Duplicate object ID, createObjectId, P_OBJECTS_, TOPOLOGY_INFORMATION_, CHECK_CATALOG_DEV , KBA , HAN-DB-SEC , SAP HANA Security & User Management , HAN-STD-DEV-MOD , SAP HANA Analytical Modeling , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.