Skip to Content

How to send xls format attachment from batch job not from spool.

Aug 08, 2017 at 11:39 AM


avatar image
Former Member

Hello Experts,

I have a standard report and I am running that in batch job and mail id I am maintaing in batch job setp1->spool recipient to get the output in email. but the output system sending as html format(like screen shot). So my requirement is to convert that html format to xls format, for that I developed a report to convert html format to xls format and need to attach that report in step while creating batch job but the problem is I am getting two mails.

first one - html format

Second one - xls format.

Anyone can help me on this.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Simone Milesi Aug 08, 2017 at 02:17 PM

Hi Ramesh,

Are you sure this is the right approach for your issue?
Excel is basically a file filled with tables, so i guess your spool shows the classical ABAP list.

If so, why don't you just convert the output table in excel and send it directly from the first program?

10 |10000 characters needed characters left characters exceeded