Vous êtes sur la page 1sur 18

Error: 1Error message in Hana Studio calculation view when doing Data Preview

 
Getting a strange error message in Hana Studio when we use the “Data Preview” functionality on
certain objects in a calculation model (VDM). The error message is:
Cannot open Data Explorer
SAP DBTech JDBC: [321] (at 21): invalid view name:
home.bi.co.projcash/FACT_COFP_VBAK/dp/Projection_1: line 1 col 22 (at pos 21)

we use the “Data Preview” functionality on the objects “Aggregation” or “Semantics” everything
work as expected. But, if we use the “Data Preview” functionality on any other objects like
“Projection” or “Join” we get the error message above.

Solution: here privileges are missing, Try to get SELECT and EXECUTE on _SYS_REPO
schema. That should work.
Error: 2Getting Error while activating Calculation view
Getting following error in calculation view while activating it.
Internal deployment of object failed;Repository: Encountered an error in repository runtime
extension;Internal Error:Create Scenario failed: nnNumber of inputs has to be between 2 and
2(CalculationNode (Join_2) -> inputs)nnThe following errors occured: Inconsistent calculation
model (34011)nDetails (Errors):n- CalculationNode (Join_2) -> inputs: Number of inputs has to
be between 2 and 2.nnnn<?xml version="1.0" encoding="UTF-8" standalone="no"?
><cubeSchema defaultLanguage="EN" defaultSchema="_SYS_BIC"
operation="createCalculationScenario" version="3"><calculationScenario
name="PRAPROJECT.MODEL/SALES_CALC" schema="_SYS_BIC"><dataSources>
<tableDataSource name="PRAPROJECT.SALES::Product" schema="HANA"
table="PRAPROJECT.SALES::Product"><attributes><allAttribute
/></attributes></tableDataSource><tableDataSource name="PRAPROJECT.SALES::Region"
schema="HANA" table="PRAPROJECT.SALES::Region"><attributes><allAttribute
/></attributes></tableDataSource><tableDataSource
name="PRAPROJECT.SALES::SALES_NEW" schema="HANA"
table="PRAPROJECT.SALES::SALES_NEW"><attributes><allAttribute
/></attributes></tableDataSource></dataSources><calculationViews><projection
name="Product" ><viewAttributes><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="PRODUCT_ID"/><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="PRODUCT_NAME"/></viewAttributes><inputs><input
name="PRAPROJECT.SALES::Product"  ><mapping source="PRODUCT_ID"
target="PRODUCT_ID"/><mapping source="PRODUCT_NAME"
target="PRODUCT_NAME"/></input></inputs></projection><projection name="Region"
><viewAttributes><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="REGION_ID"/><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="REGION_NAME"/><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="SUB_REGION_NAME"/></viewAttributes><inputs><input
name="PRAPROJECT.SALES::Region"  ><mapping source="REGION_ID"
target="REGION_ID"/><mapping source="REGION_NAME"
target="REGION_NAME"/><mapping source="SUB_REGION_NAME"
target="SUB_REGION_NAME"/></input></inputs></projection><projection
name="Sales_New" ><viewAttributes><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="PRODUCT_ID"/><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="REGION_ID"/><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="SALES_AMT"/></viewAttributes><inputs><input
name="PRAPROJECT.SALES::SALES_NEW"  ><mapping source="PRODUCT_ID"
target="PRODUCT_ID"/><mapping source="REGION_ID" target="REGION_ID"/><mapping
source="SALES_AMT" target="SALES_AMT"/></input></inputs></projection><join
name="Join_1" type="inner"><viewAttributes><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="REGION_ID" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="REGION_NAME" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="SUB_REGION_NAME" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="PRODUCT_ID" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="REGION_ID_1" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="SALES_AMT" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="REGION_ID_2"
/></viewAttributes><inputs><input name="Region"><mapping source="REGION_ID"
target="REGION_ID"/><mapping source="REGION_NAME"
target="REGION_NAME"/><mapping source="SUB_REGION_NAME"
target="SUB_REGION_NAME"/><mapping source="REGION_ID"
target="REGION_ID_2"/></input><input name="Sales_New"><mapping
source="PRODUCT_ID" target="PRODUCT_ID"/><mapping source="REGION_ID"
target="REGION_ID_1"/><mapping source="SALES_AMT"
target="SALES_AMT"/><mapping source="REGION_ID"
target="REGION_ID"/></input></inputs><joinAttributes><joinAttribute excludeFlag="false"
name="REGION_ID" /></joinAttributes></join><join name="Join_2"
><viewAttributes><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="PRODUCT_ID" /><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="PRODUCT_NAME" /></viewAttributes><inputs><input name="Product"><mapping
source="PRODUCT_ID" target="PRODUCT_ID"/><mapping source="PRODUCT_NAME"
target="PRODUCT_NAME"/></input></inputs></join><join name="Join_3" type="inner"
cardinality="n:1"><viewAttributes><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="PRODUCT_ID" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="PRODUCT_NAME" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="REGION_ID" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="REGION_NAME" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="SUB_REGION_NAME" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="PRODUCT_ID_1" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="REGION_ID_1" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="SALES_AMT" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="REGION_ID_2" /><viewAttribute
ignoreFromInputsFlag="false" isVisible="true" name="PRODUCT_ID_2"
/></viewAttributes><inputs><input name="Join_2"><mapping source="PRODUCT_ID"
target="PRODUCT_ID"/><mapping source="PRODUCT_NAME"
target="PRODUCT_NAME"/><mapping source="PRODUCT_ID"
target="PRODUCT_ID_2"/></input><input name="Join_1"><mapping source="REGION_ID"
target="REGION_ID"/><mapping source="REGION_NAME"
target="REGION_NAME"/><mapping source="SUB_REGION_NAME"
target="SUB_REGION_NAME"/><mapping source="PRODUCT_ID"
target="PRODUCT_ID_1"/><mapping source="REGION_ID_1"
target="REGION_ID_1"/><mapping source="SALES_AMT"
target="SALES_AMT"/><mapping source="REGION_ID_2"
target="REGION_ID_2"/><mapping source="PRODUCT_ID"
target="PRODUCT_ID"/></input></inputs><joinAttributes><joinAttribute excludeFlag="false"
name="PRODUCT_ID" /></joinAttributes></join><aggregation name="finalAggregation"
defaultViewFlag="true"><inputs><input name="Join_3"><mapping source="PRODUCT_ID"
target="PRODUCT_ID"/><mapping source="PRODUCT_NAME"
target="PRODUCT_NAME"/><mapping source="REGION_ID"
target="REGION_ID"/><mapping source="REGION_NAME"
target="REGION_NAME"/><mapping source="SUB_REGION_NAME"
target="SUB_REGION_NAME"/><mapping source="PRODUCT_ID_1"
target="PRODUCT_ID_1"/><mapping source="REGION_ID_1"
target="REGION_ID_1"/><mapping source="REGION_ID_2"
target="REGION_ID_2"/><mapping source="PRODUCT_ID_2"
target="PRODUCT_ID_2"/><mapping source="SALES_AMT"
target="SALES_AMT"/></input></inputs><viewAttributes><viewAttribute
name="PRODUCT_ID"/><viewAttribute name="PRODUCT_NAME"/><viewAttribute
name="REGION_ID"/><viewAttribute name="REGION_NAME"/><viewAttribute
name="SUB_REGION_NAME"/><viewAttribute name="PRODUCT_ID_1"/><viewAttribute
name="REGION_ID_1"/><viewAttribute name="REGION_ID_2"/><viewAttribute
name="PRODUCT_ID_2"/></viewAttributes><keyfigures><keyfigure name="SALES_AMT"
aggregationType="sum"/><keyfigure name="row.count" datatype="fixed" length="18"
isVisible="false"
aggregationType="count"/></keyfigures><unitConversionInfos></unitConversionInfos><calcul
ationNodeHints
countStarAttribute="row.count"/></aggregation></calculationViews><variables><variable
name="$$language$$" typeMask="512" isGlobal="true" usage="optional"/><variable name="$
$client$$" typeMask="512" isGlobal="true"
usage="optional"/></variables></calculationScenario></cubeSchema>n

Solution: Seems you have maintained only one object in your join node. select a join node,
should have 2 objects to set a join. It will not allow adding or joining more than 2 objects in a
single join node.
Error: 3Error in activating Calculation view
 
Getting an error when activating calculation view.

 Internal deployment of object failed; Repository: Encountered an error in repository


runtime extension; Internal Error: Unable to create hierarchy view: CREATE COLUMN
VIEW

          SQL: transaction rolled back by an internal error: identifier is too long: the identifier
          description" is too long. Maximum length is 127:

Solution: Might be your name of the calculation view or calculated column etc length is too big.
Shorten the name and activate it.
Error: 4 Decode error in a scripted calculation view
 
Created a scripted calculation view. On activation of the same, i get an error and it also states
line number of the error. However, there is no pointer in the studio as to which line the error is
occurring and there are no line numbers as well. It is a huge code and it is getting default to track
the line where the error is occurring. Is there a way to decode the error?

Solution: Not sure what you meant by decode. If it's an error, and you have the line with the
error, just go to the line and check what you did wrong.
If you can't see the line numbers in the editor it's because you haven't set the option to see them
in eclipse. Just right click on the gray bar at the left side of the editor panel and select 'Show Line
numbers'.
Error: 5Error in activating Sql script Calculation view - Data type mismatch
I am trying to create a Calculation view using sql script. When trying to activate the calculation
view get the below error.,
Error
Internal deployment of object failed;Repository: Encountered an error in repository runtime
extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal
error: column store error: [34011] failed to save calculation scenario : The following errors
occured: Inconsistent calculation model (34011)nDetails (Errors):n- CalculationNode
(_ELECTION_ANALYTICAL_VIEW) -> attributes -> attribute (VOTE):

Datatype int of VOTE does not match to datatype fixed18.0(9) in datasource.


nnnSet Schema DDL statement: set schema "_SYS_BIC"nType DDL: create type
"_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc/tabletype/VA
R_OUT" as table ("VOTE" INTEGER, "NAME_1" VARCHAR(250), "NAME_4"
VARCHAR(250))nProcedure DDL: create procedure
"_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc" ( OUT
var_out
"_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_SQL_CA/proc/tabletype/VA
R_OUT" ) language sqlscript sql security definer reads sql data as  n /********* Begin
Procedure Script ************/ n BEGIN n n election_analytical_view =
CE_OLAP_VIEW("_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_RESULT
S_ANA",[VOTE,NAME,NAME_1,NAME_3,NAME_4]);n n var_out =
CE_PROJECTION(:election_analytical_view,[VOTE,NAME_1,NAME_4]);nnnnEND
/********* End Procedure Script ************/n
SQL Script
/********* Begin Procedure Script ************/
BEGIN
election_analytical_view =
CE_OLAP_VIEW("_SYS_BIC"."p1940328499trial.logesh.HanaElection/ELECTION_RESULT
S_ANA",[VOTE,NAME,NAME_1,NAME_3,NAME_4]);
var_out = CE_PROJECTION(:election_analytical_view,[VOTE,NAME_1,NAME_4]);
END /********* End Procedure Script ************/

Solution: Ensure the below things in the output of your CV


1) Data types of the columns in the output
2) Ordering of the output columns
It should work fine
Regards,
Error: 6 Calculation View Error calcEngine search on olap Index failed
- Calculated Column: REJECT_REASON
- This REJECT_REASON is used in the restricted column TOTAL to filter some values and this
works fine.
- But when using this restricted column TOTAL to calculating other Measures for exemplo
TOTAL2 the system shows the message error:
Error: SAP DBTech JDBC: [2048]: column store error: search table error:  [2018] A received
argument has an invalid value;
View attribute "REJECT_REASON" was not found in schema: calcEngine search on olapIndex
failed.

HANA DB Version: 1.00.70.00.386119


HANA Studio Version: 1.0.7000

HANA Model based on Calculation View and two Analytic Views


Solution:
You mean to say in Lumira,
That you have tried to preview only commoditiy Id and Product quantity?
If you are using more characteristics then definitely that may help in overcoming this exceeding
the limit of the sum.
Did you try to change the data type i.e. if u are using INTEGER , try changing to BIGINT and
then display? Create a calculated column and try to do the conversion if required
Error: 7Temporary table in Calculation View Error
The following Calculation View:
BEGIN
  create local temporary table "#TEMP_TABLE"
  ("UserCode" NVARCHAR(30), "Counter" INT);
  insert into "#TEMP_TABLE" values('1',0);
  var_in = select * from "#TEMP_TABLE";
  var_out = CE_AGGREGATION (:var_in, [SUM("Counter") as "Counter"], ["UserCode"]);
END;
returns the following error when I try to activate:
Message : Repository: Encountered an error in repository runtime extension;Model
inconsistency. Deploy Calculation View: SQL: transaction rolled back by an internal error:
feature not supported: DDL is not supported in the READ ONLY procedure/functionnSet
Schema DDL statement: set schema "DEVPL09"nType DDL: create type ....

Solution: unfortunately you have to, calculation(script) was never intended to suffice this
requirement .
Go for Stored Procedure's,if you are absolutely certain that you need Temp tables and Cursors.
FYI.., You cannot call this type of procedures from Calc view(only read only proc is possible).
Error: 8Data Type Mismatch Error in Calculation View
 
Trying to union a BW table and a ECC table in my calculation view. Getting the following error,
Internal deployment of object failed;Repository: Encountered an error in repository runtime
extension;Internal Error:Create Scenario: failed aCalcEngine.createScenario(): The following
errors occured: Inconsistent calculation model (34011)nDetails (Errors):n- CalculationNode
(Union_1): Datatype fixed12.3(15) of QUANTITY does not match to datatype fixed14.3(17) of
attribute QUANT_B in node XXXXXX.n- CalculationNode (Union_1): Datatype fixed11.2(13)
of SUBTOTAL does not match to datatype fixed15.2(17) of attribute SUBTOT_5S in node
XXXXXXX
creating a target field in the union(with predefined data type).Not able to find any 'note' or forum
discussions regarding this.
Solution: I just created a 'projection' node and then created a new calculated column and
changed the decimal sizes of "12.3(15) of QUANTITY" to 17,3 and "11.2(13) of SUBTOTAL"
to 17,2 since those were the decimal sizes in the replicated BW tables and this solved it.
Will keep this discussion 'open' for sometime to see if there's a different solution to this and to
confirm if my solution is the right approach.
Error: 9SAP HANA: Error while activating Graphical Calculation Views
Receiving the below error while activating a Graphical Calculation View.
Getting this error lately. Not sure what is causing this because the calculation views worked just
fine before.
It is failing at the Repository Activation step with the Activation ID 2146.
It says - Repository: Revalidation failed for at least one object.
MDXRuntime: Internal deployment of object failed: Internal Error:Create Scenario: failed
aCalcEngine.createScenario(): The following errors occured: Could not create repository
entry for scenario (34053)nnprinting XML <?xml version="1.0" encoding="UTF-8"
standalone="no"?><cubeSchema defaultLanguage="EN"
defaultSchema="_SYS_BIC"  operation="createCalculationScenario"
version="3"><calculationScenario name="sflight/GC_AGENCY_REVENUE"
schema="_SYS_BIC"><dataSources><tableDataSource name="SBOOK"
schema="SFLIGHT" table="SBOOK"><attributes><allAttribute
/></attributes></tableDataSource><tableDataSource name="STRAVELAG"
schema="SFLIGHT" table="STRAVELAG"><attributes><allAttribute
/></attributes></tableDataSource></dataSources><calculationViews><join name="Join_1"
type="inner"><viewAttributes><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="MANDT" /><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="AGENCYNUM" /><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="FORCURAM" /><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="LOCCURAM" /><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="NAME" /></viewAttributes><inputs><input name="SBOOK"><mapping
source="MANDT" target="MANDT"/><mapping source="AGENCYNUM"
target="AGENCYNUM"/><mapping source="FORCURAM"
target="FORCURAM"/><mapping source="LOCCURAM"
target="LOCCURAM"/></input><input name="STRAVELAG"><mapping source="MANDT"
target="MANDT"/><mapping source="AGENCYNUM" target="AGENCYNUM"/><mapping
source="NAME" target="NAME"/></input></inputs><joinAttributes><joinAttribute
excludeFlag="false" name="MANDT" /><joinAttribute excludeFlag="false"
name="AGENCYNUM" /></joinAttributes></join><aggregation name="finalAggregation"
defaultViewFlag="true"><inputs><input name="Join_1"><mapping source="NAME"
target="NAME"/><mapping source="AGENCYNUM" target="AGENCYNUM"/><mapping
source="MANDT" target="MANDT"/><mapping source="LOCCURAM"
target="LOCCURAM"/><mapping source="FORCURAM"
target="FORCURAM"/></input></inputs><viewAttributes><viewAttribute
name="NAME"/><viewAttribute name="AGENCYNUM"/><viewAttribute
name="MANDT"/></viewAttributes><keyfigures><keyfigure name="LOCCURAM"
aggregationType="sum"/><keyfigure name="FORCURAM"
aggregationType="sum"/><keyfigure name="row.count" datatype="int" isVisible="false"
aggregationType="count"/></keyfigures><calculationNodeHints
countStarAttribute="row.count"/></aggregation></calculationViews></calculationScenario>
</cubeSchema>nVersion: 33n
Solution: Can you try deleting the Column view of this calc view under SYSBIC->Column
Views and then try to reactivate it. Sometimes this could be a temporary issue which will be
resolved after reactivation of the model.

Error: 10not able to create Calculation View in MDC [error: 2950]


Getting error 2950 while saving a calculation view in SAP HANA trial enviroment in MDC
instance.

Copy Code

1. public.iot.webapp.views:AT_iot.calculationview] Repository:
2. Encountered an error in repository runtime extension;Model inconsistency.
3. Create Scenario failed:
4. The following errors occurred: user is not authorized (2950)

How could I easily fix this problem?

Solution: Solved by executing the following statements on SQL console:


Copy Code

1. GRANT CREATE ANY ON SCHEMA SYSTEM to _SYS_REPO WITH GRANT


OPTION;

 
Error: 11Expose calculation view as odata service authorization error
Creating a PoC on HCP trial and as part of the solution, I created a table as below:
CREATE COLUMN TABLE "NEO_..."."Kpi" (
"KPIID" INTEGER NOT NULL,
"YEAR" INTEGER NOT NULL,
"DESCRIPTION" NVARCHAR(100),
"KPIKEY" NVARCHAR(100) NOT NULL,
"VALUE" DOUBLE NOT NULL,
PRIMARY KEY ("KPIID"));
Then, created calculation view called YEARS that returns some information about this table.
After, created a xsodata service to expose this calculation view, as below:
Service namespace "dashboard"{
    "p...trial.dashboard.models::YEARS" as "Years" key ("YEAR");
   
    "NEO_..."."Kpi" as "Kpi";
}
Selecting the information directly from the table "Kpi", or from the view YEARS works fine:
Select * from "_SYS_BIC"."p...trial.dashboard.models/YEARS";
Select * from "NEO_..."."Kpi";
BUT...
Consuming the view "/Years" in the xsodata service returns the following error:
Exception 1: no.71000258 (ptime/query/checker/query_check.cc:2422) Not authorized NO
exception throw location recorded. Stack generation suppressed.
BUT2...
Consuming the table in the xsodata service works fine.
Any ideas what might be missing here? executing call
"HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECT"('p...trial.dashboard.models','Y
EARS') also works fine.
PS: I'm exposing the table itself in the xsodata service just to test, cause the objective is to
expose just the view.

Solution: No, you can expose calculation view as odata using xsodata. Trial account has some
limitations. Please follow below steps and it is working for me..
1. While creating the calculation view, please make sure, apply privileges and default client is as
below screen shot.
2. Once you create the views under the package, to see views and data preview  working  without
encountering any type of authorization issue,please run

CALL "HCP". "HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS"  then you should see


the Views in schmea _SYS_BIC-->columnviews  after refresh of catalog tree.

3.create a hdbrole and define the tables and created calculation view in it.please refer the below
screen

4.Finally run the below query and check the odata,[replace your project name and path
accordingly]
call
"HCP"."HCP_GRANT_ROLE_TO_USER"('xxxxxxxtrial.attritiontrialxs.attrition::model_access'
, 'youruserid')
Error: 12 Calculation data preview - No rows retrieved
Encountering a weird issue with a calculation view in HANA Studio and would need your
guidance to resolve. created couple of attribute views and analytic views in HANA studio and do
not have any issue. However, when I create and activate a calculation view I am unable to
preview the data. The issue here is not seen any activation error while activating or any privilege
error when trying to display data.
These are the steps followed:
1. Added the base table to the aggregation layer and added all the fields to output .
2. Marked one of the required fields as measure and activated.(No Analytic privileges were
selected in the properties.)
3. Right click data preview I get the message no data to retrieve (Raw data tab).
4. Tried data preview by clicking instead of right click as well still no data to retrieve.
Few points to consider if it may help:
1. I can preview the data in the base table used in the calculation view without any issues.
2. I can preview the data if I use it in a attribute view or analytic view.
3. I can preview data of other calculation views created in other packages in the same system.
4. The calculation views where I cannot preview any data belong to a new package that I have
created and I have no issues with attribute and analytic views in this package.
Could this be a security issue? If so what kind role should I be requesting for being able to
preview the calculation view data in a new package.

Solution: Compulsory the table has a Client Field in it.


Then can you check what is the value have for the default client in view properties
Select cross client option and activate the view.
Error: 13Failure by creating a calculation view
 
Trying to activate a calculation view and get the following error:
MDXRuntime: Internal deployment of object failed: Internal Error:Create Scenario: failed
aCalcEngine.createScenario(): The following errors occured: user is not
authorized(2950)nnprinting XML <?xml version="1.0" encoding="UTF-8" standalone="no"?
><cubeSchema defaultLanguage="EN" defaultSchema="_SYS_BIC"
operation="createCalculationScenario" version="3"><calculationScenario
name="tutorials.java/CALC_GRAPHIC"
schema="_SYS_BIC"><dataSources><tableDataSource name="TEILNEHMER_A"
schema="TUTORIALS" table="TEILNEHMER_A"><attributes><allAttribute
/></attributes></tableDataSource><tableDataSource name="TEILNEHMER_B"
schema="TUTORIALS" table="TEILNEHMER_B"><attributes><allAttribute
/></attributes></tableDataSource></dataSources><calculationViews><union name="Union_1"
><viewAttributes><viewAttribute ignoreFromInputsFlag="false" isVisible="true"
name="TEILNEHMERNUMMER" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="VORNAME" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="NACHNAME" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="GEBURTSDATUM" /><viewAttribute ignoreFromInputsFlag="false"
isVisible="true" name="FIRMA" /></viewAttributes><inputs><input
name="TEILNEHMER_A"><mapping source="TEILNEHMERNUMMER"
target="TEILNEHMERNUMMER"/><mapping source="VORNAME"
target="VORNAME"/><mapping source="NACHNAME" target="NACHNAME"/><mapping
source="GEBURTSDATUM" target="GEBURTSDATUM"/><mapping source="FIRMA"
target="FIRMA"/></input><input name="TEILNEHMER_B"><mapping
source="TEILNEHMERNUMMER" target="TEILNEHMERNUMMER"/><mapping
source="VORNAME" target="VORNAME"/><mapping source="NACHNAME"
target="NACHNAME"/><mapping source="GEBURTSDATUM"
target="GEBURTSDATUM"/><mapping source="FIRMA"
target="FIRMA"/></input></inputs></union><projection name="finalProjection"
defaultViewFlag="true"><inputs><input name="Union_1"><mapping
source="TEILNEHMERNUMMER" target="TEILNEHMERNUMMER"/><mapping
source="VORNAME" target="VORNAME"/><mapping source="NACHNAME"
target="NACHNAME"/><mapping source="GEBURTSDATUM"
target="GEBURTSDATUM"/><mapping source="FIRMA"
target="FIRMA"/></input></inputs><viewAttributes><viewAttribute
name="TEILNEHMERNUMMER"/><viewAttribute name="VORNAME"/><viewAttribute
name="NACHNAME"/><viewAttribute name="GEBURTSDATUM"/><viewAttribute
name="FIRMA"/></viewAttributes></projection></calculationViews></calculationScenario></
cubeSchema>nVersion: 62n
Need some additional privileges to create a calculation view... I don't work with SYSTEM user.
Following rights to user:
SQL PRIVILEGES:
- SCHEMA _SYS_BIC: INSERT
- SCHEMA _SYS_BI: INSERT
-SCHEMA _SYS_REPR: SELECT
SYSTEM PRIVILEGES: CREATE SCENARIO

Solution: Have you given read access to your schema to _SYS_REPO user?
grant select on schema <SCHEMA> to _SYS_REPO with grant option;

Vous aimerez peut-être aussi