View Calculation view of ECC in SAP BW on HANA Server

Hello All,
I have a question
1. We have SAP BW powered by HANA
2. We have ECC System which is also powered by HANA
3. We have HANA Studio installed on our desktop
4. Lets say I have connected to ECC Data Base VUA HANA studio and created Calculation Views.
5. Now when I logon to BW server I want the calculation VIew to be exposed to BW
what are the steps to establish connection between BW and HANA
how can I see the Calculation view created VIA Hana Studio in ECC Hana Database in BW Server
My requirement it I will upload all master data in BW and then Calculation view created in ECC will need to be exposed to BW on HANA server then link this Calculation View to Master Data in BW Via Composite Provider and then use this for reporting.
Please suggest possible ways by which by which I can see the calculation views created VIA HANA Studio on ECC HANA Data base.
Regards,
Sachin

Hi Sachin,
You have my Role model & hero's name I will definitely help you out ...
To repeat your question..
You have ECC on HANA and also BW on HANA
ECC and BW cannot coexists on single HANA box as of today. So in your landscape you might be having two HANA boxes ,one connecting to ECC and other to BW.
Now your question is you want to bring the Calculation view build on ECC HANA box to BW  HANA box. Check the steps below to achieve the same.
1) if you have already build a calculation view in ECC HANA box then export the Calculation view  .
2) Connect the two HANA box via SLT and replicate all the tables that is required for the calculation view.
3) Once the tables are replicated   then import the Calculation view that is exported earlier.
4) Now the calculation view is in BW on HANA box. Now its possible to build a composite provider by combining the BW master data and ECC transaction data calculation view.
If you don't want to use SLT then use SDA option to virtualize all the required tables and rebuild the calculation view again on these virtual tables.
Hope this answers your question.
Thanks & Regards
  A.Dinesh

Similar Messages

  • SAP HANA: Error while activating Graphical Calculation Views

    Hello,
    I am receiving the below error while activating a Graphical Calculation View.
    I am 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
    I am using the SFLIGHT schema which is provided by SAP.
    Any pointer is appreciated.

    Hi Murali
    I met the exactly same issue when I try to activate a graphical calculation views.
    I created a new user in HANA db,  then create a simple graphical calculation view(just from one table from this user). It doesn't work. All attribute views work fine. There's no related column view under _sys_bic.
    HANA database version is 1.00.31 runs on HP DL580 512GB. And here's the error message -
    "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="co-pc-river/CALC_TEST1" schema="_SYS_BIC"><dataSources><tableDataSource name="JEST" schema="GLR" table="JEST"><attributes><allAttribute /></attributes></tableDataSource></dataSources><calculationViews><projection name="finalProjection" defaultViewFlag="true"><inputs><input name="JEST"><mapping source="MANDT" target="MANDT"/><mapping source="OBJNR" target="OBJNR"/><mapping source="STAT" target="STAT"/><mapping source="INACT" target="INACT"/></input></inputs><viewAttributes><viewAttribute name="MANDT"/><viewAttribute name="OBJNR"/><viewAttribute name="STAT"/><viewAttribute name="INACT"/></viewAttributes></projection></calculationViews></calculationScenario></cubeSchema>nVersion: 64n"
    Best Regards
    Mao Mingqi

  • Dependencies of Calculation View is not showing in metadata management of SAP IS

    Hi
    I have created calculated view based on 3 tables in sap hana and imported that view into SAP IS .but i am unable
    view the 3 tables used by the  calculation view  in metadata management in SAP IS.
    If i click on view impact/lineage for the calculation view it has to show the 3 tables right?

    Hi Vamsi,
    I order to see objects in IS/MM explorer. You need to run an integrator against the data base or repository the tables reside in.
    So you imported the view into IS/DI correct?
    Thanks,
    BW

  • Error while creating a BO Universe (using IDT) on top of SAP HANA Calculation View with Input Parameters

    Hi All..
          We are trying to create a Universe (using IDT-Version4.0) on top of the HANA Calculation view. The Calculation view has 4 input parameters, So
    in Universe side we have created the respective prompts. For the creation of derived table we have used the following code
    SELECT *
    FROM "_SYS_BIC"."<schema_name>.<CV_Calculation_View_test>"
    'PLACEHOLDER'=('$$IP_A$$','@Prompt(A)'),
    'PLACEHOLDER'=('$$IP_B$$','@Prompt(B)'),
    'PLACEHOLDER'=('$$IP_C$$','@Prompt(C)'),
    'PLACEHOLDER'=('$$IP_D$$','@Prompt(D)')
    While validating the above code we are getting an error.
    I have attached the snapshot of that error for your reference. Please find the attachment and help me in resolving it.
    Thanks in advance.

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Hierarchy on HANA Calculation View with Optional Input Parameters Fails

    Hi,
    Has anyone succeeded in building a hierarchy on top of a calculation view with optional input parameters, where an input parameter is not filled?
    The original requirement came from the wish to create a parent child hierarchy on a calculation view that was copied into the customer space from a HANA Live Financial Statement query view, but I have found the following when creating a simple level hierarchy on a calculation view that consumes one table. The Calculation View has one Input Parameter where the 'mandatory' box is unchecked.
    Calculation view reads ECC table FAGLFLEXT
    Simple level based hierarchy on fields PRCTR, RACCT and SEGMENT
    Input parameter is used as a filter for PRCTR with logic ("EMPTY" = '$$P_PROFITCTR$$' or "PRCTR" = '$$P_PROFITCTR$$')
    When I run the view I see the following behaviour in HANA Studio and Analysis for Excel
    Before building the hierarchy I could run the view with or without the Input Parameter
    After building the hierarchy I can run the view with the Input Parameter filled, but it fails when the Input Parameter is not filled.
    Error message is "error: search table error:  [2426] missing placeholder; missing value for mandatory parameter P_PROFITCTR"
    P_PROFITCTR is not a mandatory parameter, but the selection for the hierarchy view thinks it should be. I don't find any notes around this issue, so I don't think it's version related, however the version I have used for this test is 1.00.70.
    It's a shame we can't currently build the hierarchy as the parent child relationship is provided in HANA Live view NewGLFinancialStatementQuery.
    Thanks,
    Ken

    Hi Ken,
    We have been facing similar issue. We have even tried to set default value and as optional parameter. View still fails to create hierarchy (we are not using HANA live). As mentioned on page 97 of HANA modelling guide input parameter is mandatory from engine point of view. Hierarchy is generated as column view during the initial activation of calculation view and therefore expect a value by caller.
    This seems to be a product error. Some one from HANA development team should explain this issue in detail. I would expect someone like Thomas Jung reply to us.
    At the moment, we cant use input parameter for date prompt which gives us calendar popup feature for date selection. Hierarchies just don't work with input parameter. We are missing something.
    Regards
    Angad

  • Out of memory Error while querying SQL Script based Calculation View

    Hi All,
    I wanted to test the performance of Graphical and SQL Script based Calculation views.
    Created Graphical (CA_GRPH) and SQL Script (CA_SQL) Calculation views.
    Analytic View (AN_GRPH) for both Calculation views are the same which is Graphical based (90 Attributes and 5 Measures)
    In Analytic View data foundation I have a Fact table which has 1.5 Billion records and 9 Dimension Tables –collectively 500 million records (7 Attribute Views). 9 Referential joins with cardinality N:1 and 1 Referential join with cardinality N:N.
    I wanted to keep (CA_GRPH) and (CA_SQL) as a base Calculation views and leverage those to create various calculation views (Will be creating different Calc views for respective Business segments)
    In order to test this I have created below calc views on top of base calc views.
    Graphical Based: Created (CA_GRAPH_XYZ) by having CA_GRPH in projection with 30 Calculated Columns. – This retrieves data in 13 secs
    SQL Script Based: Created (CA_GRPH_ABC) by having CA_SQL in projection view with 30 calculated columns – This errors out after 1.50 mins.
    Could not execute 'SELECT "COLUMN_A","COLUMN _B"," COLUMN _C"," COLUMN _D", SUM("COLUMN _REVENUE") AS ...' in 1:50.480 minutes .
    SAP DBTech JDBC: [2048]: column store error:  [2048] column store error: search table error: [1000002] Error executing physical plan: exception 1000002:
    ltt/impl/memory.cpp:63
    Out of memory ; $size$=1507711; $name$=ihm; $type$=pool; $inuse_count$=170104; $allocated_size$=219215007925
    exception 1000002:
    Any suggestion / help in fixing this issue will be greatly appreciated.
    Regards,
    Av

    Hi Raj,
    Thanks for your time, please find edited snap hot of Analytic View (AN_GRPH) below,
    Calculation view(CA_SQL)
            /********* Begin Procedure Script ************/
    BEGIN
           var_out =
         SELECT
                "COLUMN_1"
                "COLUMN_2",
                "COLUMN_84",
                "COLUMN_85;",
                SUM("REVN") AS "REVN",
                SUM("MGN") AS "MGN",
                SUM("ORD_QTY") AS "ORD_QTY",
                SUM("SYS_QTY1") AS "SYS_QTY1",
                SUM("SYS_QTY") AS "SYS_QTY"
    FROM
          "_SYS_BIC"."XYZ/AN_GRPH"
    GROUP BY
                "COLUMN_1"
                "COLUMN_2",
                "COLUMN_84",
                "COLUMN_85";
    END
    /********* End Procedure Script ************/
    Later i have built one more Calculation view(CA_GRPH_ABC) using (CA_SQL)in projection. i have 30 calculated measures in this final calc view. this final calc view is throwing above mentioned error.
    Not sure if i can use SQL script based calc view in graphical based calc views?
    Regards,
    AV

  • Syntax error while creating Calculation view script based

    Hi Folks,
    I'm creating Calc view based on script and drafted a simple code but I'm getting syntax error.
    Its just fetching few coloumns from two tables products and purchaseorderitem.
    /********* Begin Procedure Script ************/
    BEGIN
      var_out = select productid , category, nameid, currency, grossamount, quantity
      FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
      where P.productid = B.productid;
    END /********* End Procedure Script ************/
    Could you pls take a look and let me know what wrong I'm doing?
    Error logs are:-
    sap.hana..package.project.folder.mytest.CALCSCRIPTVIEWInternal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "democontent": line 5 col 18 (at pos 439)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."sap.hana..package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" as table ("PRODUCTID" NVARCHAR(10), "CATEGORY" NVARCHAR(2), "NAMEID" NVARCHAR(10), "CURRENCY" NVARCHAR(5), "GROSSAMOUNT" DECIMAL(15,2), "QUANITYT" DECIMAL(13,3))nProcedure DDL: create procedure "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc" ( OUT var_out "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as n /********* Begin Procedure Script ************/ n BEGIN n t var_out = select productid , category, nameid, currency, grossamount, quantityn t FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS Bn t where P.productid = B.productid;nnEND /********* End Procedure Script ************/n

    Hi Rubane,
    I don't have EPM installed here but based on this Table User Defined Functions( Table UDF ) in HANA  you are not properly defining the source table.
    In your case missing 1) schema of EPM, 2) not using double quotes, 3) separation of package and view, 4) missing camel case on purchaseOrderItem:
    FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
    On blog:
    from "SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::businessPartner" as a
    SAP_HANA_EPM_DEMO is the schema
    sap.hana.democontent.epm.data is the package
    businessPartner is the view
    Start simple... before the seletion try it out on Studio SQL.
    Regards, Fernando Da Rós

  • Using calculation view in excel with input parameters

    Hello
    I have a calculation view which receives 2 input parameters for a range of dates, when i create the connecction with Excel i get the error "sql processing error: Hierarchy source query: SQL: column store error: search table error: [34092] search on calculation model requires parameters: Required variable $$MyVariable$$ is not set"
    I would like to know how can i pass the parameteres from excel to my calculation view??
    Thanks

    I doubt this can be achieved with a native Excel connection. Try SAP Advanced Analysis for Office. (I believe it may now just be called Analysis for Office).

  • Column Value change in BO report vs HANA calculation view

    Hi,
    We are having BO  reports on  Standard hana views.
    We have some columns  in calculation view as below in Hana studio
    Column Name     Column Purpose
    1.Cost Center---(Gives cost center number)
    2.Cost center Name--(Gives description of cost center )
    3.Cost Element-which --(Gives cost center number)
    4.Cost Element Name-(Gives description of cost center)
    when we preview the data with these coulumns in hana studio there are giving the result as specified above.
    But if I run the report in BO using the above 4 columns ,I could see only descriptions for all the four columns as below
    1.Cost Center---(Gives description of cost center)
    2.Cost center Name--(Gives description of cost center )
    3.Cost Element-which --(Gives description of cost center)
    4.Cost Element Name-(Gives description of cost center)
    As per our requirement we should get numbers for cost center and cost element.
    I have observed in semantics that cost center and cost element have label columns mapped to them as below
    cost center has labelcolumn as costcenter name
    cost element has labelcolumn
    Please see the attached file . Is this happend because of the labelcolumn mapping
    we want the cost center and cost element to be displayed as numbers only.  Please suggest me on this.
    Thanku

    Hi Chandra,
    TEXT is coming because you have defined as "Label Column" . In HANA, Data preview the column names will only come but not "Descriptions".
    What is your reporting tool?  If it is AO, have a look on the below blog:
    Using Text Joins to enrich Attributes with "Texts" in SAP HANA with SAP BO Analysis Office
    Regards,
    Krishna Tangudu

  • Calculation View computing 1 million net present values using BFL procedure

    Hi,
    i have around 1 Million financial positions in a position table and for each of them i want to calculate the net present value using SAP HANA BFL procedure _SYS_AFL.AFLBFL_NETPRESENTVALUE_PROC. The necessary cash flows, interests, etc. (used as input for the BFL procedure reside in a cash flow table
    To make it nice i would like to use a HANA calculation view, which provides the position table together with a calculated field NETPRESENTVALUE
    Now my question: How can i do this the fastest way? The challenge i see is, that the BFL procedure allows only the calculation of one net present value result at a time (based on the cash flows of one financial position).
    So i am afraid i have to use
      DECLARE CURSOR l_position_cursor ...
        FOR l_position_row as l_position_cursor DO
             CALL _SYS_AFL.AFLBFL_NETPRESENTVALUE_PROC ...;
        END FOR;
    Do you have any better / more performant ideas?
    Thanks for any idea,
    Gunther

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • Calculated view with input parameters

    Hello there.
    I've created a calculated view with input parameters, which I am going to call  it  'VIEW_A'.
    This view has been working just fine.
    But now I have to create another calculated view and import the last one(VIEW_A) in a projection.
    But I got a error when trying to see the data content. 
    It says :
    Error: SAP DBTech JDBC: [2048]: column store error: search table error:  [6968] Evaluator: syntax error in expression string;expected TK_ID,parsing '"DT_DOC_MES_ANO" >= [here]and "DT_DOC_MES_ANO" <='
    At the 'Problems' panel it says the all the input parameters are unmapped.
    What Am I doing wrong?  Sorry but I am kind new at SAP world.

    http://scn.sap.com/message/15489475Hello Tiago,
    Could you please let me know if you're able to resolve your issue, I'm getting the similar error when I'm passing alpha numeric values as parameter via my SP.
    Thanks for your help in advance!
    Regards,
    Sathish

  • How to Rap a Stored Procedure in Calculation View

    Please suggest/guide with step by step how to rap a stored procedure in calculation view, which latter I can use to call from odata service.
    I have one input parameter PRDID
    Table: Product
    PRDID
    PRDTYPE
    PRDCAT
    QTY
    PRICE
    MMT1
    OP
    BOOKS
    1
    12
    MMT2
    OP
    BAG
    2
    32
    MMT3
    OP
    PEN
    3
    12
    MMT4
    OP
    NOTEPAD
    6
    12
    MMT5
    OP
    MOUSE
    6
    36
    MMT6
    OP
    HANDBAG
    1
    22
    CREATE PROCEDURE <yourschema>."Product" (INOUT prd VARCHAR(10)) LANGUAGE SQLSCRIPT AS
    BEGIN
    select "PRDID", "PRDTYPE","PRDCAT","PRICE"
       from <yourschema>."Product"
       where "PRDID" = :prd;
    END;
    Thanks

    Hi Deere,
    Check this post, we already discussed the same.
    http://scn.sap.com/thread/3528968
    Step 1 : Create a calculation view in script mode.
    Step 2 : Create your output structure(as same as the procedure output structure)
    Step 3 : Call the procedure inside the script .
    Step 4: Map the fields to the output variable.
    Step 5: Map the input variables to the procedure input(if needed)
    Exposing :
    Step 5 :  In the xsodata file, you can consume as usual .
    Sreehari

  • Composite provider accessing remote hana calculation view

    I have a scenario to combine data
    1). master data from BW system or DSO data (HANA DB )
    2).Calculation view ( utilizing HANA live views resides in another HANA DB ).
    Wondering different possible scenario's based on 100% HANA system landscape environment.
    Thanks

    Hi,
    I guess you publish the view into BW as a TransientProvider and then combine it with other InfoProviders in a CompositeProvider.
    Creating CompositeProvider in the Analysis Process Designer - Analytic Engine - SAP Library
    Regards,
    Michael

  • Scheduling AFO that uses HANA Calculation View

    We are using Analysis for Office against a HANA Calculation view.
    We are saving the Analysis for Office workbooks on the BI platform.
    I am able to create a publication, schedule the workbook emailing it to myself.  It shows that it successfully completed, but I never get an email.
    I am able to open the workbook from the BI Platform in AFO and it does refresh.
    Any ideas?

    are you able to see the output of schedule in the History?
    Do you have any issues with the SMTP? are you able to get the Email from BO server?
    refer the below doc.
    http://scn.sap.com/docs/DOC-44785
    BI Publication on 4.1 running successful but not sending emails to outlook

  • Simple way to create a "RANK" on a graphical Calculation-view ?

    Hi guys,
    I've saw some articles around, about creating a "Rank" column, in order to select TOP N inside analysis level (Design Studio in this case).
    The problem is, that all of them were incredibly complicated (comparing....), And I wonder if there's a simple way to any "Rank" function these days (or in future versions).
    My source:
    SAP HANA: Implementing RANK using Graphical calculation View
    Thank you,
    Or.

    Hello Or,
    Using Script based view, you can use RANK() function.
    From Graphical, I have not found any way to implement RANK. So will have to wait along with you to know, if there is an easier way to implement rank from graphical calculation view.
    Regards,
    Krishna Tangudu

Maybe you are looking for

  • How to view information based on selection from table

    I currently have a roles table, usersinroles table, and a users table. The users table has a user ID, the roles table has a Role ID, and the usersinroles table has Role ID and user ID as foreign keys. Many users can have many roles. On one page I hav

  • Upgrading from Solaris 10 s10_72 (beta) so patches work

    Hi, What is the recommended way to go from Solaris 10 s10_72 X86 (beta) to a release that I can actually patch? Thanks!

  • Some materials are used by WM and some materials are not used by WM in SLOC

    Dear Experts. We are going to use WM in F100 Storage Location. But because of business, Some materials(A) will be managed by WM and some materials(B) will be not managed by WM in same storage location. So some materials(A) have WM view in material ma

  • Counting line breaks

    Hello, I have a text field which can display up to 4 lines in Arial, size 9. I want to change the font size when there are more than 4 lines in it. Is there a way to count carriage returns in a field? e.g. IF string.count(:RECIPES, "<cr><lf>") > 3 TH

  • 10.6.8 upgrade - now parallels won't load

    I upgraded to 10.6.8 and since then, although Mac OS seems to be working perfectly I am unable to start Parallels 6.  It stalls immediately on the grey "sausage shaped" item sayin Parallels Desktop with a spinning logo.  Parallels has been working pe