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

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,

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

  • Discoverer 10g error when scheduling a workbook using 2 calculations

    When I schedule in discoverer 10 g using 2 calculations it return this error ora-01722 Invalid Number
    If I schedule the workbook with only one of the calculation it run perfectly.
    If I run the query manually using the 2 calculations it run perfectly.
    Calculation are created by me and do not have any error in the code
    Same problem occur using DECODE or CASE.
    Please help

    Hi
    this is bug, refer to doc id: 472947.1 in metalink
    you need to download the Patch 6493304.
    regards,
    Jay

  • 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

  • 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

  • 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

  • Calculation view with input parameters

    Hello there.
    I got a calculation with that expects 2 input parameters.
    But now I have to created another calculation view that import this calculation view.
    How can I pass these 2 parameters using sqlscript?
      My script so far
      cv1 = CE_CALC_VIEW("_SYS_BIC"."calc_1",["CR"],'"COMPANY"=''7000''');
    I must pass 2 parameters in this  "_SYS_BIC"."calc_1" table

    Hi Tiago,
    as I am aware, you cannot pass input parameters to CE function.
    You can try using regular SQL syntax:
    SELECT "CR" FROM "_SYS_BIC"."calc_1"
    WHERE "COMPANY" = 7000
    (PLACEHOLDER."$$PARAM_1$$" => VALUE_1,
    PLACEHOLDER."$$PARAM_2$$" => VALUE_2)

  • Using the Crystal Viewer RDC with a business view report

    Hi
    Ive mananged to get the viewer working with crystal xi rpt files thru an odbc link to a sql database.
    However I want to deploy the viewer for reports that use a business view.  When I do this I get the invalid tlv record.
    Is it possible to use the viewer in this way.
    Thanks

    Sorry there is no integration between the RDC and Business Views.
    Since the RDC has been depricated in CR2008 this will not be availble in the future either.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • 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 use the Calculated attibute in view object

    Hi,
    I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
    After the page gets loaded, there is a search section in the same page at the top.
    Here i will have to build the whereclause to the same query and retrieve the values.
    i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
    Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
    SELECT /*+ first_rows(10) */
    BatchCntl.FILE_CNTL_ID,
    CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
    THEN
    CASE eeh.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE eeh.TRAN_CODE
    END
    ELSE
    CASE Entry.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE Entry.TRAN_CODE
    END
    END AS TRANCODE,
    FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
    WHERE (BatchCntl.BATCH_TYPE = 'E')
    AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
    AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
    and Entry.fi_rt = eeh.fi_rt (+)
    and Entry.entry_id = eeh.entry_id (+)
    AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
    ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
    regards
    Raj.

    Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
      public void doSomething(int i, String s) {
      }and you exposed this AM custom method using the AM editor.
    BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
    package com.yourcompany.someapp.services.common;
    import oracle.jbo.ApplicationModule;
    public interface MyService extends ApplicationModule {
      public void doSomething(int i, String s);
    }To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
    import com.yourcompany.someapp.services.common.MyService;
      MyService mySvc = (MyService)yourAM;
      mySvc.doSomething(1,"foo");

  • 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

  • Using K Means in a Calculation View

    Hi Experts,
    Can you please help me with the below scenario.
    I am trying to use K-Means function to perform clustering on customer data. I have the below columns:
    Attributes:
    Customer ID, Home Ownership Status
    Measures:
    Customers Debt to Income Ratio, Annual Income
    1. Is it possible to use multiple attributes given above to perform the clustering as i read that clustering can be only done using measures.
    2. I need to pass the number of clusters dynamically from report to the K-Means function to perform clustering. I tried to use calculation view to get this parameter from user at runtime and pass to the input parameter table of K-Means function. But the problem is, calculation views will not allow any kind of DDL statements like create/drop/insert/delete/update etc.
    3. Further i would like to understand how to use the results of the K-Means clustering delivered via two tables one having clusters, distance and other having clusters and remaining measures to build a scatter chart. How this can be achieved.
    Please help.
    Thanks and Regards,
    M.N.Adinarayanan

    Hello,
    Would you share your dataset maybe I can help.
    Kind regards.

Maybe you are looking for

  • How do I make iTunes forget my iPhone?

    I set up my iPhone 5 as a new device (not restored from my old iPhone 4 backup) but when I initially connected it to iTunes, I neglected to un-check the box that said something like "Automatically sync apps to this device." This resulted in iTunes tr

  • No longer ANY way to update books in iOS 8

    iBooks, if possible, has gotten worse than ever. On my iPhone, iBooks shows a red badge with the number 3 in the "Purchased" tab. That means three books have available updates. But there is no way on the iPhone to figure out what those books are. On

  • Macbook Pro - Can't Repair Disk, but I Want to Take Files Off It?

    Hi everyone So I have my Macbook Pro here. It won't turn on. I have had it in a drawer for a couple of months now, as I got a new computer and just now realized I had a bunch of pictures on there that I wanted to move over to my new laptop. Whenver I

  • Find Check number through GL account

    I need to find the check number through running the GL. i have tried to set the check number field in FBL3n but it doesnt work.Any expert have an idea to get the information, i need it once only if we can extract the data from tables then it will be

  • Lobby Administraton

    Hi, I am confused on how this work. My concern is regarding lobby administratoion,  when the lobby administrator generate a guest login ,  he/she there is no option to send or print the Guest login. Is there any additional appliance or application I