ALV List Populating Data Statistics In Output

Was working in an upgrade project from 4.6c to ECC6.0 when I encounter this issue. 

4.6c is non-Unicode system. ECC6 is Unicode system.

There is one problem in ALV list output in the background job. In 4.6c the data statistics output is displayed as per the screen:

--------------------------------------------------------------------------------
Data statistics

Number of Records passed 584
--------------------------------------------------------------------------------

However this output is not displayed in ECC 6.0.

Given below is the code which we are using in program 4.6c and ECC6.0

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_callback_program = 'ZNHNZLLVL0'
              i_grid_title       = l_title
              is_layout          = alv_layout
              it_fieldcat        = alv_fieldcat
              i_save             = 'A'
              is_variant         = stru_disvar
         TABLES
              t_outtab           = list_table
         EXCEPTIONS
              program_error      = 1
              OTHERS             = 2.

How to solve this issue?

Solution:

This problem is mainly printer problem issue. 
Also read; SAP Output Type Trouble Shooting

To resolve this issues you have to do small changes in the print setting before printing.

Steps:

Execute the report in background -> you will get a popup where you will give the output device for ex : LOCL

Output device for ex : LOCL

Further in the same popup, you can see Properties button. Click that you can see COVER SHEETs -> select cover sheets and then click SPECIFICATIONS buttons -> select the Field name A) ALV SELECTIONS B) ALV STATISTICS one by one and then change the Field Default value to YES for both the options. 

Select cover sheets

Now finally click COPY Settings.

Now you again schedule the report again in background and you can see the result you are expecting.

See the result you are expecting

SAP BC Tips

Read also
Which Job Generated Which Spool

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.