on 01-27-2009 12:27 PM
Dear Experts,
Is it possible to pass the pdf data in binary or Xstring format directly to the adobe form in SFP?
i.e. I have Binary/Xstring format of a PDF file stored in my application server. Now can I pass this value to the form being designed in SFP? Or can I create a new adobe form using this data??
Any documentation or example will be highly appreciated.
Please help.
Thank you
Regards
sree.
Hi,
You can use following method for creating PDF from XSTRING.
CALL METHOD cl_wd_runtime_services=>attach_file_to_response
EXPORTING
i_filename = 'FileName'
i_content = pdfSource
i_mime_type = 'application/pdf'
i_in_new_window = ABAP_FALSE
i_inplace = ABAP_FALSE
.
here pdfSource is the variable of type XSTRING.
Hope this helps.
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ya i think you can do this..
you can assign the xstring/byte format to the pdfsource property of the adobe form
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 | |
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.