I have tried FMs
CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
but when I compress, decompress them and send it as a mail, I get the mail but unable to open the pdf attachment. It gives an error 'There was an error opening this document this file cannot be opened because it has no pages'.
Has anybody come across similar problems????