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: 

Output length when we execute the report in background

Former Member
0 Kudos

Hi All,

I have a problem with the output length.

I have 35 columns in the output of a report. Its an ALV grid output. But when I execute the report background, in the output the header is coming in three lines. But I want all columns in a single line.

Please help on this.

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rajani,

This is because of the printer specification selected while running/scheduling the job.

Please follow the below steps to get it corrected:


1) Go to SE38, enter the program name and press F8
2) Enter the selection parameters and from menu click Program -> Execute in Background
3) Now you need to select *Properties* button at below
4) Click on Format in the Next window
5) Select one which format with maximun WIDTH ot the width which works for you.
6) Save the Settings and run the job

Hope this helps!

Regards

Shital

7 REPLIES 7

Former Member
0 Kudos

Use a page format that is able to display that many columns in one row.

Regards,

John.

0 Kudos

Hi John,

I mean when we see in the spool request after executing the report in the background, column headings and even each record are showing as more than one line.

Please help on this.

Former Member
0 Kudos

In spool it is restricted to 255 char only...

0 Kudos

Hi Mahesh,

Could you tell me any alternative ?

Becuase my report should be run in the background only and also downlodable into a local file from the spool.

Former Member
0 Kudos

Hi Rajani,

This is because of the printer specification selected while running/scheduling the job.

Please follow the below steps to get it corrected:


1) Go to SE38, enter the program name and press F8
2) Enter the selection parameters and from menu click Program -> Execute in Background
3) Now you need to select *Properties* button at below
4) Click on Format in the Next window
5) Select one which format with maximun WIDTH ot the width which works for you.
6) Save the Settings and run the job

Hope this helps!

Regards

Shital

0 Kudos

Hi Shital,

I have done as per your reply. I have found Spool Request max. 255char width in Output after selecting properties. I selected this option. But no use.

Please reply me.

Former Member
0 Kudos

Hi,

Normally, output showin ALVs truncate in background. Try using FM REUSE_ALV_LIST_DISPLAY instead of REUSE_ALV_GRID_DISPLAY

Thanks,

SKJ