cancel
Showing results for 
Search instead for 
Did you mean: 

Download the pdf document from sap server

Former Member
0 Kudos

Hi,

I uploaded the pdf document as MIME type in mime browser. I have a requirement to open this document when I click on the button. How could we achieve this ? I appreciate your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

1.You could use offline intractive form to display PDF.

2. use

cl_wd_runtime_services=>attach_file_to_response(

i_filename = file_name

i_content = lv_content

i_mime_type = mime_type

i_in_new_window = abap_true

i_inplace = abap_false ).

Former Member
0 Kudos

Hi,

Actually my requirement is to place some documents in the sap server( BDS document place) and to publish them when ever users clicks on the links . Please suggest me.

Former Member
0 Kudos

You are nesting your questions here which is not allowed. New questions, please post it separate.