on 12-29-2009 10:10 AM
Hi,
I am currently working on a requirement in which i need to display the interactive form intially and user fills up this form and on click of a button, the whole interactive form should get mailed to a particular mail group and simuntaneously filled in data should get saved in the backend table.
For sending the whole pdf via mail, i have taken submit by email button and have changed it' s type to submit and Control Type to Submit and am able to send this filled in interactive form to a mail group. The problem here is with saving the data to backend table.
Is it possible to perform another action (even like priting a message on the screen) by submit by email button apart from sending the interactive form via mail ?
If yes then kindly let me know how to implement the same.
Thanks In Advance,
Vipin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
closing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
YES it is possible. Since you are working on offline form and you want data to be saved in backend and emailing of form at same time here is what you will need to do.
1. Create a WS from your BAPI which updates the SAP backend.
2. Use the WSDL and create a data connection in your Adobe application.
3. Drag the submit button from the connection and make the submit button invisble by writing the following JavaScript code in form:ready event of the top level main subform.
Submit1.presence = "hidden"; // Submit1 is name of my submit button
5. Now in the click event of the SubmitByEmail button enter following code in JavaScript
Submit1.execEvent("click"); // This will fire click event of the submit button which should update SAP.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.