cancel
Showing results for 
Search instead for 
Did you mean: 

Using variable values in Java-script

Former Member
0 Kudos

We are using the Web Application Designer and facing an issue about retrieving values of variables from the server - in the javascript code.

Is it possible - in general? Are there commands for this purpose?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you should use the texteelements web item in your template, set property only_values and display only your variables. Place this inside a <div> - or <span>-Tag within an id.

Then you can use getElementById function to retrieve the values and do whatever you want in your javascript.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/4e9d39d44cd45ee10000000a11402f/frameset.htm

Heike