Skip to Content
0
Former Member
Mar 24, 2006 at 12:08 PM

Setting cache level leads to JavaScript error

34 Views

Hi there

We have a number of BW reports that are published through our Enterprise Portal.

The reports run fine by themselves.

They have been published to the portal and assigned to roles, and run fine.

Now we are looking to enhance performance, so have started playing around with cache settings.

All of a sudden, there is a JavaScript error on the template.

If the cache level is set to anything other than NONE, I get an error.

Closer investigation of the resulting code shows that the statement for including javascript files changes if caching is used. The 2 statements are shown below:

Working - <script language="JavaScript" src="/sap/bw/Mime/Customer/JavaScript/ToolbarJS.js"></script>

Not working -

</SCRIPT>

Has anyone seen anything like this before?

The error that comes up is a JavaScript error saying Object expected .... basically I don't think it can see the included javascript files.

Any ideas would be greatly appreciated at this point.

Cheers,

Andrew