Showing results for 
Search instead for 
Did you mean: 

PDF Data to designed Adobe forms

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



Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


You can use following method for creating PDF from XSTRING.

CALL METHOD cl_wd_runtime_services=>attach_file_to_response


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.


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