Skip to Content

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

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.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • 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?

    Add comment
    10|10000 characters needed characters exceeded