1. Abstract
Sometimes it is necessary that we can embed our dashboard as a BSP Application. So that user/client gets the BI reports and dashboards all together in a single portal.
We know that dashboard which is built with SAP NW Connection in Xcelsius, it is directly published on EP Portal with iView.
But for the dashboard which is built with different connection like web-services, it is not directly published on EP Portal. We have to embed the swf of the dashboard in a BSP application and then publish it on EP.
2. Creating a BSP application
For creating a BSP application, go to SE80 t-code. Select package and user name.
Follow the below navigation:
3. Creating a page and importing swf in a BSP application
To create a page in a BSP application which we have developed in step 2:
In the Layout, enter the following code:
<%@page language=”abap”%><%@extension name=”htmlb” prefix=”htmlb”%>
<htmlb:content design=“design2003”>
<htmlb:page title = “Dashboard”>
<htmlb:form>
<object>
<embed src=“demo.swf” quality=“high” bgcolor=“#869ca7”
width=“100%” height=“100%” name=“test_page” align=“middle”play=“true”
loop=“false” quality=“high” allowScriptAccess=“sameDomain”
type=“application/x-shockwave-flash”
pluginspage=“http://www.adobe.com/go/getflashplayer“>
</embed>
</object>
</htmlb:form>
</htmlb:page>
</htmlb:content>
Note: Change the demo.swf file with your swf’s name.
Import the swf of the dashboard using below navigation:
Choose the swf location and then press OK.
Then activate the BSP application.
Then test the display.html by right clicking on that.
You will able to see dashboard in browser.
Hope this helpful !!!
Regards,
Niket Talati
That really helpful!! thanks for uploading…
Hi Niket,
unable to display swf file in browser ,its showing blank page.
Hi Sushma,
Please verify the link in the browser:
http://server:port/sap(bD1lbiZjPTkwMA==)/bc/bsp/sap/(BSP ApplicationName)/default.htm
Also verify the html file name in the browser. Also check that file with the file available in Pages with Flow Logic. It should be same with extension.
Please let me know if you face any problem.
Regards,
Niket Talati
Hi Niket,
Sorry i couldn’t understand “Also check that file with the file available in Pages with Flow Logic. It should be same with extension.”
Regards
Sushma
Hi Sushma,
I am talking about the the folder Pages with Flow logic under your BSP application.
Once you right click on your BSP application (in my case ZTECHMONDASH) and test it, one browser will open with link. In last of that link, there will be one htm or html file. Verify that name with extension (in my case default.htm) with the file available under this Pages with Flow Logic folder. Both the files should be same. If it is different then rename the file of Pages with flow logic folder with the BSP’s one (the name you are able to see in the browser).
Regards,
Niket Talati
Hi Niket,
The name is same in both.
Regards
sushma
Hi Niket,
Please check the screenshots,is there any mistake in that….
Regards,
Sushma
Hi Sushma,
Please change the swf name in the below line of code:
t.swf instead of demo.swf – because youhave t.swf file.
<embed src=“t.swf” quality=“high” bgcolor=“#869ca7”
Regards,
Niket Talati
Hi Niket,
Thanks a lot for the info.I change the filename.
Its Working …
Regards
Sushma
Very helpful,thank you so much..