Skip to Content
author's profile photo Former Member
Former Member

Button on a web report for exporting to Excel

I've been told that it is possible to have a button on a web report to export it to excel.

Could someone please tell me how to do this including any code if necessary.

Using BW3.0B

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2005 at 04:12 PM

    Hi Ian,

    you can use this CMD syntax for the Excel export:

    <SAP_BW_URL DATA_PROVIDER='View1' CMD='EXPORT' FORMAT='XLS'>

    Copy and paste following coding in your html body:

    1) Export Button:

    <A class=SAPBEXBtnEmph href="<SAP_BW_URL DATA_PROVIDER='DATAPROVIDER_1' CMD='EXPORT' FORMAT='XLS'>"> Export to Excel</A>

    or

    2) Export Icon:

    <A href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DATAPROVIDER_1'>" ><IMG alt="Download to Excel 2000" src="Mime/BEx/Icons/S_X_XLS.gif" border=0></A>

    regards Jens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2005 at 11:33 AM

    Hi Ian,

    I'm not an expert, but have you check here for your problem:

    Webreporting - more than one DataProvider - Switch with Command URL ?

    Hope it helps !

    Bye,

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.