Export to Excel in WAD

Hi all,
How to get an export to excel in WAD 3.5 and when i click it , it should export the data to excel and also a bookmark for the same?
Please let me know the html which we needs to used to get the above functionalities and explain it
Regards,
pra

Hi Prasad,
here more information:
you need at first HTML-code:
- it is a simle button, which call javascript function
sorry I have some problems to send html code
    BUTTON class="StdButton" style="WIDTH: 100px"  value="Export to Excel" title="Export to Excel" name=""
    Export to Excel
    BUTTON
please check in web how to use BUTTON and javascript function: onclick.
I can not place here the whole code. Server did not allowed me to send it.
- this is the javascript function (put this part of the code into head of html file):
function export_dataprovider(data_provider)
SAPBWOpenURL(SAP_BW_URL_Get()'&DATA_PROVIDER='data_provider+'&CMD=EXPORT&FORMAT=XLS');
If you want I can send you the code per mail.
Regards
Erwi
Edited by: Erwin  Buda on Feb 9, 2009 9:01 AM
Edited by: Erwin  Buda on Feb 9, 2009 9:02 AM

Similar Messages

  • Issue with export in Excel in WAD

    Hi
    I have an issue with export to excel in WAD. I have a web template with two or more tabs.
    On the webtemplate I have two buttons to export to excel. One to export the content from the active tab and one button to export content in all tabs.
    My problem is that when I export to excel it always add the current/active content twice. I've tried with both buttons and they work as expected except that they export one table to much (the active).
    can anyone help / give a clue what to look for.
    br,
    John
    Edited by: John Dolph on Apr 15, 2010 10:50 AM

    Hi
    Sorry I has been a while but the problem still occurs,
    I've defined my export button group like this in a seperate template and I expected that it would only return the resultset from TAB_A and TAB_B but it also export the resultset from the tab I'm currently on.
    <bi:TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS" />
                <bi:BUTTON_GROUP_ITEM name="TAB_BUTTONs" designheight="23" designwidth="300" >
                    <bi:BUTTON_LIST type="ORDEREDLIST" >
                        <bi:BUTTON type="COMPOSITE" index="2" >
                            <bi:CAPTION value="EXCEL" />
                            <bi:TOOLTIP value="Table, Graph and/or Table/Graph download to PDF" />
                            <bi:ACTION type="CHOICE" value="INSTRUCTION" >
                                <bi:INSTRUCTION >
                                    <bi:EXPORT >
                                        <bi:ITEM_REF_LIST type="UNORDEREDLIST" >
                                            <bi:ITEM_REF index="1" value="TAB_A_ANALYSIS" />
                                            <bi:ITEM_REF index="2" value="TAB_A_CHART" />
                                            <bi:ITEM_REF index="3" value="TAB_B_ANALYSIS" />
                                            <bi:ITEM_REF index="4" value="TAB_B_CHART" />
                                        </bi:ITEM_REF_LIST>
                                        <bi:EXPORT_FORMAT value="XLS" />
                                    </bi:EXPORT>
                                </bi:INSTRUCTION>
                            </bi:ACTION>
                        </bi:BUTTON>

  • Problem in Export to Excel in WAD

    Hi,
    We are facing problems while using the "export to excel" feature in WAD.
    While displaying the report in WEB or even RRMX, the display is fine for all fields of the report. However, when i use the export to excel feature from WAD, the fields with length of 24 characters are not displayed correctly.
    It is displayed as "1.4E+23" (this feild displays numbers), whereas the number should be "140000000000000001232007".
    Please can someone tell me what the possible problem could be.
    Thanks in advance
    Regds
    Priyya

    Hi,
    Take a copy of template 0ANALYZER, it will have all the components which have the web analyzer.
    Check the below link for the same:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    Hope this helps........
    Rgs,
    Ravikanth

  • WAD Export to Excel, PDF parameters query export

    Hi,
    I solve the problem with export to excel in WAD. Customer want to see all parameters (and also filters in query) with which are query execute in query in  export to MS Excel or PDF.
    Any advices?
    Thanks
    Petr

    Hi,
    Take a copy of template 0ANALYZER, it will have all the components which have the web analyzer.
    Check the below link for the same:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    Hope this helps........
    Rgs,
    Ravikanth

  • WAD report export to excel formatting not preserved

    Hi,
    when i export BI 7.1 WAD template to excel and copy to another excel sheet cell formatting changes.color formatting is
    not preserved when we copy to another excel sheet.I tried resetting the "preserve visual appearance of workbook" to the
    exported excel sheet, but this didnot work.I am using excel 2007.
    Can anyone tell me how to preserve the excel formatting for WAD template.
    Thanks,
    Harsha

    Hi Roy
    Have you got the report set to bring back a specific number of rows at a time (ie retrieve data incrementally in sets of : setting in options)?
    If so set this to a larger number of rows, Discoverer will then return all data when the reports is run and will export all data to the spreadsheet.
    Hope this helps
    Melanie

  • Export to Excel - File Name WAD 7.0

    Hi All,
    I am using Export to Excel Functionality with WAD 7.0 to export the report to excel format.
    I have used button web item, with an excel picture above it. The functionality works fine.
    But while exporting the name of excel file shown is WAD 7.0 name.
    ex. My WAD 7.0 name is IFIOP_C07_W700, the excel file also gets saved in this name.
    I want it to be made customizable.
    Can you throw some pointers.
    Thanks,
    Sri Arun Prian

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

  • Export to Excel for multiple dataproviders in WAD

    Hello Guys,
    I need a quick note on the requirement. Is there any possible solution to get data from different data providers used in WAD exported into one excel sheet.
    The backend is 2004s but WAD used is 3.5.
    Actual scenario is there are 8 different data providers in WAD with a different query assigned to each data provider. Right now 8 different buttons are provided for Export to Excel for 8 different data providers.
    This works fine bringing data in 8 different excel sheet. But users feel this is very annoying task and they need data from all 8 data providers in one single excel sheet.
    So is there any way to achieve this. I have assumed this to be a long associated problem with 3.5 WAD but i thought there might be a way around.
    Please help me with a solution or either your view on this.
    Regards,
    Shashank

    Shashank,
    This is an oft repeated requirement ... but then export to excel is dataprovider specific and in WAD each dataprovider corresponds to a single table and getting all the data together is not possible .... but then there might be some other work around - you can check the forums for the same where options for the same have been discussed.

  • Problem exporting to excel when using embedded web templates through WAD

    Using web templates designed with WAD, we are experiencing an issue when trying to export excel when using embedded web templates. 
    We have set up tabstrips within our templates that load other templates (embedded into the global template). 
    Upon right clicking on any query and choosing "Export to Excel", any query that is in one of the tabs using the embedded web template item does not show up.  Any queries in natively in the global web template will export and show up fine.
    Any thoughts on how to enable something like this, or workarounds to make this work?  We decided to split up these templates for performance reasons and can't go back from that decision.  Also let me know if you need a better explanation of what we're trying to do.
    Thanks in advance!
    Jonathan

    Hi SDBI,
    Is this in place of loading a new template per tab?  We are using container layouts in all of our templates so we can link things into tabstrips as well, we have just split up some templates to be embedded into tabs for performance reasons and data locking.
    Also when exporting, we are looking for all of the items displayed at that time to be exported, however only the items from the global template show up, not all of the displayed queries.  For example, anything outside of the tabstrip will export perfectly, but since the query embedded into the template the tabstrip is loading is not part of the native web template, it does not show up.
    Seems like a tool limitation to me when embedding templates?
    Thanks,
    Jon

  • Export to Excel functionality for Multiple tabs in WAD

    Hi,
    I have a requirement where in i need to export a report from WAD to excel. The WAD template has multiple tabs which i want individually in seperate excel sheet tabs. How can i achieve this ?
    Regards
    Snehith.

    Hi,
    have a global button (some where on the top) with command 'export to excel' and configure all your analysis item for that button. So when u execute the template and when u click on individual tab, the report out from individual tab will be exported to excel when u click on Export to excel button.In this way u can individually export the output to excel.
    Regards

  • WAD Export to Excel Button Output problem

    hi
    we are facing issue in WAD ,here we have a button (Export to Excel).
    when we use it, out put for one field is limited to 60 char only but that field text having more than 60 char's.
    while excuting WebTemplate its getting all char's but in Excell its getting 60 char's.
    Regards'
    Ramakrishna.

    try to run this on somebody elses computer
    2nd download software http watch run a trace on when you ran the report in internet explorer and wsee the results. you will need basis assistance on this.
    you can also run the query in rsrt using HTML and export to excel see if that works.

  • Export to Excel - WAD with 2 tabs

    Hello
    I've got a WAD with a container which contains 2 tabs
    Container 1 is linked  to the first tab
    Container 2 is linked to a second tab.
    There is one query on each tab.
    When we export to Excel one tab, Excel shows technical ID of the WAD.
    Is there a possibility to display title of the tab instead of WAD techincal ID ?
    Thanks & Regards
    Catherine

    Hi Catherine,
    This is a Tricky question.......
    Let say you have placed Container1(which has some data) under Tab1 and Container2 under Tab2 and Export to Excel.
    Now if you perform Export to Excel for Container1 data,then the data will be exported into Excel where the name of the tab(Tab1) won't be displayed as a worksheet name in Excel.It will always show Name of the Web Template and not the tab name.
    So whatever you seen is as expected.You can't export a web template which has multiple tabs into Excel with the same way as it shown in web.
    Hope this clarifies you.
    Rgds,
    Murali

  • WAD - Export to Excel: Information from Web Item "FILTER_PANE_ITEM"

    Hi all
    In a report header I would like to display all the restrictions (filters) that have been placed on a query. I do this by adding a FILTER_PANE_ITEM in the web application. I works fine in the IE: In the top of the report all restrictions are displayed and below the query result from ANALYSIS_ITEM part.
    I have created a Buttom called "Export to Excel". The Command is EXPORT and in the web items for Data Binding I list both the FILTER_PANE_ITEM and the ANALYSIS_ITEM.
    When I run the report in the IE and push the "Export to Excel" buttom the data is exported to Excel...but only the ANALYSIS_ITEM part. All information from the FILTER_PANE_ITEM are missing... And I don't understand why!
    Can anyone give me a hint to what I am doing wrong?
    Regards
    Peter

    Peter
    FILTER_PANEis not an exportable item and hence the web item binding is ignored.
    Please see note 1178857 - Additional information: Export to Excel functions
    Alternatively, you can use INFO_FIELD Web Item to display the list of static, dynamic filters and variable values used.
    Thanks
    Sri

  • Template having export to excel functionality with filter values in WAD

    Hi,
    I need to create a template which has export to excel functionality with all the filter values that the user has selected in the selection screen.
    export to excel can be done but how can be the output excel sheet contain only those values which we see in browser  when the report is executed with some filters.
    Regards,
    Apeksha

    Hi Apeksha,
    you can achieve this requirement (unless I do not know the detailled requirement) perhaps by using this way of implementation:
    1. Create a new template which contains an info_field which does a data binding to the variable values or the characteristic you want to display. Set the visibility of the top container to "hidden". Add a empty data provider to this template. However be aware that the name for the (empty) data provider must match the name of the data provider within the original template you want to print.
    2. Open your original template and include the template you created in step 1 (Advanced: Web Templates and technical name of the web template created in step 2). Choose the appropriate location (above/below the analysis item).
    3. Check the settings of your export command: do not set a special web item to be printed.
    If you export the template within web the second template should be printed correctly displaying the variable settings chosen in step 2 for the info_field.
    Brgds,
    Marcel

  • WAD 70 - Export to Excel 2010 doesn't work as expected

    Hi Friends,
    We're rolling out Office 2010 and are facing several problems with BW Interfaces.
    I've to solve this:
    Runing Office XP Export to Excel ran without problems. After pressing standard button
    https:/....../portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher url was called and
    an open/save dialog appeared.
    Office 2010 : System asked for a certicate. I added VeriSign Class 3 Public Primary CA
    according to SAP note 711648 (not knowing a better way, being aware it's valid for 3.5)
    This ffinally worked, but now I have to confirm certicate four times and believe me, that is not very convenient.
    Now my question(s):
    Was I right so far and how can I avoid confirmation of certificate in dialog?
    Thanks in advance for your response and regards
    Joe

    Hi Martin,
    Thanks again. But in my case, there must be a different issue.
    Changing macro security didn't change anything visible.
    What' really strange,
    starting sexport in the context menu works without requesting certificate,
    and adding a new export statement in a button group item also works as
    desired. Comparing 'new' and' old' xhtml code, I'm not able to see any dufferences.
    Will open a new athread with this subject, if necessary.
    Best Rgeards
    Joe

  • Web App Designer Export to Excel - Issue

    Hi Gurus,
    I was able to sucessfully configure export to excel feature in WAD. However the issue we are encountering is, we have a button which runs a script function, this manupulates data in some columns of the report. So when I perform export to excel after the script function is excuted, the export gets the old state of data and not the data after the script function is run. Is there are way to fix this issue. Please advise.
    Thanks Again!

    Dear Customer,
    WYSIWYG (What You See Is What You Get) is not supported on Export to Excel.
    If you are using some script AFTER data comes to screen, you will NOT see the effects on Excel.
    This is documented in the note:
    1178857 - Additional information: Export to Excel functions
    " Layout
         o  Currently WYSIWYG export is not supported.
    Sorry to not provide a better solution.
    Best regards,
    Edward John

Maybe you are looking for

  • File path returning NaN

    Hello! I'm currently involved with a project that requires analysis of images from several hundred stations along the Alaskan seafloor.  Each station has three top down (PV) images of the seafloor taken and three images (SPI) that are taken below the

  • Need help in deciding type of partition for tables

    Hi, I have few tables which have millions of record. In some of the tables, we have data of previous years, which we dont use now. Can we create a partition table for such type of tables. On other tables, How to decide if we have to use range/list/ha

  • Is there a group like kdemod-minimal?

    I knew I can install packages separately. But a group would be convenience. another question: if a package add/remove from a group, does it add/remove from my system when updating system?

  • Toc question & screen writing on tablet

    Hi, I'm currently running the demo and doing some research for a client to determine if Captivate has the functionality they need. They have previously used another application with which they could 'write' on screen using a tablet pc & pen. This ena

  • EP 7.0 Consuming Enterprise Services provided by PI 7.0

    Hello Community, A - Can we consume the Enterprise Services provided by PI 7.1 directly on EP 7.0 without using CE 7.1? B - Assumption - The above approach is not possible & we should use CE 7.1to create a consuming application using any UI/Compositi