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 while converting Spool to PDF

Former Member
0 Likes
587

Hi,

I am sending ALV report output to Spool then converting the Spool to PDF using 'CONVERT_ABAPSPOOLJOB_2_PDF'.

I am able to send the mail but in the PDF, the first page contains data statistics(no. of records passed) but I want to supress it. I need to get my Actual output only.

Please help me regarding this.

Thanks,

Swathi

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
545

You need to set the print parameter of the ALV to avoid the statistics in the Spool.

Like:


data:   ls_prnt      type slis_print_alv.

ls_prnt-NO_PRINT_LISTINFOS = 'X'. 

  call function 'REUSE_ALV_GRID_DISPLAY'
      is_print                          = ls_prnt
....

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
546

You need to set the print parameter of the ALV to avoid the statistics in the Spool.

Like:


data:   ls_prnt      type slis_print_alv.

ls_prnt-NO_PRINT_LISTINFOS = 'X'. 

  call function 'REUSE_ALV_GRID_DISPLAY'
      is_print                          = ls_prnt
....

Regards,

Naimesh Patel

Read only

former_member156446
Active Contributor