cancel
Showing results for 
Search instead for 
Did you mean: 

Excel and Variable button to be displayed in wad Page

Former Member
0 Kudos

Hi

we are building a wad report. I would like to added a button in the page like in adhoc query, by which user can download the report into excel or go to the variable screen.

currently it is coming only in the menu option on right click of mouse.

Thanks in advance - amar

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

hi Amar,

welcome to SDN ...

try

<A href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='your dataprovider'>">Export to excel</A>

hope this helps.

Former Member
0 Kudos

I tried it, it is giving following error

System error in program CL_RSR_WWW_PAGE and form 01EXPORT_DATA:01

Former Member
0 Kudos

but when i click on export to excel from adhoc query from wad page , it is working fine.

0 Kudos

hi Amar,

give right value to DATA_PROVIDER='abc'

abc is the same data provider you use for web item table in your web template.

(query/query view)

hope this helps.

Former Member
0 Kudos

Thanks it worked

Former Member
0 Kudos

It worked

Answers (0)