cancel
Showing results for 
Search instead for 
Did you mean: 

accessing context value of webdynpro through javascript

Former Member
0 Kudos

hi gurus,

how can I address the value of a context in adobe forms's java script.

I want to hide and display some fields based on the value of the context of the WDA application .

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

OttoGold
Active Contributor
0 Kudos

Qucik help:

create a field, set its binding (or use the tiny arrow on the right of the binding field to help you set the string) and then you can copy this string as an address in your script. Or you can just drag/drop a field from the data view tab onto the form and copy the binding string there.

regards Otto

Former Member
0 Kudos

Hello,

Please refer this blog:

/people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms

If this is not working , assign the context value to a text field on the form which is kept hidden.

Then by using , fieldname.rawValue we can access the field value.

THanks & Regards,

Omkar Mirvankar.