cancel
Showing results for 
Search instead for 
Did you mean: 

Display PDF in Webui

Former Member
0 Kudos

Hi All,

I wanted to display a smartform output (PDF) in WebUI without attaching the file to CRM document (sales order, service order...) and also without storing the PDF output file in some location. Is it possible to convert the OTF / binary data into PDF and display in Webui?

Thanks for your inputs.

Regards,

Karthik.

Accepted Solutions (0)

Answers (1)

Answers (1)

stephenjohannes
Active Contributor
0 Kudos

Karthik,

The print preview functionality I believe does this, if not you would have to have your component call a generation of a "cached response" on the web server in order to display the content without permanent storage.

Do a search on cached_response or CL_HTTP_RESPONSE in the BSP forums to see what I'm talking about.

Current threads show:

This old blog covers a lot of good techniques that you could still use for what you want to do:

/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp

Take care,

Stephen

soldner
Participant
0 Kudos

Very helpful link.  Thanks!