01-12-2010 11:20 AM
Hi All,
I have a classical report, I need to change the print output in if the print button is selected from list display.
Output dipsly of the report should be same but only output in the print should be changed.
Please let me know solution for this.
Thanks in advance.
Thanks,
01-12-2010 11:24 AM
Do you want output of the report in print format or you want some other fields in report? Can you be litter more specific abt the requirement.
01-12-2010 11:31 AM
you can achieve this by capturing user command sy-ucom .
if sy-ucom = 'PRINT'.
**********
endif.
01-12-2010 11:33 AM
Hi,
Actually output of the report is fine. but when I am taking the print from the ouput, only able to print some columns because there are more columns in the output . So client want those details in fresh page while printing only.
Thanks in advace.
01-12-2010 11:34 AM
Use printing properties where you can define format . May be it will help you
01-12-2010 11:38 AM
In report, set the line size-200 line-count 65 and then ur matter will be printed on landscape format. During print check the format whether it is in x_65_200 format if not set the format x_65_200 and print the document. it will be printed in landscape instead portrait.
01-12-2010 12:07 PM
Hi,
Thanks for the valuable suggestions.
Actually using the landscape format and print on the paper is filled fully there is no space in the paper.
So is there any way to change the details to print on new page only when print button is selected.
please advice me how to write write my own code for print button in the classical list.
Thanks.