on 05-07-2009 8:58 AM
Hi all,
I'm trying to sent Interactive Forms as attachment through mails.
Everything works fine as long as the Content of this Interactive Form stays static.
When I add dynamic elements and test this in SFP, they work.
However when they get sent by mail, the dynamic content is lost and gets back Static.
Does anyone has ABAP code or any other solutions so that the PDF gets send as an Dynamic Form?
Thanks in advance.
Kind Regards,
Maarten
Forgot to set parameter:
fp_docparams-DYNAMIC = 'X'.
For the call of the function module of this form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think webdynpro for ABAP is suitable for dyanmic interactive form. Please try in that way.
Thanks,
suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm working from the Web UI. This is BSP. Here I add 2 Methods (GET_PDF and SEND_MAIL).
The GET_PDF gets all data for the form and then sends the FORMOUTPUT to the SEND_MAIL method.
Here I add the PDF as following:
First I convert it to BINARY and then I add it as attachment.
Do I need to add it as another TYPE or ....
+ CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = ip_formoutput-PDF "PDF file from function module
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
BINARY_TAB = lt_att_content_hex
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'Your appointment Details'
i_att_content_hex = lt_att_content_hex ).+
Kind Regards,
Maarten
User | Count |
---|---|
87 | |
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.