cancel
Showing results for 
Search instead for 
Did you mean: 

Global Script Functions not validating on NetWeaver

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

TammyPowlas
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you for your fast response Tammy.  Any idea if it will ever be supported in NetWeaver?

TammyPowlas
Active Contributor
0 Kudos

I don't see it specifically mentioned on the official roadmap here https://websmp107.sap-ag.de/~sapidb/011000358700000390622012D.pdf

Maybe SAP can offer some insight/details on this?

0 Kudos

Dear Design Studio users,

please update to 1.4 SP 1 which is coming out right at the moment.

You can find the release schedule in this note:

https://websmp230.sap-ag.de/sap/support/notes/1760372

We will update the documentation and the PAM as well soon.

Best regards,

Christof

Answers (0)