08-30-2009 12:53 PM
Hi experts,
I executed reports in backgroud , but when i checked in SM37 the generated spool not given proper layout format.
This problem occurs when report having more columns.
plz help me earliest.
Regards,
jyotsna
08-30-2009 2:35 PM
Hi,
In the program, change the line-size to the maximum and check if the spool output is coming properly.
Eg,
REPORT ZABC line-size 1023.
Even after changing the line size if the spool output is not proper, the only option is to create a custom output device which can accomodate more than 255 columns.
Regards,
Vikranth
08-30-2009 2:35 PM
Hi jyotsna,
this happens with ALV output because the output format is determined at runtime.
You can control the print format used: Just fromyour reports list in online mode, choose PRINT. A Popup should come up letting you specify the printer, number of copies, pages to be printed and so on.
At the bottom of the popup you have the Properties button. This button opens the overview sceen for all the available print parameters. Double-Click the Format section, choose a format you want to use.The the Specifications button takes you to another screen. Here you can choose 'Valid for this report only' and Check the Background checkbox.The push the 'Copy settings' button. Then Enter to close all the popups. This should help. Additionally you can set a default layout variant for your list to be used.
For this, in the ALV list, use Menu Settings-Layout-Layout Management. Here yu can set a default variant.
Regards,
Clemens