Before we can do that however, we need to featch the print parameters for the spool. The key to this is the ABAP instruction SUBMIT TO SAP-SPOOL. Let’s start with the first step right away. Submit the report to the spool to create a new spool request that contains the desired output.Creating a PDF from a report in ABAP consists of three steps: You can find the program in its entirety on the second page of this blog post. I will explain the process by discussing bits of a sample program. I’m describing a fairly common scenario here often it is required to send out monthly reporting e-mails with PDF documents attached. But how do you send out nice PDFs instead of ugly text files? In this post, I’ll explain how to programmatically convert the output of a report to PDF so that it’s available for download or to send as an e-mail attachment.Īfter you have learned how to send an e-mail from SAP and how to attach a document to an e-mail, it’s time to discuss how to take this concept a little further. So, you know how to send e-mails, even with attachments. ![]() ![]() How to Create a PDF from a Report in ABAP
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |