Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

SAP HANA on AWS: Create Attribute View Failed (Insufficient Privilege)

$
0
0

Hi,

 

I've created tables in the schema SYSTEM from .csv files in my local drive. I'm trying to create a simple attribute view (by graphical not SAPSQL) from one of them.

 

The attribute view is just supposed to have a calculated attribute for price variance. But I got this error during model validation (save and validate):

 

Server side validation:

Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Attribute View: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized (ptime/query/plan_executor/ddl/qx_cube.cc:1560) nCreate view DDL statement: CREATE COLUMN VIEW "_SYS_BIC"."amex-pkg/AMEX_PRICEVAR_B" TYPE JOIN WITH PARAMETERS ( joinIndex = "SYSTEM"."AMEX_DLYPRC_B", joinIndexType = 0, viewAttribute = ('EXCHANGE', "SYSTEM"."AMEX_DLYPRC_B", "exchange", '', 'default', 'attribute', '', 'amex-pkg/AMEX_PRICEVAR_B$EXCHANGE'), viewAttribute = ('STOCK_SYMBOL', "SYSTEM"."AMEX_DLYPRC_B", "stock_symbol", '', 'default', 'attribute', '', 'amex-pkg/AMEX_PRICEVAR_B$STOCK_SYMBOL'), viewAttribute = ('DATE', "SYSTEM"."AMEX_DLYPRC_B", "date", '', 'default', 'attribute', '', 'amex-pkg/AMEX_PRICEVAR_B$DATE'), viewAttribute = ('STOCK_PRICE_HIGH', "SYSTEM"."AMEX_DLYPRC_B", "stock_price_high", '', 'default', 'attribute', '', 'amex-pkg/AMEX_PRICEVAR_B$STOCK_PRICE_HIGH'), viewAttribute = ('STOCK_PRICE_LOW', "SYSTEM"."AMEX_DLYPRC_B", "stock_price_low", '', 'default', 'attribute', '', 'amex-pkg/AMEX_PRICEVAR_B$STOCK_PRICE_LOW'), viewAttribute = ('PRICEVAR',,, '', '', '', 'fixed("STOCK_PRICE_HIGH" -"STOCK_PRICE_LOW", 5, 2)'), view = ('V_AMEX_DLYPRC_B', "SYSTEM"."AMEX_DLYPRC_B"), defaultView = 'V_AMEX_DLYPRC_B', 'REGISTERVIEWFORAPCHECK' = '1' )nVersion: 51n

 

Create Attribute View failed: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized (ptime/query/plan_executor/ddl/qx_cube.cc:1560) 2012-11-13,16:53:50.729

 

So, I added the _SYS_BIC in the SQL Privileges of the role SYSTEM and deployed it. But I still got the same error.

 

Has anyone gotten the same issues (especially when working with SAP HANA on AWS) ? Any fixes available?

 

Thanks.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>