on 12-02-2008 8:13 AM
Dear Experts,
I am new to interactive form development and i have one problem,
I have designed adobe form; it contains some input fields and a button (Submit to SAP). In the WebDynpro view, I placed the interactive form UI element and bound the adobe form with this. Also I have bound an Action to the onSubmit property of the Interactive Form UI and in this event I have written some statements to print a simple message to test the event trigger.
When I click the submit button from the adobe form at runtime, nothing is displayed in the browser. That is the onSubmit event is not triggered. Where do I go wrong? Kindly clarify me to resolve this problem.
Kind Regards,
parthasarathi
Hi Parthasarathy,
If you working on WebDynpro for ABAP then in the Layout Designer you must insert the WebDynpro Script to work with the WebDynpro Native Library Palette. To do this open the Layout Designer then goto utilities and there select "Insert WebDynpro Script".
And in the properties of the UI element of Interactive Form in WebDynpro under the Events you'll find the onSubmit there you must specify the action and for that action in the method you can write the ABAP code.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Parthasarathi,
After you have inserted your Web Dynpro script sucessfully, check the Javascript of the button. You want to make sure that you have the following lines:
- inside the mouseDown event for the button (FormCalc)
$record.CONTROL_PARAM.ISR_EVENT = "CUSTOM_EVENT"
where CUSTOM_EVENT is the name of your operation in the backend... and in the Click event of the button (JavaScript):
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
This should trigger a call to the backend. The Web Dynpro script added to the form has the ContainerFoundation_JS scripting.
Also, you can add the following template to your library of elements for form development... the button here contains the code I listed above...
[Note 973170 - New library for "SAP Interactive Forms by Adobe"|https://service.sap.com/sap/support/notes/973170]
Hope this helps...
Cheers,
Kevin
hi,
please check the following link there is a very simple example on how to create interactive form using webdynpro for java
http://help.sap.com/saphelp_nw04s/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
Thanks and Regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.