Calculations with Web Report results

Hello, I'm just getting started with SAP BW and Web Reporting and that’s why I need some help. I have created a Web Report that shows the query results in a table. Now I want to make further calculations within the report. Therefore I have to access the results of the web report and I just don’t know how to do this. Maybe there are some javascript functions for that problem?

A basic form of web report is to show the Bex report in Web table form, for that we assign the query to the table in the web table item.
if further calculations need to be done using the already present keyfigures, then you can use the Calculated Key figure.
Depending on the scenario you can also define the cell calculations, if you have structures both in the rows and columns.
Refer to Web Table API to manipulate the cells of  the web table. This article using Web Table API could be helpful for you.
Table interface doubt ?

Similar Messages

  • What is the right sdk api to work with webi reports in BOXI Release 4?

    Hello,
    I just read in the omg model for rebean (sdk for working with webi report documents) that all functions to access the report structur and layout are no longer availabe beginning with Release 4.
    Can anyone confirm, that this is the case?
    Are those functions moved to a different SDK component?
    Thanks in advance,
    Bernd
    Dokumentation about rebean _omd
    u2022 The object model shows many funtions , classes in red which means:
    Note: The Classes, Interfaces, and Methods marked in red are no longer functional from the SAP
    BusinessObjects Business Intelligence Platform 4.0 release onwards.
    u2022 Among those functions are all !! We need to analyze the report layout
    u2022 No longer supported: DocumentInstance.getDictionary() , DocumentInstance.getOpenDocumentInfo(), DocumentInstance.getResourceManager(), DocumentInstance.getStructure()
    u2022 Classes no longer supported: ReportElement, ReportDictionary, Query, QuerySorts, DataSourceObject(s), SQLDataProvider,QueryNode, DPExpression, QueryContainer, Link,
    u2022 Classes no longet supported: ReportBody, ReportContainer, ReportStructure, ReportBlock, Graph, *Table
    u2022 Classes no longer supported: Cell, PageHeaderFooter

    Thank you for the information srrachna !
    Well, the point with the report engine sdk is a surprise. What is the sense of new functionality when you cannot use it (spoken for the api processing), and in addition when the new functionality eliminate functionality which was available before in the sdk.
    In my view this cut is to hard. The .pdf speaks from deprecated, but the blog and the information in the report engine api speaks a different language. The functionality is not just deprecated but no longer available.
    Hope SAP will address that before relase 4 becomes GA in May 2011.

  • Calculation in Webi Report

    Hi Experts ,
    I want to show the result calculation of a Webi Report (derived from Bex query which uses %YT in CKF) . Since BO doesn't support %YT so I am creating the dynamic calculation in Webi :
    Scenario :
    Data in Report is like this : If in selection 03.2015 calmonth is given -
    Calmonth -> 03.2015
    Region
    Order Value
    Adjusted Value in %
    APAC
    86790.84
    24.34
    EMEA
    119436.86
    33.5
    AMER
    150280.64
    42.15
    Total
    356508.34
    100
    Here Adjusted Value in % is the percentage with compared to the total . for example for the first row its is 86790.84/356508.34 . So the Sum of this is coming as 100 which is correct .
    Formula used is = [Order Value]/SUM(Order Value]) In Report
    Both are giving the desired output .
    But when the selection is given as 03.2015 – 04.2015 , that time the percentage is calculated based on the total value of [Order Value] for these two months.
    For example in 03.2015 , for the first row it is getting calculated as
    86790.84/(356508.34+150634.84) which is equal to 17.11 as displayed in the report (Which I don't want)
    Calmonth -> 03.2015
    Calmonth -> 04.2015
    Region
    Order Value
    Adjusted Value in %
    Order Value
    Adjusted Value in %
    APAC
    86790.84
    17.11
    61135.4
    12.05
    EMEA
    119436.86
    23.55
    66419.34
    13.1
    AMER
    150280.64
    29.63
    23080.1
    4.55
    Total
    356508.34
    70.3
    150634.84
    29.7
    For 03.2015 , I want it to be calculated as 86790.84/356508.34 and for 04.2015 it should be 61135.4/150634.84 .
    So that in every month (Based on the user Input) , the Adjusted Value in % should be 100% .
    How to achieve it .
    Thanks in Advance ...
    Points will definitely be Awarded ..

    Hi Samir,
    Use = [Order Value] / ([Order Value] In ([Calmonth]))
    Thanks,
    Tanveer

  • Unable to save the webi report results in CSV file in XIR2 environment

    Hi Team,    
    We have one WebI report in BOXIR2 version and it fetching nearly 76+ records in the report. The report is running fine without any issues and when i am trying to export the results into CSV file we are getting the error msg (Maximum Binary file size exceeded WIS30271). The file size is more than 80MB and hence it throwing this error. I have checked the Maximun Binary File size that is set in CMC and it is set to 80MB.
    When i ran the same query in the database and exporting the results in to csv file the file size is under 80MB. I would like to know the reason why there is a difference in the file size when running the query manually in database and exporting in to csv file and to export the results set in to csv through business objects.

    Below are the possible causes to get this error message:
    1] When a large Web Intelligence report is exported to CSV format, we get error: Max Binary file size limit exceeded. The document is too large to be processed by the server. Error WIS 30271
    Cause
    This error message appears because BusinessObjects Enterprise allows documents to be saved with the limit specified for Web Intelligence Report server settings in the Central Management Console(CMC).
    To resolve the error follow the below steps:
    - Login to Central Management Console (CMC) using BusinessObjects Enterprise "Administrator".
    - Navigate to "Home >> Servers".
    - Click on "Web Intelligence Report Server" to open its properties.
    - Increase the "Maximum Binary File Size"(Default value=50 MBytes; Maximum value = 65535 MBytes).
    - Click on "Apply" and then on "Update".
    - Allow the Web Intelligence server to restart.
    2] In Web Intelligence, when attempting to save a report to Excel or Portable Document Format  (PDF), the following error message appears:
    "Max binary file size limit exceeded. The document is too large to be processed by the server. Contact your database administrator. (Error: WIS 30271)".
    Cause:
    This error message appears because Business Objects Enterprise allows documents to be saved up to the limit set for Web Intelligence Report Server in the Central Management Console (CMC).  The default file size limit is 50 megabytes for binary file types like PDF and Excel.
    To resolve this error message, you will need to increase the Max Binary file size value.
    1.      Open the CMC.
    2.      Browse to Servers
    3.      Click on your Web Intelligence Report Server.
    4.      On the Properties page, increase the Maximum Binary File Size.
    5.      Apply the setting and allow the Web Intelligence Report Server to restart.
    Increasing these values too high could impact Web Intelligence performance when users attempt to save excessively large files.
    Hope this helps.

  • Mathematics calculation in Webi Report using "For Each"

    Hi All,
    I am using BOXI R3.0, I am stuck in webi calculation for one report report tab. I have 2 tab in one report, one is summary and other is Detail in same report. In Detail tab the data looks like as below:
    DataSet 1:
    DNo.-Date-Hours-Vol-Pri---Tot(Vol*Pri)
    10 -1/12- 01:00---10 ---10 ---100
    10 -1/12- 02:00---20 ---50 ---1000
    10 -1/12- 03:00---30 ---30 ---900
    Sum: 2000
    Now the above is my detail reprot which gave me data by hour, now in summary i removed the hour column then data looks like below:
    Dataset 2:
    DNo.-Date-Vol----Tot(Vol*Pri)
    10 -1/12- 60 -
    1800
    This is because "Vol" measure is sum in universe and Pri is Average.
    This gave me wrong data so How i calculate Tot for Sumarry tab such that it will give me below result.
    Dataset:
    DNo.-Date-Vol---Tot(Vol*Pri)
    10 -1/12- 60 ---2000
    Thanks for the help in advance.
    Thanks,
    Nimesh.

    Hi Nimesh,
    I think you need to wrap a sum around the function and use an input context.
    =(Sum([Pri] In ([DNo]; [Date]; [Year])))*[Vol]
    This will sum the average values down at the year level and multiply it by vol, even though year is not on the table.
    Let me know how you get on
    Regards
    Alan

  • Scheduling Error occurred with WebI Reports on SAP BO Edge BI XI 3.1 STD

    Hello..
    I'm using SAP BO Edge BI XI 3.1 STD.
    When I schedule the webI Report on Infoview..
    Everytime, it failed..
    And setting the date for scheduling, it is needed to reset the data by calendar( ie. 2009. 07. 20.  -> 2009.07.20.)
    What is the reason of failing schedule in WebI report?
    I know it was a bug on BOE XI 3.1 and had fixed with FP 1.x.
    But SAP BO Edge BI XI 3.1 has no FP yet...
    How can I solve this?
    We must use the schedule on WebI reports for start production service on Aug...
    Please let me know...
    Regards..
    Edited by: Choi Min Il on Jul 21, 2009 9:18 AM

    Thans for reply...
    The error message is as follows..
    Object could not be scheduled within the specified time interval.
    Thanks...

  • Special Characters in charts with web reports

    Hello, we are facing a problem to display special characters in charts on web reports (it comes out badly).
    The only sap note found about this problem is note n°1036745, but it is for NW 2004s, but should be solved in NW04s BIJava SP 12, and we are currently with SP 15.
    Has anyone faced this problem with BI 7.0?
    Thanks,
    Philippe

    hi Philippe
    I did not faced this issue. Nevertheless there is another note dealing with the issue. Note 1088411.
    Take into account that your basis should synchronise the level of BI JAVA SP the famous Java Stacks and BI SP (ABAP support package).
    You say that you are SP 15 I guess it is ABAP SP as SPS for 15 is not already shipped,
    if this is not the case please ask your basis to check tihs note 1013369.
    Hope this could help you
    regards
    Boujema

  • Problem in calculation with web analysis

    Hi, Experts..
    Here is an interesting quetion...with Web Analysis
    I need to calculate mat ov/kg for a site which is obatained by (total value/total volume). When i went for calculation option in analysis tool manager and apply formula this,It is taking for only one site calculation not happening for the other sites.Totally we have 60 sites with us and would not be flexible to calculate it individually.
    Is there any possibility to run calc scripts...in web analysis... or how to solve this problem?

    It might be because you have set up the 60 sites individually within the Web Analysis grid? We had some difficulty when first using Web Analysis and needed to put the calculations at the highest level using the calc manager. You also have to be careful if there are lots of columns, due to the way the calculation manager applies calcs and formats due to the inheritance.
    Another option would be to push the calculation back to the cube, which is best practice as it's easier, more scalable for deployments.

  • Publication with WebI report including all transactions from last run

    Hi,
    using BOE XI R3 FixPack 4.
    I want to create a WebI report that should include all data newer than last run time for the publication.
    How do I get last run date for a publication or WebI report?

    Hai,
    Along with Java version you can also take of refreshing data properly.After modification remove everything from the report and again drag data from data tab into the report.

  • Dashboard with Webi Report link  - Cannot access external data

    Dear Gurus,
    I've a  dashboard with access to WEBI report for Language setting.
    All works fine for the group: Administrators.
    If I take the Users out of the Adminstrators group and assign them normal power user group, I get the message that the external data cannot be accessed. No Error # or so is displayed.
    Even if I grant the usergroup Full Control / Power User on the
    Universe,
    the Connection
    Dashboard itself,
    WEBI Application
    Webservices
    Still it does not work.
    As far as I can see is, that it can't be a Network (Firewall)-Problem, because it works for the memebers of the Adminstration groups - What else can it be?
    I've attached the screen shot for your reference
    Cannot find service name=WS_Lang_Pref or you do not have the rights to view this service.

    Hi Guys,
    This error is fixed by maintaining the security profile for
    "Web Service Query"
    Regards,
    -Ahmed Baseer

  • Prompt issue with WebI Report on top of Bex

    Hello Experts,
    I have WebI report on top of Bex. I have Material Parameter on WebI which has materal key and text. When I select Material, It gets only Mateial Name not the key. We have some users they want to see both text and key.
    Any help would be highly appereicated.
    Thanks,
    Ravi

    HI,
    in the universe you have a dimension objects (blue objects) showing the description and a detail objects (green objects) showing the key.
    see here:
    /people/ingo.hilgefort/blog/2008/03/24/businessobjects-and-sap-part-5
    Ingo

  • Issue with webi report on BEx query

    Hi,
    I have created a universe on top of Bex query.  There is no issue in creating and exporting the universe.  But when I try to create a webi report out that BEx query, I am not able to see the values.  Say if I have a column called "Company"  I am getting the value as "All Company" and so on.  What will be the issue?
    But when a report is generated out of BEx analyser they are able to see the values properly.
    Same user credentials are used in both the places (Importing the query into universe, Connecting to BEx Analyser) .
    Thanks & Regards,
    Subbu S

    Hi Subbu,
    the universe will generate a L00 item and a L01 item. The L00 item shows the All member of the characteristic in the case of a flat list and the Top level nodes from a hierarchy. the L01 item should give you what you looking for.
    Ingo

  • Create calculation in webi report

    Hi
    I need calculate in a report like below.
    For example report as below.
    Region          revenue
    North             200
    South            390
    Total
    east               100
    west                 50
    Total
    Grand Total
    Reg above i have two questions
    1)How can i do the calculation for this report?
    2)I need to add any free hand cells for TOTAL rows in report?
    Please advide.
    Best Regards,
    Abhii

    Hi Abhi,
    Simple Way : Break the table by Region and apply Sum Aggregation on qty. you will have a display like this
    Region    revenue
    North      200
    Sum        200
    South     390
    Sum       390
    east    100
    Sum     100
    west     50
    Sum     50
    Sum   740 ( Grand Total)
    Other Way: Create a new report variable ,apply break on Region_num & use Sum Aggregation on Qty.
    Output will be like this
    Region_num    Region     Revenue
    Region 1         North        200
    ..............South       390
    Sum............... 590
    Region 2          East         100
    ..............West          50
    Sum...............150
    Sum................740 (Grand Total) 
    Regards
    Sunil
    Edited by: sunilkumar.k on Mar 5, 2012 4:21 AM

  • Performance Issue with Webi report uses SAP BI Query as the data source

    Hello.
    I have created a Webi ad-hoc report which connects to a SAP BI query through BO OLAP universe.
    The layout of Webi is the exactly the same as the BI query.  There are filters in the Webi to restrict the number of data extraction, but even with data result of 5000 rows, it took about 30 seconds.
    If I execute the BI query with the same filter restriction, it tooks less than 10 seconds.
    It seems that large percentage of time is consumed at the MDX part.
    Is there any tuning method that could speed up the process time of MDX?
    Thank you.
    Justine
    Edited by: Justine Liu on Mar 18, 2009 6:59 AM

    Hi,
    please take a look here:
    [https://service.sap.com/sap/support/notes/1142664] (Look under related notes)
    It includes references to various performance improvements of the MDX interface. From what I saw there it is advisable to upgrade your SAP BI (7.0)  up to at least Support Package 21 (you are currently on SP 15).
    This may also be interesting for you: There is a new Fix Pack 1.4 coming out for BOBJ XI 3.1. Combined with the related SAP Enh.Pack (not sure about the version of this one) should also improve WebI performance. This fix pack is not yet officially released though but it should not take look.
    I recommend that you try the upgrade to Support Package 21 first.
    BTW it is also advisable to take a look in the results of your MDX query (e.g using the MDXTEST transaction). You should make sure that your query is indeed restricted as expected. Sometimes the results you see in SAP native reporting tools (e.g. BEx Analyzer) differ from those returned from the MDX component, depending on the way variables/restrictions where defined in the query designer. It is all about making sure that there is no apples/oranges comparison here.
    Regards,
    Stratos

  • PROBLEMS WITH  WEBI REPORTING FORM BW DATASOURCE

    Hi Experts,
    We need some help here !
    I installed BOXI 3.1 with SAP Integration Kit, also Installed transports on SAP BW 7  following the installation guide, OS= Solaris 10  . We already put all the authorizations as the documentation says,  and started to make a universe on a top a BEx Queries and directly on top Infocube, the universe is generated automatically OK ! , in both cases.
    Then we export them and publish them OK,  but here is the issue: When we try to create a simple report with no more than tow dimensions and one ratio, the report don´t data returns at all !
    Could be an Autorizations issue ? Transports ? SAP Integration Kit Issue??
    Thanks for your ideas !!
    Hugo

    Hi Hugo,
    can you provide the calculation the ratio you mentioned? I assume we are talking about a calculated figure on SAP BW or a formula added in the Query designer. If you have access to  the individual components of the calculation in the universe, just try to build a simple report only with those and see if data are displayed.
    Furthermore would be great to check what happens when you let the query run in the SAP BW query designer. Do you have at least on entry (dimension) in the Rows section and at least the ratio in the columns section there? Do get data displayed when you let the query run in BEx Analyser for the same parameter set that you are using in your WebI?
    I also may be helpful to know which support package is currently installed on your SAP BI system.
    Regards,
    Stratos

Maybe you are looking for

  • Can I stream a movie from my Macbook to my Apple TV on one display, and still use my Macbook for other things?

    I have a Macbook Pro and an Apple TV. What I'd like to do is stream a movie from my CinemaNow Account to my television by using my Apple TV and my Macbook. I know that I can do this my using the mirroring feature, however then I can no longer use my

  • Invoice Unplanned Costs

    Is there a way to associated a different Vendor when using unplanned delivery costs? My problem is we went to moving average price and in order to value my inventory correctly I need to include freight charges. I know that I can put it in the conditi

  • Why doesn't Photoshop recognize changes made to file in Lightroom?

    Hi, I am new to Lightroom and have used Photoshop for many years. I have made many adjustments to a psd file in Lightroom, made sure to save metadata to file... but when I open the file in Photoshop CS6 it reverts to the original version without the

  • Column not appearing in Answers

    Experts, I have a strange problem. I am adding a new column in presentation layer in the online rpd. When I am reloading the server metadata from Answers, the column is not appearing. Any reasons? parag

  • Error on write to control file

    Hi all,      We are using the database sever version Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod working with windows platform. I saw an error in Alert log as follows, ORA-00221: error on write to control file Instance terminated