on 07-01-2014 12:32 PM
Hi all.
I am having trouble sending a pdf form as an attachment to an email.
After calling the funtion module that is creating the PDF, field pdf of the return parameter /1bcdwb/formoutput should be used to create the attachment.
But the field PDF is empty after calling the function module - only the field xml is given back.
What did I miss?
Thank you for your help and best regards, Kathrin!
Hi Kathrin,
See below for the example:
ls_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
If you setup the job like this then the pdf parameter will be filled with the XSTRING data for the generated PDF.
Regards,
Ryan Crosby
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 | |
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.