2008 Mar 27 9:19 AM
How can we send a mail to the user intimating him that his report/BDC is completed in background?
2008 Mar 27 9:24 AM
How can we send a mail to the user intimating him that his report/BDC is completed in background?
2008 Mar 27 9:24 AM
Check this out ... Hope it helps
http://www.sapdev.co.uk/reporting/email/email_mbody.htm
Regards,
Santosh
2008 Mar 27 9:24 AM
Hi...
You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST
If Unix is being used, you may send a report to any internet mail with the following:
REPORT ZSNDMAIL .
DATA: COMND(200) type c.
DATA: RESULT(200) type c occurs 100 with header line.
PARAMETERS: FILE(60) type c lower case default '/sapdata/sd_outbound/testmail.dat'.
PARAMETERS: SUBJECT(60) type c lower case.
PARAMETERS: EMAIL(60) type c lower case.
INITIALIZATION.
TRANSLATE EMAIL TO LOWER CASE.
START-OF-SELECTION.
TRANSLATE EMAIL TO LOWER CASE.
CONCATENATE 'cat' FILE '| elm -s "' subject '"' email into comnd seperated by space.
CALL 'SYSTEM' ID 'COMMAND' FIELD comnd 'TAB' FIELD UNIX_RESULTS-SYS.
Loop at Results.
write: /1 results.
endloop
end-of-selection.
Regards
Chinni
2008 Mar 27 9:24 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |