swap feature in web report

Question: hi...


I have a Bex report and would like to have a link called chart/table and should swap between chart and table upon click. I have tried using command urls but in vain. does anyone has any input...

thanks

Answer:
hi..

have somemore details. we need to have a link on web report something like table / chart. upon click, we would like to see table or chart alternately within the same page. I tried to use RRI and commnad urls but it takes me to another page. does anyone have any input....


thanks....

Answer:
OK, there are a few ways you can go about it if you want more control then what RSBBS give you.

It all comes down to a matter of taste and how your users would like to see it.

1. Create two web templates which imitate tabs (tab 1 - table, tab 2 - chart). Its actually two pages, but it simulates one page by looking like it just changes from one tab to another.
Pro: Its pretty easy to do.
It only exeuctes the table and/or chart when they are called and
not at once.
Con: not always the cleanest solution.

2. Another option is to use javascript and CSS to hid and un-hide the table and chart.
Pro: Looks better then the tabs, executes cleanrer.
Con: has to execute all tables charts at once, which could lead to poor initial performance. (This could be overcome by using RA to prime the report.)

3. You could use the same button bar as the ad-hoc query analyzer. Or you could use URL commands to "swap" or "switch" views between the table and chart (this is actually similiar to 1).

The tab function examples can be found if you search the web, they are not BW/SAP specific. Same goes for idea 2.

The URL commands are documented under /BW or in the online help. Most of these ideas have been discussed to some degree on this forum for further pointers.

- Stephen
_________________
As a rule I don't answer Questions in PM.
(this is not to be a d**k, but it is to allow everyone to benefit from information. Not just one person.) Ask a question in the forum and I will answer it if I can.
Copyright ?2007 - 2008 www.jt77.com