Hi pro´s,
I have some trouble with the FM mentioned above. I´ll give you a short introduction:
I run a program in background mode and the spool should be send as PDF via e-mail.
If I try do run pdf creation inside the program it generates me empty PDF files (although spool is filled) with zero pages. It does create the PDF in the correct way (I reviewed the generated pdf-code and it is a pdf with zero pages)!
BUT! If I enter a fixed spool number (instead of sy-spono) it generates the PDF with pages.
Sounds really strange to me. Does anyone have an idea whats wrong here?
kind regards Matthew