2014 Aug 01 10:36 AM
Hi all,
How to attach a data in mail when a new record was created in the database table ? The data means the new record for example
Employee name that should come with the mail when a record is created .
Regards
Arun VS
Hi Arun,
Instead of sending the details of the row as an attachment, can't you send the same as content of the mail. If so the things will be easy.
Regards,
Abijith
2014 Aug 01 11:00 AM
Hi Arun
How did you create data in database table? by run report(only one report or more) or by TMG(SM30)?
regards,
Archer
2014 Aug 01 11:23 AM
2014 Aug 01 11:51 AM
Then you just need bounding a routine for TMG event 02, in this routine, write your send email logic, For send email, i think you can search so many threads in SCN about it.
just refer this bounding routine link, http://wiki.scn.sap.com/wiki/display/ABAP/TABLE+MAINTENANCE+GENERATOR+and+ITS+EVENTS
regards,
Archer
2014 Aug 01 11:56 AM
Hi Arun,
What is your exact requirement? Do you want to send a mail whenever a row is added? If so then you can do this using the CL_BCS_MESSAGE.
Thanks & Regards,
Abijith
2014 Aug 01 12:10 PM
Hi Abijith,
Actually i want to send the created record along with mail
regards
Arun Vs
2014 Aug 01 12:34 PM
Hi Arun,
Instead of sending the details of the row as an attachment, can't you send the same as content of the mail. If so the things will be easy.
Regards,
Abijith
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |