on 05-04-2013 11:07 AM
Hi Experts..
I am using EHP-5 version. There is no Adobe live cycle designer installed.
My requirement is to generate a PDF file format , from the view layout as it is appearing.,,
i.e PDF created should be like a screenshot of the view layout.
Plzz suggest....
Thanks in advance...
Hi RK,
Not sure if I'm getting your requirement, but if you want to save the contents of a webdynpro screen to a pdf what you can do is use the new functionality in WDA which is in Netweaver 7.02 onwards to be able to convert a view to a printable format.
So if you add a button for eg. "Print" then you could use the following code in your component controller to call a printable popup window.
DATA: lo_component TYPE REF TO if_wd_component,
lo_application TYPE REF TO if_wd_application.
lo_component = wd_this->wd_get_api( ).
lo_application = lo_component->get_application( ).
lo_application->print_page( ).
Then, when the printer dialog pops up if you have drivers installed to print to PDF then you can save the page to a PDF file.
Hope that helps you with what you are trying to do.
Cheers,
Brad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RK,
You can not directly generate the PDF form from the view layout as it is appearing. You have to design the form using Adobe Live Cycle designer.
If you dont have the adobe live cycle, you can create a SMARTFORM based on the view and then later convert it to PDF.
Refer Smartform to PDF Conversion
Cheers!
Abhinav
Message was edited by: Abhinav S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RK,
This is the link http://wiki.sdn.sap.com/wiki/display/Snippets/Convert+Smartform+to+PDF+format
Cheers!
Abhinav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.