Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV to spool display half report

Hi ,

I have generated ALV report which is working fine on foreground but when I execute this report in the background it shows half (some columns are missing) in the generated spool. I need to execute this report in background due to large amount of data. Is this due to the size exceeding more than 255 chars ?

If yes, is there any solution ?

Former Member
Former Member replied


You have to configure the printer settings, consult basis people for the same. Also refer to the note as below:

ALV print : Print formatting in the background

SAP Note Number: 674348


Wen you execute a report in the background with a preset printer, a default format is always transferred. In general, this format is too small for the ALV and the table is therefore truncated during printing.

If you would like to change this behavior, you have two options:

1. The format can be changed subsequently either directly in the print dialog box or in the spool display.

2. If you wish the list width to be recalculated, this modification must be implemented in the ALV.

Other terms

ALV Grid Control (CL_GUI_ALV_GRID), REUSE_ALV_GRID_DISPLAY, ALV print: Background, print, print formatting, format, ALV background: Background processing, in the background

Reason and Prerequisites

A print format that was transferred in the background was set as default.

Implementing note 669744 is a prerequisite.


Implement the source code corrections in accordance with the correction instructions. Then remove the * character in the following lines:

  • else. "Modifikation

  • call function 'UNSET_PRINTPARAMETER' "Y9CK042107

  • exporting

  • name = 'LAYOUT'

  • in_parameters = rs_pri_params

  • importing

  • out_parameters = rs_pri_params.

This note cannot be implemented using the Note Assistant. Customers must take this modification into consideration when implementing updates at a later stage.

Hope it helps.


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question