on 12-08-2008 10:21 AM
Hi friends,
Using abap program,We can trigger a mail when ever a purchase order is created-A mail sending to Creator and Approver what is the necessity of doing the same using Workflow.
Regards
ABAPer
Hi Jansi,
you can use BO BUS2012 and event RELEASESTEPCREATED to trigger a workflow whenever a PO is created. In your workflow use send mail step to send mail and in agents select expression - WFInitiator to send a mail to the PO creator. Let me know if you have any queries.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
More explanation?
Edited by: Jansi Dorai on Dec 9, 2008 9:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Once the PO Event Triggers, you can configure the Workflow and Using Send Mail Step you can send Mail.
If your using large content in the mail. You have to write mail sending Function Module and include in the Business Object and Configure via Workflow as a Task.
This [Link |https://wiki.sdn.sap.com/wiki/x/nYKdAw ] shows the Mail sending Function Module.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jansi,
The purpose of using workflow is to avoid coding and save time. The steps that you use in workflow will generate the code automatically and save your programming time. In ABAP you need to spend half-day in coding where as in workflow you can finish the task in minutes.
Let me know if you have any queries.
Regards,
Raj
Hi,
In Workflow we have a container elemetnt WFInitiator which holds the person responsible for triggering this workflow or other words, the person responsible for the occurence of the event.
Jansi, If you still have any doubts let me know. But before proceeding further mark this post as unanswered so that even other people can help you.
Regards,
Raj
Hi,
Workflow containers are data holders that hold the runtime data that is needed to be from/to for proper execution of workflow. As i said earlier WFinitiator holds the SAP user name of the person who is responsible for the occurence of the event in SAP system. This value is passed to workflow and can be used within workflow for various purposes like displaying the user name in mails etc.
Let me know if you still have any doubts.
Regards,
Raj
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.