Skip to Content
Former Member
Dec 18, 2009 at 11:08 AM

Background Job - Export and Mail



We've got several reports ( ALV ).

Got functions to export an ALV to a binary MSExcel format.

Got function to mail the excel file to recipient.

All of this is working from frontend.

Wanted to make a job so that 'registered' users automatically receive their report by mail in excel format.

Here is the problem, files aren't created , mail aren't sent.

TO create my excel binary I use an extension of TRUX function group ( SAP_CONVERT_TO_EXCEL )

DO I need to install MSOffice on the main sap server ?

To send mails I use CL_BCS, is there any incompatibility with a background job ?