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
Deepali

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.
    Regards,
    Rakhy. 

    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
    http://help.sap.com/businessobject/product_guides/boexir31/en/resdk_java_dg_12_en.zip
    http://help.sap.com/businessobject/product_guides/boexir31/en/resdk_java_apiRef_12_en.zip
    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();
    out.println(name);
    =========================================
    -Prithvi

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

    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)
       //wdContext.nodeBapi_Salesorder_Getlist_Input().
       //wdContext.nodeBapi_Salesorder_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionExporToExcel(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionExporToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExporToExcel(ServerEvent)
         try{
         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();
           ps.println("<tr>");
           while(attributes.hasNext()){
            ps.println("<th>");
            DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
            ps.println(attrName.getName());
            ps.println("</th>");
           ps.println("</tr>");
          for(int i=0; i<wdContext.nodeBapi_Salesorder_Getlist_Input().size();i++)
            attributes=wdContext.getNodeInfo().iterateAttributes();
            ps.println("<tr>");
            IWDNodeElement ele=wdContext.getElementAt(i);
            while(attributes.hasNext()){
              ps.println("<td>");
              DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
              ps.println(""+ele.getAttributeAsText(attrName.getName()));
              ps.println("</td>");
            ps.println("</tr>");
           ps.println("</table></body></html>");
           ps.flush();
           ps.close();
           fos.close();
          catch(Exception e){
           wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
          finally{
         //return("Test.xls")  ;
        //@@end
      }h action and i have return the code
    its running sucessfully but am not able to perform the action plz help me

    Hi,
    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())
    Cheers,
    Robin

  • FM for uploading data into internal table from Excel sheet

    Hi,
    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 .
    STRUCTURE ZAKHIL_CELLS1 .
    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,
    Akhil

    hi,
    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[].
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          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
        TABLES
          intern                  = int_excel
        EXCEPTIONS
          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.
      ELSE.
        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.     
          ENDCASE.
          AT END OF row.
            APPEND record.
            CLEAR record.
          ENDAT.
        ENDLOOP.
    *inserting into table
      ENDIF.
    if this helped pld rewrd points,
    rgrds
    anver

  • 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,
    plz use FM 'SAP_CONVERT_TO_XLS_FORMAT' :
      call function 'SAP_CONVERT_TO_XLS_FORMAT'
        exporting
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
          i_filename                 = p_file
    *   I_APPL_KEEP                = ' '
        tables
          i_tab_sap_data             = t_mbew
    * CHANGING
    *   I_TAB_CONVERTED_DATA       =
    * EXCEPTIONS
    *   CONVERSION_FAILED          = 1
    *   OTHERS                     = 2
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Hope this helps,
    Erwan

  • 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.
    Problem:
    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
    Testing:
    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...

    Hi,
    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:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
    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.
    Regards,
    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
    programs.

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

    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
    Ram
    09038887788.

  • 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?
    Sincerely,
    Chinmay

    Hi,
    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 ?
    Regards
    -Seb.

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

    Hi,
    [0CALDAY].[LEVEL01]
    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,
    Marianne

  • 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?
    Regards,
    Rajni

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

  • 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.
    Regards,
    Vaibhav

    Vaibhav,
    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....
    Thanks,
    John

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

    Hello,
    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:
    30,0
    Rebuild this String to:
    30,0
    Kind Regards,
    Alican

Maybe you are looking for

  • Error while deploying WAR file in TOMCAT

    hi. I have put my SEA.WAR (test WAR file) into /webapps of TOMCAT. I checked the server.xml and put:      <Context path="/SEA" docBase="SEA" debug="0"/> I restarted TOMCAT and tried to execute the file:      http://localhost:8080/SEA/index.jsp But I

  • Accessing the functions in C

    Hai, I am new to JNI world. I want to access the functions that are written in C using JNI, can any one of you tell me some references to the sample code. Also is it necessary to convert the data types that are used in the C functions with the JNI da

  • Can i delete all my pictures in photo stream?

    If I can't delete individual pictures from photostream, can I delete all of them and start over?

  • Tranparent "blocking" in IE7

    Am having an issue where charts and images with a transparent background are showing a weird box in IE7. Has anyone run into this issue? If so do you know a fix?? Thanks.

  • A simple BADI implementation - very urgent

    Hi,   I am new to ABAP. I need a small piece of coding. I am implementing a BADI. There is a table which has 3 fields (MATID, LOCID, STATUS and PLANNING_DATE). For each MATID (material ID), there are many LOCID (Location ID) available. My BADI has to