cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Data to designed Adobe forms

sreenadh_mv
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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