2009 Mar 04 9:35 AM
Hello Experts!
How can I display a pdf file in a web browser.
Suppose the user klicks on a button at abap dynpro and the web broser pops up and
shows the content of the mentioned pdf dokument ?
Regards
sas
2009 Mar 04 9:53 AM
rajan call browser is ok. but how can I pass my pdf document to this FM in order
to display the pdf document in the browser
Regards
sas
rajan call browser is ok. but how can I pass my pdf document to this FM in order
to display the pdf document in the browser
Regards
sas
2009 Mar 04 9:39 AM
Try this.
[Display pdf in browser|https://forums.sdn.sap.com/click.jspa?searchID=23069387&messageID=2755087]
2009 Mar 04 9:39 AM
Hi,
Check the following FM:
CALL_BROWSER - Calls default web browser or file manger
Use USER-COMMAND and write logic accordingly which on click on the button will call the FM...
Regards.
2009 Mar 04 9:53 AM
rajan call browser is ok. but how can I pass my pdf document to this FM in order
to display the pdf document in the browser
Regards
sas
2009 Mar 04 10:02 AM
Hi,
Download the PDF document to frontend say
C:\Documents and Settings\sap\Desktop\test.pdf
and provide this URL/path to the function module
Once the display is done you can delete the file in the frontend with CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
Regards
Edited by: Rajvansh Ravi on Mar 4, 2009 11:03 AM
2009 Mar 04 10:04 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |