Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Send HTML email with XLS attachement

henryjunior
Discoverer
0 Kudos

Hello everyone. I'm trying to send an html email in the body with Xls in the attachment. Can someone give me a direction, please?

6 REPLIES 6

abo
Active Contributor

Yup, use the search function 🙂 and look for blog posts 🙂

Tomas_Buryanek
Active Contributor

Are you sure you want .XLS? It is pretty old format. Excel is using .XLSX since 2007.

To send e-mail explore cl_bcs class. And to create XLSX file you can look on ABAP2XLSX on GitHub.

henryjunior
Discoverer
0 Kudos

Hi Andrea. I tried to do this but didn't find anything exactly for my case. It's the first time I've tried to do something like this. In SCOT it appears correctly, but when I receive the email it goes without body.

Sandra_Rossi
Active Contributor

Searching needs a sufficient knowledge in the technology around the searched information, probably you didn't ask the right question to the search engine.

The forum is full of questions/answers about html / email / excel. Search independently. First HTML, and second Excel.

Also you should look for the meaning of "xls", it can be many things. Also what mean the few major Excel formats, and what are the file extensions for (with regards to Windows/Excel).

Please clarify.

henryjunior
Discoverer
0 Kudos

I was able to solve my problem. Thanks for the tips.

0 Kudos

Thank you Sandra. It works, my problem is solved.