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

Similar Messages

  • 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,

  • 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

  • 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

  • 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

  • Filters from BW in HANA Calculation View

    Hi, Gurus!
    We start using HANA modeling and faced with some issues in filtering. Hope someone can help us, maybe anybody faced with same error and give us they expirience.
    Well, we have following model
    On this model we create Virtual Cube in BW. All objects mapped.
    So, when we try to open query for 1 day, or for 1 month, or even for 1 quarter time of execution the same. Of course in simple models (one analytic view on them projection and after aggregation) this situation not occurred.
    We tried to find some information about this case, but all in vain. As we think filter from BEX Query or ABAP cube preview must transfer to all objects in calculation view but in fact, we fully sure about it, block 1 (look at picture above) not limited...
    Maybe this happen because our usage this block (type of join, or maybe characteristics which joined) :
    So any help about how to understand this behaviour of system, or how correctly create CALC View to using all filters from BEX, or how debug in HANA call of CALC view from BEX, will be very useful!
    Thanks in advance!
    Best regard,
    Alex

    I'm not sure I understand your question, but I think you are saying that your execution time is the same for any query, even if you filter heavily.
    This can be the case if you join between two fact tables. Avoid this by using Attribute Views or a Union with Constant Values.

  • 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

  • How to provide dynamic labels for calculated columns in HANA calc views

    Hi all,
    we have the requirement to provide dynamic labels for some calculated columns in our calculation view - how to do that?
    Thanks and kind regards,
    Alexander

    Calculated Columns can only generate a value from fields of the current item. And only some types of fields (for example, it can't use a lookup column).
    Consider using a workflow to accomplish your goal.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • 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

  • 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

  • Creating a Composite Provider in SAP BW 7.3 on HANA

    Hi All,
    We are currently on SAP BW 7.31 SP8 on HANA and would like to ask if you guys can provide some guides on how to create a simple Composite Provider in our current BW version.
    I tried creating the object through RSLIMO / RSLIMOBW. But in the right panel of the screen which is supposed to show the list of available info providers is somehow disabled (see attached screenshot - error_CompositeInfo.jpg) and I couldn't choose any infoproviders to drag it to be used.
    Any particular steps that needs to be carried out prior to this? Appreciate your help.
    Thanks very much,
    Jeffrey

    Hi Prado,
    Please refer the link for detailed steps:
    http://scn.sap.com/docs/DOC-53352#__RefHeading__742_705700879
    Thanks Much,
    Abhishek

  • Can we import Composite provider, Hybrid provider, Virtual Porvider, Advance DSO, Transient Provider to HANA Studio?

    Hi to all,
    Can we import Composite Provider, Hybrid Provider, Virtual Provider, Advance DSO to HANA Studio.
    If yes then How?
    Note: we are already on BW on HANA
    Regards
    Pavneet Rana

    Hi Pavneet,
    As per SAP development strategy Hybrid, virtual and transient providers will be replaced by composite provider. New design are recommended in new composite provider.
    Advance DSO and composite provider can designed and modified via BW modeling tools. 
    You need bw modeling tools 1.5 and above is recommended.
    SAP Development Tools for Eclipse
    In order order to use Advanced DSO you need BW 7.4 SP 9.
    Thanks,
    Shakthi Raj Natarajan.

  • How to make a BW Infoprovider for a SAP HANA Calculation-/Analytcial-View

    Hi
    I have got a BW 73 with a Hana.
    How can I  make a BW Infoprovider for a SAP HANA Calculation-/Analytcial-View in SAP BW ?
    Thank You
    Best Martin

    Hi Rekha,
    No need to do anything, just we need do migrate standard info cube to In-memory Optimized Info Cube. Once it is turned to In-Memory optimized Info Cube(We will have F table surrounded by master data tables) and no dimension tables in HANA.
    F-tables is nothing but Analytic View in HANA and Master data tables are nothing but Attributes in HANA.
    once you migrate to In-Memory Info Cube, your tables are ready in HANA and you can create different view.
    have a look at the below videos.
    https://www.experiencesaphana.com/blogs/bwonhana/2011/10/18/prerequisites-for-bw-on-hana
    http://www.sdn.sap.com/irj/scn/data-warehousing-elearning
    Regards,
    Venkatesh

  • Error while executing BEx Query on Composite Provider

    Hi,
    We have a BW on-HANA system, patch level SAPKW73105.
    We have created a Composite provider based on the union of two DSOs, two infoobjects, one SPO, and there are a couple of joins with two other DSOs, on the top of that we built a BEx query.
    While executing the BEx query, sometimes (depending on the filter values), We got the following error message
    "Attribute engine failed;Error executing physical plan: exception 6900: AttributeEngine/Parallel/DimensionFilter.cpp engine failed; $function$=getValidFemsPA;"
    "Error 6,900 has occurred in the BWA/SAP HANA server"
    "Error reading the data of InfoProvider @3ZSDRPCP5"
    "Error while reading data; navigation is possible"
    "Row: 59 Inc: MAP_TREX_EXCEPTION Prog: CL_RSDRH_TREX_STORAGE"
    (Attached error message)
    Ii We browse the composite provider data using the "display data" option in the RSA1, data is displayed without issue, the problem only appears during the BEx query execution and only with some filter vaues.
    Any idea on how to fix the issue.
    Thanks,
    Federico

    He's on 7.3 EhP1, which is on SPS12 today. It got pretty stable by SP08, SP09. SP05 was pretty early on, and had a lot of bugs in the HANA views.
    7.4 is on SP07 like you say, and most of our customers run at least SP06 - before then, you had to apply a bucketload of SAP notes. I would recommend customers apply SP08 with care because it's a feature release so will have a bunch of new features, which will no doubt need corrections.

  • Calling a procedure from Calculation View with Debug function

    Is it possible to call a debuggable hana procedure in a calculation view?
    I just saw the video  HANA Academy - HANA Native Development Workshop: SQL Script Editor - YouTube for HANA Native Development workshop and got the debug functionality to work for a file Procedure.
    But I am unable to call this procedure from a Calculation View.
    Below is the code I am using for the SQLScript Calculation View. Can someone tell me if this is correct?
    /********* Begin Procedure Script ************/
    BEGIN
    call "_SYS_BIC"."test-package.RF.SalesOrders.procedures/get_sls_ordtype"(SalesDocNo => '0070004105', SalesDocTypes => ?) ;
    var_out = CE_PROJECTION(:SalesDocTypes, ["SALESDOCNO" , "SALESDOCTYPE", "ORDVALUE"] );
    END /********* End Procedure Script ************/

    Hello,
    Just provide the out parameter in the call:
    Declare
      amount   number; -- OUT number argument populated by the procedure
    Begin
      -- call the X procedure --
      x( amount ) ;
    End;Francois

Maybe you are looking for