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.