2014 Nov 25 2:17 PM
Hi SCN's,
Am new to work flow. i have one requirement to trigger mail when PO release. i dont know what are the steps involves to
achieve this. Please any one guide me.
Regards,
Thangam.P
2014 Nov 25 2:42 PM
Hi,
First read the customizing documentation in SPRO for Release Procedure for Purchase Order.
also just search the workflow forum for PO release workflow settings and logistics MM forum.
Kind regards, Rob Dielemans
2014 Nov 25 3:02 PM
2014 Nov 25 2:53 PM
Hi Thangam,
Do you want to send mail only to specific user on PO release?
If yes then you can find out the BADI/UserExit which will get trigger on PO release and write the code logic for mail trigger.
Refer below SAP thread to send mail to specified users using OOPs:
Send email from ABAP with class CL_BCS - Code Gallery - SCN Wiki
Regards,
Sudeesh Soni
2014 Nov 25 3:01 PM
Hi Sudeesh,
Thanks for your reply . yes i need to send mail for respective vendor . mail ID should fetch from vendor masterbut i need to send mail with help of workflow only.
Regards,
Thangam.P
2014 Nov 25 3:22 PM
Why?
That is not how functional requirements work.
The requirement should be " we want an email to be sent to the vendor email upon release of a po" . Then if it makes more sense to just put it in a badi/exit then that is how the requirement is fulfilled.
Tthere could be additional requirements like the option of finding out easily using SAP standard reporting on how many emails are sent, etc. And then it might make more sense to do it with workflow.
Kind regards, Rob Dielemans
2014 Nov 25 3:05 PM
Hi Thankgam,
Please check the BADI-ME_CHECK_ALL_ITEMS and write the code logic to send mail to vendor.
Regards,
Sudeesh Soni
2014 Nov 27 11:35 AM
Hi Thangam,
Please update whether your issue got resolve? If yes, please close the thread.
Regards,
Sudeesh Soni