Application Development and Automation 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: 
Read only

Problem in spool report

Former Member
0 Likes
1,988

Hi All,

I have executed one report(Z report) in Production by Background, that has generated Spool report.

My problem is some fields are cut-off(missing) from that spool report.

Please provide the solution ASP.

Regards,

DSK.

7 REPLIES 7
Read only

amit_khare
Active Contributor
0 Likes
1,119

You need to change the Line Size in the header of the report to avoid line cutting.

Regards,

Amit

Reward all helpful replies.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,119

Hi Kumar

Check the Line-Size parameter in ur Report.

Spool won't support more than 255 character length.

Regards,

Sree

Read only

0 Likes
1,119

HI Sree ram,

i checked all the fields(15) length which are displayed in spool report

is 281,

but my total fields(17) length are 308..

and <b>Line-size 132</b> in my program.

Regards

DSK

Read only

0 Likes
1,119

Hi,

Change the line size to 310.

this will work. WHile printing select the correct page size

Regards

Shiva

Read only

0 Likes
1,119

Hi DS

Do one thing: Configure your text editor as follws:

Go to Utilities->Settings->Downwards-Compatible Line Length(72) .

Hope you can away from the spool request now.

Have a look on the OSS note:

<b>

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=534487&nlang=E...;

Summary

Symptom

A list that includes more than 255 columns in the background is supposed to be issued. Instead of broad list lines being distributed on several printed lines for every 255 columns, only a single truncated printed line appears.

Other terms

Lists, print, 255 columns

Reason and Prerequisites

A Support Package which allows the printing of broad lists was imported. This creates a broad line of print with more than 255 columns in the spool. Generally, this is desired.However, the problem occurs if no corresponding format is defined because the default format X_65_255 truncates the line correspondingly at the print output.

Solution

1.) Define a format which can output the required number of printing columns.

2.) Using the attached correction, the number of columns in the print dialog can be changed in this special case.If a column figure of 255 is now entered, the old behavior is active again.The correction is only effective if you imported note 501826 beforehand.

Header Data

Release Status: Released for Customer

Released on: 13.06.2003 07:44:06

Priority: Correction with medium priority

Category: Program error

Primary Component: BC-ABA-LI List Processing

Releases

Software

Component Release From

Release To

Release And

subsequent

SAP_BASIS 46 46B 46B

SAP_BASIS 46C 46C 46D

Highest Implemented Support Package

Support

Packages Release Package

Name

SAP_BASIS 46B SAPKB46B44

SAP_BASIS 46B SAPKB46B48

SAP_BASIS 46C SAPKB46C36

SAP_BASIS 46C SAPKB46C40

Related Notes

586914 - Workaround for printing signature data via CJ00 or DSAL

Print Selected Notes (PDF)

Regards,

Sree

Message was edited by:

sree ram

Read only

former_member404244
Active Contributor
0 Likes
1,119

Hi,

Spool supports upto 255 characters..

Regards,

nagaraj

Read only

Former Member
0 Likes
1,119

Hi,

1. Change the line-size to 308

REPORT ZPROGRAM LINE-SIZE 308.

2. If possible try to reduce the width of the output internal table from 308 to 255.

3. Goto service.sap.com & in the search text put "Spool truncated in background".

You will get a sap note for the same.

Best regards,

Prashant