11-19-2019 3:20 PM
Hi Sir,
I need some help in sending dynamic internal table content in email body & as excel attachment. I am able to generate dynamic table, but not getting any clue on how to accomplish emailing. It would be really great, If you can help me with some logic or code.
Below is the dynamically generated table. Columns/Row count may vary.
11-20-2019 7:48 AM
11-20-2019 8:38 AM
Where exactly do you have problem? What have you already tried? There are MANY answered questions (with examples and codes) on the forum about the same topic/s.
11-20-2019 10:21 AM
Hi Thomas,
Firstly thanks for the revert. Herewith I am sharing the downloaded program code from SAP & snapshot of sample output. I need some code to put output contents of dynamic table in Email Body & same need to email as xls attachment to multiple users. I commented the message body in code since not getting any clue on how to add dynamic table contents in it. Also final table which is getting displayed in alv report, I want this to email as excel attachment.
Can you provide some solution with maybe some code to refer.
11-20-2019 10:50 AM
11-20-2019 9:29 AM
11-20-2019 10:29 AM
Hi Frederic,
Need help on sending dynamic internal table as email body & excel attachment. How to accomplish this.
Thanks.
11-20-2019 11:57 AM
For translating your Dynamic table to Excel file, tomas.buryanek gives you the solution with Abap2Xls
For the email with attachment, I give you my blog url