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: 

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

former_member244346
Participant
0 Kudos

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.

Thanks,

1 REPLY 1

SimoneMilesi
Active Contributor
0 Kudos

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?