Sending Spool of the Job(report run as background) as an E-Mail
My report runs as a background scheduled job and generates Spool.
I need to send this spool as an attachment in the E-Mail.
Currently I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' to send this as a PDF attachment.
But, the issue is the width of the spool is much more than the PDF page size. i.e., the spool could not be completely put into a page (almost the right half of the spool display is going out of the page borders as the width of spool is almost double the size of page in PDF)...
1. is there posibilty to choose PDF with LANDSCAPE or PORTRAIT options ?
2. Or can i decrease the size of spool to accomodate in a page of PDF ?
2. is there a better format other than 'PDF' where i can send the wide spool as an attachment ? Do we have any function module to accomodate spool in HTML format ?
I am highly thankful if someone could plz advice me on any solution for this .......
Thanks a lot,