on 12-06-2011 7:06 PM
Hi ,
I have a AIF embedded in web dynpro (ABAP) and i have set default values from web dynpro to the form fields. On submit nothing happens( I also have script message boxes before and after submit event and they triggered in the form). But if I change a value on any of the fields then it connects to SAP and works ok.
Also after submit i would like the form fields to be enabled for changes. Do i need to create another view or am i missing anything in my main view with the form UI element.
Thanks
Kshamatha
Edited by: Kshamatha Eda on Dec 6, 2011 8:07 PM
Hi Kshamtha,
- Have you inserted the Web Dynpro Script in your Adobe form.
You will find this option under Utilities -> Insert WebDynpro Script
- Have you assigned a method to the Interactive form element?
Hope this will help you.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Adobe Interactive form element there is an "onSubmit" event. Have you created any method for this event.
Assuming that you form has below hierarchy:
BP
SubForm1
TextField1
TestField2
Submit_Button
To make fields editable after submission, you can write following JavaScript in the onClick event of Submit button available on the form.
BP.SubForm1.TextField1.access = "readOnly"; // For making field non editable
BP.SubForm1.TextField2.access = " "; // For making field editable.
Hope this help.
Amit
Yes i can enter/edit data before submit. But once i click submit the whole form is locked. I just have one form with 2 input fields. There is no script anywhere except the standard script for native web dynpro submit. On submit i can debug into SAP and the data gets processed but once it gets back to the screen the form is locked none of the other elements in the dynpro are locked.
the actual form and adobe controls such as the "highlight fields," "thumbnails," etc buttons are all disabled like in the above thread. But i am on 7.01 SP 3
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.