Skip to Content
0
Former Member
May 09, 2011 at 09:25 AM

Does CONVERT_ABAPSPOOLJOB_2_PDF work in the background

899 Views

Hi all,

Am having a major problem with FM CONVERT_ABAPSPOOLJOB_2_PDF. I want the FM to run in the background converting a spool job to a pdf binary prior to sending via email as an attachment.

Problem is that the FM works fine in the foreground and correctly converts the spool to a PDF (7-8K approx). When it runs in the background the FM always creates a 1K file which converts to PDF OK. When this sent as an attachment Acrobat reader opens but states that the file contains no data.

Anyone encountered this problem, and if so do you have any solutions or workarounds.

Thanks

Bala Duvvuri