cancel
Showing results for 
Search instead for 
Did you mean: 

Server Side Include in BPS Web App

Former Member
0 Kudos

Hi,

I have a BPS web application for Project planning. The users want to see who made the last change to a project's plan and when.

I have succesfully adapted the DISPATCH event on the abap class to go and store this information in a table on save.

The question is how to display it. I have succesfully managed it displaying user-exit type variables that go and look up the correct values from the table, but it is not an elegant solution as i need username and date as characteristics on a cube in order to create the variables.

I was trying another solution...I have a simple BSP application that looks up the values and displays them in html. I would like to 'include' this BSP application into a text container in my BPS web app, but when I try to do a SSI (server side include), it does not work:

<!--#include file="included.html" -->

I think this may be because the SAP web server will not allow Perl-type server side commands?

Has anyone tried doing such an include and been successful?

Thanks,

Tristan

Accepted Solutions (1)

Accepted Solutions (1)

former_member93896
Active Contributor
0 Kudos

Hi Tristan,

add a HTML text component to the web interface. Then put an iframe into this text component, which links to the BSP application.

<iframe src="/sap/bc/bsp/sap/z_bsp_app/main.htm"
marginwidth="1" 
marginheight="1" 
height="600" width="950" 
scrolling="no" 
border="0" 
frameborder="0" >

Regards

Marc

SAP NetWeaver RIG

Former Member
0 Kudos

Hi Marc-

Thanks, that's great - the BSP application is now being displayed!

The only problem is that now none of the subsequent objects in my BPS web application after that Text component linking to the iFrame are displayed. Are there any special settings i have to put on the BSP application? At the moment the html in the BSP app is really simple...just to test..it is:

<p>This is a test</p>

Former Member
0 Kudos

Marc-

Disregard my previous note...had forgotten to put the </iframe> at the end! Thanks again for the solution - it's working really well now.

Tristan

Answers (0)