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.

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

  • 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

  • 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

  • Deriving Time Characteristics from Date fields in ODS View

    Hi,
    I am creating ODS Views using HANA calculation views.
    is there any direct approach to derive time characteristics like cal week, cal quarter, cal month, calmonth 2, fiscal year, cal year etc from date fields?
    work around:
    Deriving them in HANA view in calculated columns and mapping them to IO created with respective time characteristics as reference.
    is there any standard and easy to use approach for this??
    Thanks in advance.

    Hi Ravi,
    Insteod deriving them in the ODS view you can derive them in tha Calculation View in SAP HANA itself using Time Dimention concept.
    Regards
    Jagan

  • 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).

  • Call a Graphical Calc view with input Parameters from a Script Based Calc View

    Hi All.
    I am trying to call a graphical calculation view with input parameters from a script based calculation view as below but getting syntax error:
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                 WITH PARAMETERS  ('PLACEHOLDER' = ('$$IP_START_DATE$$',:START_DATE),
                                     'PLACEHOLDER' = ('$$IP_END_DATE$$',:END_DATE));
    START_DATE  and END_DATE are input parameters of the script based calculation view.
    Can anyone please help me with the correct syntax for accomplishing this?
    Thanks,
    Goutham

    Hi Gautham,
    One more option  what i would like you to try is the below option , here i have just changed the order of passing nothing else.
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                   ('PLACEHOLDER' = ('$$IP_END_DATE$$','$$END_DATE$$'),
                                  'PLACEHOLDER' = ('$$IP_START_DATE$$','$$START_DATE$$'))
    Regards,
    Vinoth

  • 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

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • KDE Plasma 5 crashing at seemingly random times

    I've been having this problem for a while now and so far I've been unsuccessful in trying to troubleshoot it myself.  My computer will be working along fine, and then all of a sudden will freeze.  No mouse pointer movement, no keyboard input, trying

  • Can I install Tiger in a Dual 500 MHz PowerPC G4?

    Can I install Tiger in a Dual 500 MHz PowerPC G4, or is it better to stick with 10.3.9? I'm having some problems so I was going to wipe he hard drive and re-build everything from scratch o I was wondering if migrating to OS X 10.4.9 is worthwhile or

  • IPad smart cover loses coating Apple does't replace

    Hi, I have the iPad 3 with the original smart cover since 4month. I called Apple Hotline because of issues with the coating on the cover. The aluminum part of the cover looks crappy because it is loosing the coaing. You can see the pictures... The ho

  • Problems using meinvz in firefox

    After a few minutes I´ve been looked out on this site

  • NLB with IIS on an external infrastructure

    Hello, I set up a 2 IIS with NLB infrastructure. It want it to dispatch my clients 50-50. It works in my internal network but it doesn't work from external when my clients are behind a unique public IP adress (all my connections are directed on my fi