Skip to Content
avatar image
Former Member

Global Script Functions not validating on NetWeaver

We have an analysis application that utilizes Global Script Functions (Design Studio 1.4), and running it locally from design studio everything works fine but when we run it on NetWeaver (7.3) we see script errors coming from the Global Script Functions.

I made a simple application that demonstrates the issue.  It contains a single text field called TEXT_1. It has a single Global Scripts Object called GLOBAL_SCRIPTS_1 and that object has a single function test. That function just sets the text of the TEXT_1 field:

TEXT_1.setText("Hello From Global Script Functions");

I call the test function in my On Startup script:

GLOBAL_SCRIPTS_1.test();

Running this locally works fine but if I run it on NetWeaver I get script validation errors.  Looking at the logs in NetWeaver I see this:

Script validation error:

Couldn't resolve reference to Member 'setText'.

Global Script Function contains errror: GLOBAL_SCRIPTS_1.test

in script

GLOBAL_SCRIPTS_1.test();


I've attached the content.biapp file of this simple application for reference. I changed the extension on it .xml so I could attach it.

Has anyone gotten global script functions to work on NetWeaver? Any idea what I'm doing wrong?

Thanks for your help!

David

content.xml (1.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 09, 2015 at 04:48 PM

    Hi David,

    The SAP Help here http://help.sap.com/businessobject/product_guides/AAD14/en/ds14_user_en.pdf

    says global script functions are only available in local mode and BI Platform mode (not NetWeaver)

    Tammy

    Add comment
    10|10000 characters needed characters exceeded