Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to spool when Executing reports in background

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Clemenss
Active Contributor
0 Kudos

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