Automailer program for sending output of SAP TCodes in Background
There has been requirement from users to get output of some report(s), mailed to them in excel format(so that they can adjust/formulate the data as they want). And mostly such reports have fixed periodicity, such as weekly, fortnight or monthly.
The following program performs similar functionality by taking following steps of exection:
1. It takes Transaction code and its variant as input. Also the recipients can be added on the input screen.
2. Collect the data, export it to excel format, zipped and send to the specified recipients.
The user just need to schedule this program in background, such that it can be scheduled for auto-mailing.
Note: The following code provide the basic layout of the program, it need to be adjusted/modified as per your need.
Download the code : Automailer Program