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.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.