on 02-21-2014 2:40 PM
Dear All,
I have a requirement to Print the output screen of the Webdynpro application.
Scenario,
I have a ALV table as an output in the webdynpro application, and there i have given a Print button to print that table.
the ONACTION_PRINT code is
"data lo_comp type REF TO if_wd_component.
data lo_appl TYPE REF TO if_wd_application.
lo_comp = wd_comp_controller->wd_get_api( ).
lo_appl = lo_comp->get_application( ).
lo_appl->print_page( )."
The output table shows about 16 columns and once we give print it prints only 9 or 10 columns, the remaining i am unable to print, is there any provision to
Print the entire table.
OR
How to send this webdynpro application screen to spool,
Please let me know you thoughts
Regards,
Balaji sha
Hi Kiran,
Sorry for the delayed response.
With respect to the suggestion provided, i have two questions.
1. Can we send a webdynpro screen (output screen) to Spool, if yes then how!!
2. My output is sometimes ALV table and some times it is bar chart.
for printing the ALV table as you suggested we have in-built option, do we have any similar kind of inbuilt functionality for printing the Bar charts.
Best Regards,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your output contains only ALV, then you don't have to write code for printing ALV, there is an inbuilt print button in ALV, check this blog to enable the same:
And if you want to print other details too, consider creating a smart form/ adobe form and then send your data and table data to Form. Then you can call the form/send it to spool/ print it.
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.