Sending email from batch job
I'm trying to send the report output from a SAP Query (SQ01) to a email address.
If the output format of my report is in ABAP List, the htm file i receive in my inbox is formatted correctly. However, if my report is in ALV format, then the attachment in my inbox contains pernr in all columns i.e., all columns are nod displayed with the actual data but rather, with the first column repeated 8 times.
Can anyone help resolve this issue.
Alternatively, is it possible to create an excel attachment from the job sceduler (SM36) and send that in email?