2016 Feb 26 11:24 AM
How to convert a SAP Script to PDF using Webdynpro???
2016 Feb 26 11:39 AM
Trigger your sapscipt print program. The function module CLOSE_FORM can return the sap script in OTF format.
Using the function module CONVERT_OTF you can transform that to an internal table with the contents of the pdf.
I believe you'll have to transform that internal table to a string, and that you can use in a WDA view to show the original form as a pdf
2016 Feb 26 11:57 AM
Hi Patrick van Nierop,
you have any sample program related to my scenario?
2016 Feb 26 12:10 PM
I don't have any sample progam lying around that does all that no. A lot can be found on google though.
I suggest you check our the print program first. Once you have that, you can easily adapt/recreate it to return the otf. Converting it to an internal table and a string should be easy.
Then look around on the internet on how to show a pdf in webdynpro (and again, there are a lot of tutorials on de subject around)
2016 Feb 26 3:55 PM
What do you mean by saying "using Webdynpro"?
SAP Script to PDF, doesn't require Webdynpro at all. It just needs a call to function module CONVERT_OTF_2_PDF.
What is the relevance of the word "Webdynpro" here?
Thanks,
Juwin
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |