Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

Restricted Coumn

$
0
0

Hello Friends,

I need your help
I try a Restricted Column in an Analytic View to apply with the following restriction CRM_DIRECT = 0 , unfortunately, I get the following error message :

ERROR abracon/designstudio/crmactivity/view/ANALYTIC_VIEW_01.analyticview
          
Internal deployment of object failed ; Repository: Encountered an error in runtime repository extension ; Internal Error : < ? Xml version = " 1.0" encoding = "utf -8" > Deploy Analytic View: SQL : column store error < createCubeResult version = "1.0" > <status> <message> The scenario XML is not valid < / message> <ErrorCode> 2112 </ errorcode > < / status> <details> <errors> <detail> <element> cubeSchema -> cubes - > cube ( _SYS_BIC : abracon.designstudio.crmactivity.view/ANALYTIC_VIEW_01/olap ) -> measures - > measure ( Inbound_Request ) -> restriction </ element > <code> 25 </ code> <message> Referenced presentations ' CRM_DIRECT ' is missing in presentationss definitions </ message> < / detail > < / errors > < / details > </ createCubeResult >
Create OLAP scenario statement : CREATE OLAP SCENARIO '< ? Xml version = " 1.0" encoding = "utf -8" > <cubeSchema version="3" operation="createHanaCube"> < cube name = " _SYS_BIC : abracon.designstudio . crmactivity.view/ANALYTIC_VIEW_01/olap " registerCubeForApsFlag =" true " > <cubeTables> <cubeTable name="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::CONTINENT" type="d-table"/> < cubeTable name =" ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: COUNTRY " type =" d -table "/> <cubeTable name="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::CRMACTIVITY" type="f-table"/> < cubeTable name = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: REGION " type = " d -table " /> </ cubeTables > <joinConditions> < JoinCondition cardinality = " 1:1" referentialIntegrity = "true" joinType = " inner" > <partner1 table="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::CRMACTIVITY" column="CRMSE_OG_R"/> < partners2 table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: COUNTRY " column = " country_id "/> </ JoinCondition > < JoinCondition cardinality = " 1:1" joinType = "left outer" > <partner1 table="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::COUNTRY" column="CONTINENT_ID"/> < partners2 table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity . :: data CONTINENT " column = " CONTINENT_ID "/> </ JoinCondition > < JoinCondition cardinality = " 1:1" joinType = "left outer" > <partner1 table="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::COUNTRY" column="REGION_ID"/> < partners2 table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity . :: REGION data " column = " REGION_ID "/> </ JoinCondition > </ joinConditions > <joinPaths> <joinPath name="PATH_abracon.designstudio.crmactivity.data::COUNTRY_1"> <joins> < join name = " PATH_abracon.designstudio.crmactivity.data :: CONTINENT_2 " > <joins> < join name = " PATH_abracon.designstudio.crmactivity.data :: REGION_3 " > <joins> < join name = " CRM_ACGUID " > <columnMappings> < column mapping name = " CRM_ACGUID " technical name = " CRM_ACGUID " type = "key" table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: CRMACTIVITY " column = " CRM_ACGUID " isVisible = " true "/ > < / column mappings> </ dimension attribute> <dimensionAttribute name="abracon.designstudio.crmactivity.view/COUNTRY$COUNTRY_ID"> <columnMappings> < column mapping name =" country_id "technical name =" abracon.designstudio.crmactivity.view / COUNTRY $ country_id " type = " key " table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: COUNTRY " column = " country_id " joinPath =" PATH_abracon.designstudio.crmactivity.data :: COUNTRY_1 " isVisible =" true " / > < / column mappings> </ dimension attribute> <dimensionAttribute name="abracon.designstudio.crmactivity.view/COUNTRY$CONTINENT"> <columnMappings> < column mapping name = " CONTINENT " technical name = " abracon.designstudio.crmactivity.view / COUNTRY $ CONTINENT " type = " key " table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: CONTINENT " column = " CONTINENT " joinPath =" PATH_abracon.designstudio.crmactivity.data :: CONTINENT_2 " isVisible =" true "/> < / column mappings> </ dimension attribute> <dimensionAttribute name="abracon.designstudio.crmactivity.view/COUNTRY$REGION"> <columnMappings> < column mapping name = "REGION " technical name = " abracon.designstudio.crmactivity.view / COUNTRY $ REGION " type = " key " table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: REGION " column = " REGION " joinPath =" PATH_abracon.designstudio.crmactivity.data :: REGION_3 " isVisible =" true "/ > </ column mappings> </ dimension attribute> <dimensionAttribute name="abracon.designstudio.crmactivity.view/COUNTRY$COUNTRY"> <columnMappings> < column mapping name = " COUNTRY " technical name = " abracon.designstudio.crmactivity.view / COUNTRY $ COUNTRY " type = "key" table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: COUNTRY " column = " COUNTRY " joinPath = " PATH_abracon.designstudio.crmactivity.data :: COUNTRY_1 " isVisible = "true " /> < / column mappings> </ dimension attribute> </ attributes dimension > <measures> < measure name = " CRM_DIRECT " table = " ABRA_DS_CRMACTIVITY : abracon.designstudio.crmactivity.data :: CRMACTIVITY " column = " CRM_DIRECT " aggregation type = "count" isVisible = " true" / > <measure name="CALDAY" table="ABRA_DS_CRMACTIVITY:abracon.designstudio.crmactivity.data::CRMACTIVITY" column="CALDAY" aggregationType="count" isVisible="true"/> < restrictedMeasure name = " Inbound_Request " aggregation type = "count" baseMeasure = " CRM_DIRECT " > <dimensionAttributes> <dimensionAttribute name="CRM_DIRECT"> <selections> < selection sign = " including " operator = "EQ" type = " range"
Version: 42


Viewing all articles
Browse latest Browse all 5115

Trending Articles



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