Export Data of a Web Report  having 2-3 Queries(tables) Onto 1 Excel Sheet

I have a Report designed in Web Application Designer. It has 2 or more Table Web Items in it to which different queries are bound.
Although the data of these queries is shown as one Report but to the user it is very annoying when he has to export the Data separately for each block and then copy-paste in order to have a single Exported File (as till then the user thinks it is just one Report).
The question is : Is there a way in which one can Export entire Data of a Web Report  having 2 Queries(tables) Onto 1 Excel Sheet once, so that 2-3 exports or more from context Menu, and then copy-paste from excel, can be avoided?

Hi , I have gone through this document
got this installed (the pre requisites) through SAP admin.
& now the  code in html pane is  as below :
First I am trying with Button option with only one dataprovider. Later will do changes for context menu option & more dataproviders.
But when i click on "Web printing with excel" , progress bar finishes & nothing happens.
Should't the result set be exported to Excel
Am i missing on some part.
Best Regards

Similar Messages

  • How to read Data of a Webi Report

    Hello Friends,
    I have a task where I need to read data of a Webi Report, how can it be done?
    Basically I have a trigger report which runs every day and get the latest RACN number from the database. I am trying to get that RACN number from trigger report using BOBJ SDK.
    I really appreciate your suggestions on this.

    Hi Rakhy,
    Is the RACN Number a column or dimension in your webi report? Is it a universe object(webi based on universe)
    Also what version of BusinessObjects you are using?
    If you are using XI 3.1 and you need to retrieve objects from a webi report it can be done using the ReportEngine SDKs.
    Please refer to the developers guide and API referrence guide available at
    Also refer to the document at
    http://scn.sap.com/docs/DOC-38618 for better understanding the workflow.
    An example snippet of how to retrieve an object is below
    DocumentInstance wiDoc = widocRepEngine.openDocument(oInfoObject.getID());
    ReportDictionary reportDictionary=wiDoc.getDictionary();
    for(int a=0;a<reportDictionary.getChildCount() ;a++)
    String name=reportDictionary.getChildAt(a).getName();

  • How to show muliti language data correctly using webi reports

    Hi ,
    Can you please suggest me how to show multi language data correctly in webi reports .
    Do we need to install any lang pack in both server and client machine ?
    Thanks & Regards

    you mean using translation manager? or data from DB? or both.
    You need to make sure that your DB is already configured for multiple languages.
    Enable the OS for multi languages
    On XIR3.1, you will need to install language packs on the processing servers.  then you can utilize translation manager.
    Installation of Language Packs are a pain to install and update.

  • How to export the data from table to excel sheet

    hi experts i have some problem am trying to export the data fro table to Excel sheet  in the view controller i have created one button wit public void onActionCLEAR(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCLEAR(ServerEvent)
      //@@begin javadoc:onActionExporToExcel(ServerEvent)
      /** Declared validating event handler. */
      public void onActionExporToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExporToExcel(ServerEvent)
         FileOutputStream fos=new FileOutputStream("Test.xls");
          PrintStream ps=new PrintStream(fos);
          ps.println("<html><body><table border=1>");
          int size=wdContext.nodeBapi_Salesorder_Getlist_Input().size();
           Iterator attributes=wdContext.getNodeInfo().iterateAttributes();
            DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
          for(int i=0; i<wdContext.nodeBapi_Salesorder_Getlist_Input().size();i++)
            IWDNodeElement ele=wdContext.getElementAt(i);
              DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
          catch(Exception e){
           wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
         //return("Test.xls")  ;
      }h action and i have return the code
    its running sucessfully but am not able to perform the action plz help me

    You shouldn't use DataAttributeInfo as it is an internal object, if I'm correct.
    Use IWDAttributeInfo instead of DataAttributeInfo and it should work
    (See also API doc of IWDNodeInfo.iterateAttributes() at http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html#iterateAttributes())

  • FM for uploading data into internal table from Excel sheet

    I have a slight problem in one of the function modules that I have created. Actually it has been copied from a standard SAP function module “KCD_EXCEL_OLE_TO_INT_CONVERT”. Now my created function module is throwing me a dump suggesting “Data objects in a Unicode program are not convertible”. Can anybody help me out in removing the error .
    Actually the need of copying the standard FM to a ZFM is to increase the length of the column which can be uploaded thru this FM. The standard FM has a restriction of being able to upload 32 characters whereas my requirement is to upload data having at least 150 characters. So in order to care the need I made a ZStructure ZAKHIL_CELLS taking the Value parameters as 150 characters instead of 32 characters.
    Well this is all done because I wanted to upload a excel sheet into an internal table and not use a tab delimited file. Can anybody help in this regard or suggest some other function module which can upload more than 150 characters from a excel sheet .
    ‘m also attaching structure of my ZStructure for ur reference .
    ROW KCD_EX_ROW_N NUMC 4 Flexible Excel upload: row number
    COL KCD_EX_COL_N NUMC 4 Column
    VALUE KCD_VALUE CHAR 150 External Data Transfer: Values of Parameters or Variables
    Thanks & Rgds,

    sample excel sheet.
    coloumn 1 is name and column 2 is age
    name age
    A     8
    C     13
    D     55
    DATA : int_excel LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    data : record like db_name_age occurs 0 with header line.
    DATA : v_start_col TYPE i VALUE '1', "starting col
           v_start_row TYPE i VALUE '1', " starting row
           v_end_col   TYPE i VALUE '2', " total columns
           v_end_row   TYPE i VALUE '10'. "total no of record
    FORM f_upload .
      CLEAR : int_excel, int_excel[].
          filename                = wf_filename
          i_begin_col             = v_start_col
          i_begin_row             = v_start_row
          i_end_col               = v_end_col
          i_end_row               = v_end_row
          intern                  = int_excel
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
    *Message is 'Unable to upload data from  '  wf_filename.
        MESSAGE e169(zm050) WITH wf_filename.
        SORT int_excel BY row col.
        REFRESH : record.
        CLEAR   : record.
        LOOP AT int_excel.
          CASE int_excel-col. "go thru each column.
            WHEN 1.
              record-name  = int_excel-value.
            WHEN 2.
              record-age = int_excel-value.     
          AT END OF row.
            APPEND record.
            CLEAR record.
    *inserting into table
    if this helped pld rewrd points,

  • Gui_download for transferring the data from internal table to excel sheet.

    hi all,
    i am using gui_download for transferring the data from internal table to excel sheet.
    I have a internal table with 3 columns col1,col2,col3 and I am getting the file at the specified path,but my problem is that,in the excel sheet(path specified) all the 3 columns values are printed in one column.Please help me.
    Thanks in advance.

    Hi Venkata,
      call function 'SAP_CONVERT_TO_XLS_FORMAT'
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
          i_filename                 = p_file
    *   I_APPL_KEEP                = ' '
          i_tab_sap_data             = t_mbew
    *   I_TAB_CONVERTED_DATA       =
    *   CONVERSION_FAILED          = 1
    *   OTHERS                     = 2
      if sy-subrc <> 0.
    Hope this helps,

  • PowerView - 1 Workbook; 2 Data Sources(one linked to SQL and one a table inside excel); Both have same data set but Counts are Different

    Hi Everyone,
    Hopefully someone might have an explanation for the difference in counts.
    Excel 2013 on Windows 7
    A Single excel spreadsheet with 2 data sources: 
    One created using "From Other Sources on the DATA tab which connects to SQL Server"
    Second data source the same data as item 1, but in a differnet worksheet tab inside the workbook
    [Sheet1] - Other SQL data Source
    [Sheet2] - Exact Same data as Sheet1 but in a table
    [PowerView] - 2 tables
    Table one uses Sheet1 as its table data source
    Table two uses Sheet2 as its table data source
    When you Count(Not Blank) using the same criteria and fields for each table, the numbers dont match.
    The one that has the incorrect count is when I use the Table data from [Sheet1] - which is the Other SQL Data Source
    I also created a standard pivot table using Excel and the counts then are both correct for both datasources.  So it must be something in PowerView????
    Any ideas anyone...

    This is the forum to discuss questions and feedback for Microsoft Office client. Since your question is Power View related, I'm moving it to the forum of
    power BI>Power View, where you can get more experienced responses:
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office

  • How to Sort prompt date in BO Webi report

    Hi Gurus,
    I am facing a critical issue in selecting date prompt in my webi report.
    Please find the below image as the dates are not getting sorted as per year.
    Please suggest solution for this.

    Hi Bikash,
          Create a predefined filter in the Universe. The edit the date object by changing the LOV SQL, ordering it on the date field. Now click on the option 'Export with Universe" in the propereties tab and the export the universe.
      Hope it should wok.
    Thanks and Regards

  • Exporting a Intelligence report having a Pivot in to an excel

    Hello,<BR>I am having report which has a Pivot table in it. When i tried to export this report to an excel sheet, all the parts except the pivot is getting exported. Pivot is exported only if the pivot part of the query is being exported.<BR><BR>Need an idea how to export a report(with data from pivot) in to an excel.<BR><BR>Regards<BR>R.Prasanna

    File --> Export-->Section and save in .mhtml format, and open up the .mhtml document in Excel.

  • " Data Retreival in Webi-reports "

    Dear  Friends ,
                                   I have established a  Universe on Top of Info-cube ,I have checked the Integrity of the universe and Exported the universe .
           But the Data which is present in BI is not coming to my Bo tool :: Web-Intelligence Report.
      Can anybody tell me the solution to display the reports in Web-Intelligence.
    Or possible send me some steps to display the data in Web-Intelligence from BI .

    Hai  Saathiya,
           My issue is ,Data is not coming to the Webi-report.
    The universe Connection is fine, The Info-cubes are Present .
    I am able to see the universe connection on the Info-cube.
    But when I run the query,I am unable to see the data in the report.

  • Date issue in webi report after migration to XI 3.1

    Hello All,
    We had designed a webi report in BOXIR2 with run date present in report header section. This report was working fine in XIR2 environment.
    However after migrating this report to XI 3.1 with sp2 and fp2.2, we have observed that date part is getting eliminated from the report header. If date is 13/01/2010, then only 13 is visible and rest of the date is getting out of report. This happens when we export report to PDF (We need final output in PDF).
    The same thing was working fine in XIR2. From 'properties' section of report,  we have verified that report format has not changed. Also we are using latest version of Adobe (9.2).
    Can you suggest us the steps to resolve this issue?

    When you view the Report in WebI Format is the Date shown correct ?
    When you export the Report in xls. is the Date shown correct ?
    Could you please re- validate your formular in XI 3.1 for the date
    Compare the Format of the Object in the Universe between Rel.2 and XI 3.1 (if the Date informations in an object in your Universe)
    Only Adobe Reader 8.1.2 and 9.0 are supported. Can you please install one of these versions and retry ?

  • Date Format in Webi Reports - Error

    Hi ,
       I am using a date dimension in my webI report, but the dimension value is not populating correctly, it shows some constant value for all fileds. I checked the format of the dimension in the universe. It is in perfect format as date.can anyone guide me on this.

    Will normally be defined as a Date type object, so it is treated by WebI as a date.
    When you use the object in a webI report, it will get the default date format based on the locale settings of the user.
    If you are getting a german date format (dd.MM.yyyy is German), that must be your preferences.
    Two ways to go about this:
    1) change your preferences.
    2) fix the date format of the cell by using the FormatNumber dialogue.
    Go to the date/time part and select Custom.
    Now you can type the format you want, i.e. MM/dd/yyyy
    Hope this helps,

  • Data Different in Web reports and Bex Report

    Dear Experts,
    We found that the data in web reports is not in line with BEx reports, The Infoprovider is same the query is same. But when we are executing reports with same varialbes in BEx and Web reports, they are showing different values.
    COuld you please let us know what could be the possible reasons for the above criteria, and how to overcome it?

    Hi Rajni,
    Clear the cache memory and run the web report agian.
    Hope it helps,
    Thanks ,

  • Data discrepancy between Webi Report and same Query fired on SQL Server 2k5

    Hi ,
    We are facing an issue in BO XI R2.
    We need to run a Webi report in which negative values for forecasting data for year 2011 and 2012 should be displayed.
    When we are running this report for negative values, we are getting message u2018There is no data corresponding to this queryu2019.
    Then we tried executing the same query on Database. Here at db level we got the correct required result.
    So now we are not able to find the reason for data discrepancy .
    Why the same query generated by Webi is providing correct data when fired on reporting database and not when running the Webi Report.
    Checklist we have gone through for this troubleshooting is-
    -Connections of Universe (Is universe pointing to same database or not)
    -Any filter condition present at universe level and at report level.
    Could anyone please help on this.

    Have you tried the following when you are in WebI: go under the Edit Query panel, click on the "SQL" icon, and review the query that is getting generated?  At this point you can also click on the "copy" option, then paste this query into your SQL application analyzer and run to see what results are generated.  To me, it sounds like the portion trying to generate the "minus" sign might be getting tripped up causing the disconnect....

  • How to deactivate the context menu for data cells in web reports

    we would like to have the data cells (for example: values in euro) without context menu. I mean, right now, when users navigate in web reports and stop with a mouse over the data cell, text like "Context menu for 5.000 Highlighted" appears. Especially users don't want to see the exception cells with this information like
    "Context menu for 6.000 critical 4".
    Is it possible to deactivate this context info?
    Thanks and Regards,
    Nuran Adal
    Message was edited by: Nuran Adal

    Hello Nuran,
    I guess you want to disable the Tooltip and not the ContextMenu. Anyway, use the table interface for it.
    Have a look at paramter C_CELL_CONTENT
    In Method DATA_CELL.
    This one contains strings like:
    Rebuild this String to:
    Kind Regards,

Maybe you are looking for

  • Outlook 2013 add-in will not stay enabled

    Everytime Outlook 2013 (windows) closes the add-in for iCloud changes to disabled. The only way I can sync calendars etc, is to manually enable the iCloud Add-in EVERY TIME I open Outlook.  What's up with that? It used to work perfectly. I have been

  • Is it possible to make a broadband connection in iOS for ipad?

    Hi, is it possible to make a broadband connection on iPad using iOS 6.1.3 ? As I had this problem in my apple devices, I searched a lot and finally I found out how to make a broadband connection like what what we do on widows 7 or windows 8 on Mac OS

  • My Iphone 3GS went into recovery mode while I was trying to update to the iOS 6.1.2

    My Iphone 3GS went into recovery mode while I was trying to update to the iOS 6.1.2 I need help fast. I'm on call and this is my only phone.

  • Auto-dimming in upcoming 3.0 upgrade?

    The one major thing that frustrates me about the "touch" is that I either have to choose between a few "timed" settings before the screen goes into blank lock mode or I have to leave it on forever which kills the battery. Does anyone know if the upco

  • Adding Metaset, rpc failure -7

    Hi, I try o add a new resource group and diskset to a cluster, and my metaset cmd fails with an rpc failure -7 Solaris 10 11/06, Sun Cluster 3.1 on a Sun Fire V890 root@node2:~ # metaset -s XXXX -a -h node2 node1 ERROR: node1: rpc failure -7 root@nod