2017 Feb 14 4:33 AM
I need to send excel in mail based on selected layout.
Any function module to convert spool in excel and send into mail.
I need to send excel in mail based on selected layout.
Any function module to convert spool in excel and send into mail.
2017 Feb 14 6:32 AM
From a spool (abap list or even OTF) I don't think you will be successful, but from an ALV you may be luckier:
Using
you should get a xml similar to the result of menu List, Export, Spreadsheet.
Regards,
Raymond
2017 Feb 14 6:57 AM
I wrote a program to do this. There are function module to read the spool. You can then, after writing code (similar to a screen scraper) to get the information in some kind of order, using some standard code (search for it - it's not hard to find) or abap2xlsx to output an Excel spreadsheet.
Sending it by mail is very simple and well documented - you should search to see how it is done. There are some useful blogs.
There is no single function module that does what you want. You have to write ABAP code yourself.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |