04-15-2008 10:38 AM
Hi Gurus,
I have a urgent requirement.
Whenever a PO is created or changed a email needs to be sent to the vendor automtically.
As a standard functionality throuhg message control, it is possible to send PO form (MEDRUCK) as a attachement.
But our requirement is to add body to the email and then attach that pdf form to this mail and send.
What is the way to do it?
Output determination is done through message control.
(No Workflow is used, please don't suggest that this can be done through it!!).
Thanks in advance!!!
B S B.
04-15-2008 10:49 AM
Hi,
If not workflow then probably you need to use an appropriate exit or badi to do this, so you can trigger the mail manually with whatever body message you want.
Hope it helps.
Regards,
Siddhesh S.Tawate
04-15-2008 11:05 AM
Hi,
Make a copy of your outputprogram RSNASTED or SAPFM06P and make a new subroutine in which you call a function module to send the mail.
Then in the customizing of the message control (tcode NACE) set medium 8 (special function) for the appropriate outputtype (for instance (ZNEU) with the program and subroutine made by you.
Regards,
Bert