on 12-09-2010 11:30 AM
Hi all
I have a web dynpro abap application with an adobe interactive form. In the form I want to make certain fields read only. To do this I am using java script. It works fine from the livecycle designer in preview mode but when I run the wd4a nothing happens - like the java script is not being executed. I tried changing the Adobe form properties to Acrobat 8 (Dynamic) XML form but it still does not work. Any ideas?
I'm using ALD 8.0, sapgui 710, Netweaver 7 SP 22 and IE8
Regards
Have you checked that you can see the access property, for example, with a message box?
xfa.host.messageBox(xfa.form.D8.Page2.<my field>.access);
Also try accesing the field directly
<my field>.access = "readonly";
Do you have any script working in your form?
Regards, Aldo.
Edited by: Aldo Velazquez on Dec 9, 2010 4:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved!!
I installed ALD ES version 8.2 , inserted web dynpro script , tested and it worked (FOR THE TIME BEING!). Hopefully this will avoid pain and suffering for others in my position. It seems that the version of SAP netweaver, sap gui, ALD, ADS all need to be compatible otherwise you will have problems. I can not find any documentation on this subject. My 5 cents worth - just don't go there.
Hi Stuart,
Just in case did you check the value which drives the JS is populated in the form at runtime.
may be silly but my experience is, our backend developer said the value is XX or null i did the script according and then he claims the form is not working when I checked it the value is basically YY or Null.
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai
I'm pretty sure its correct. This is the script:
xfa.form.D8.Page2.<my field>.access = "readOnly";
it works in preview.
I think the problem has something to do with the web dynpro script I have inserted via utilities>inser web dynpro script. This is the script:
802.20090903061432.597600.590319
I'm just not sure if this is the correct version of the script.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.