Skip to Content
0
Former Member
Mar 04, 2010 at 10:19 AM

Issue with Spool

76 Views

My requirement is to create spool and then send spool as PDF attachment.

PDF is created using FM CONVERT_ABAPSPOOLJOB_2_PDF.

Spool is created using following statements -

NEW-PAGE PRINT ON PARAMETERS x_print_parameters NO DIALOG.

NEW-PAGE PRINT OFF.

This will create spool and I retrieve the spool using sy-spono.

This works fine in foreground processing. But when I execute report for 4 cost centers. This should create 4 spools and then send 4 mails.

But program only creates 1 spool and rest of the spools are not created though I am able to fetch the spool number using sy-spono.

Edited by: vnair09 on Mar 4, 2010 11:20 AM