Views

Simple Workflow to sent mail to initator

Simple Workflow to sent mail to initator

Call transaction SWDD.


When the workflow builder is called for the first time, a newly created initial workflow definition appears or else last created workflow appears.




 
The initial workflow screen has the following parts:
  1. The start of the workflow definition and end of the workflow definition is, indicated by the symbol  
  2. The area in which you insert the new workflow definition is indicated by the symbol 
   Now select the undefined step and select Create step or double click the undefined step. Now among the different steps chose the send mail by double clicking on it.
.

  Now enter the subject and the body of the message for the email to be sent.

   Do not change the recipients. Our mail is intended for the persons who triggered this workflow. &_WF_INITIATOR& contains the value who executed the workflow. Since this is a test object, we are using &_WF_INITIATOR&. But we wouldn’t be using this variable in real time scenarios. We would discuss about this in the coming documents. 

Now selectTransfer and to graphic button. A popup appears requesting for the abbreviation and the name for this task. Enter the same and press enter.
  Press SAVE to save the workflow application. You need to enter an abbreviation and name for your workflow as shown below. You can change any of these at any later point. After saving, a number is assigned to your workflow starting with WS, as shown below.


To execute the workflow, activate it by choosing the activate button.
Test the workflow by choosingTest. The following screen appears. 
Now chooseExecute to start the workflow.
Now the initiator will see the message in his sap inbox in tcode SBWP.



No comments:

Post a Comment

Contact Form

Name

Email *

Message *