cancel
Showing results for 
Search instead for 
Did you mean: 

upload and download a PDF in BSP

Former Member
0 Kudos

Hi All,

I need to do the following funtionalityin BSP (business server page ).

1)upload and download a PDF

Pls anyone help me by providing the necessary code to do this .

Thanks in Advance

Rizwan

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Try the following code for downloading your PDF.

CALL METHOD cl_bsp_utility=>download

EXPORTING

object_s = loc_binfile

content_type = 'application/download'

content_disposition = 'attachment; file=dummy.pdf'

response = runtime->server->response

navigation = navigation

  • object_t =

.

Former Member
0 Kudos