on 05-21-2010 2:50 PM
Hello everyone,
In my adobe form (for report only, not interactive) I created an E-mail submit button to send the payslip to the employee. I want this button to get the mail adress from PA0105 and add it to the e-mail address field in the Object tab.
Anyone knows how to do this?
Thanks in advance
As the form is not interactive and you know the employee for which the form is going to open .. why not fetch the email id in the report and pass it to the form first only .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
first of all when you say output form which is static how can you have a button.
even if you place the button in design time at runtime its freezed and no event is triggered.
fine lets say the form properties are dynamic but all the form content are protected or read only except this print button.
Then using the below code you can set the mail ID to the event's generated script (you need to manage how to get this mail it from back end to form)
this.resolveNode("#event.#submit").target = "mailto:"+<your emalid field's rawvalue>
[link][link] this is the post with the solution and it worked.
Check this out and let me know if you need any more help.
Cheers,
Sai
I would pass the email addresses into the form when it is initially generated, if the number of emails is not big, like when you know the person, you´re creating a form for. Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Assign an Action to the button created in the Form.
2. On click of the button. execute a BAPI which gives you the e-mail address from PA0105 Infotype and store it in a context attribute which is binded to the subject field of the form
In the WD explore, u will have 2 actions for a Form (Submit & Check). use one of the action to write the code.
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.