Hello everyone,
My query is as follows.
My report runs certain conditions to get data into an internal table. I am displaying this data using ALV.
After this, I am trying to download the internal table data as an excel file using GUI_DOWNLOAD.
And it works fine till here. My file is getting downloaded with all headers and columns.
However I would also like to mail this excel as an attachment to 3 recipients.
I have been trying to use SO_NEW_DOCUMENT_ATT_SEND_API1. And I am not able to figure out what exactly should be done. Can I pass the internal table directly here? Or can I attach the excel file directly? Or should I use a different function module.
Kindly help. Thanks in advance.
Regards,
-Monica